• Resolved camerasilence

    (@camerasilence)


    Hello, im using a blank theme and i made a html/css site that converted into wordpress.

    Everything went well but :

    I replaced my ul/li menu by ul (menu wordpress function)/ul .

    Now my menu is empty and every time i add a page, this page become an item of the menu. That’s great.

    But originally my menu has 5 items (and its important that it stays 5 for graphic and ergonomy reasons)
    Unfortunatly if i create a 6th page, this page will be added in my menu too, in a new line, which is ugly.

    Im sure the solution is very easy but i cant find it.
    Sorry if silly and thx a lot

Viewing 1 replies (of 1 total)
  • Thread Starter camerasilence

    (@camerasilence)

    Ok it was indeed silly and i finally found out how to do. I ll answear to myself incase other beginners is interested :

    I had this line :

    <?php html5blank_nav(); ?>

    i tried many php tricks like :

    <?php wp_nav_menu (array
    ‘theme_location’=>’nav’)); ?>

    but once again, we are in wordpress and even if the im not comfortable with it, a lot of things are dealt by wordpress, including this one.

    So : Dont do anything to your code and just create a menu through wordpress panel, add the pages you want the title will appear in your menu (manually, tho) and use it as a header (in my case at least) menu.

    It works even if its not 100% like i wanted

Viewing 1 replies (of 1 total)
  • The topic ‘Too many items on my menu’ is closed to new replies.