0

I made ​​a wordpress theme, I have some header files. I would like to appear on the Appearance> Menus such as:

- Header
-- Header 1
-- Header 2
-- Header 3

with Header 1, 2 and 3 call header1.php, header2.php, header3.php file. how can I do that?

Thanks :)

1 Answer 1

1

Header is a menu you add and header 1 / 2 / 3 are submenus then you have to follow these articles:

http://codex.wordpress.org/Function_Reference/add_theme_page http://codex.wordpress.org/Function_Reference/add_submenu_page

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.