create own wordpress theme (tewnty ten as base) -


I have to create a custom wordpress theme. I still do not see this, so what do I look for twenty ten theme files Can be customized detected. So I searched for the menu creation work in the header.php file and found it

'primary')); ? & Gt;

But I do not know what this function does ... where it has been written that the HTML code like & lt; Ul & gt; & lt; Li & gt; and so on ... I do not want to edit HTML code!

is concerned, Peter

wp_nav_menu Check out for it is a menu system added to WordPress on Version 2.9 (I believe). If you navigate in presence in your dashboard - & gt; In the menu, you can customize it through an interface. In Twenty Ten, Fallback is wp_page_menu , which displays a list of your pages. Do you like to make your hands and hard work in the theme (not appropriate, but possible) just delete the relevant code and replace it with your own HTML.

My advice is to look for the menu in the interface, make a menu, provide it in the 'Primary' subject position, and go from there with properly configurable and WP-driven menu.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -