• Hi

    I would seriously just like explanation regarding why wordpress is using all of these structures when creating a menu.

    <div class="nav_links">
    <div class="menu-main-container">
    <ul id="menu-main" class="menu">
    <li id="menu-item-147" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-145 current_page_item menu-item-147"><a href="https://localhost/wordpress/">home page</a></li>
    
    <li id="menu-item-152" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-152"><a href="https://localhost/wordpress/portfolio-page/">Portfolio Page</a></li>

    I also have tried to link my different pages manually in the code:

    <ul class="nav_links">
        		<li> <a href="#">Home</a></li>
                <li class="withdiv"> <a href="<?php echo bloginfo('home');?></a>Home</li>
                <li class="withdiv"> <a href="#"> Portfolio </a></li>
                <li class="withdiv"> <a href="#">page4</a></li>
                <li class="withdiv"> <a href="#">page5</a></li>
        </ul>

    But this definitely is not responding the right way, each time I click on the link the address bar starts to fill up with the path (like a infinite loop)

    Mainly looking for a idiot proof explanation. I am not using wordpress for anything else except populating information/products/artwork that will probably change a few times a year. There for would like nice menu features (not WP features) with the comfort of creating custom content.
    Any way thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure what Theme you’re using, however if the Theme supports, WordPress does feature custom menus.

    Emil

    Thread Starter cnever

    (@cnever)

    Hi Emil

    I am not using any theme. And yes have done some mad reading about the custom posts. I have them in my dashboard and they are also working (mostly).

    That is why my main concern is the styling of navigation, actually I don’t want to use wordpress for the navigation to be honest. But for some reason I can’t force linking the pages to each other (like explained above).

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘class/id and mixture – wordpress building funny?’ is closed to new replies.