• I’m trying to create a navigation for my custom post types ( PRODUCTS) outside of the loop at the top of my page in my custom post type section. Something similar to using “wp_list_pages” Where if its on the current PRODUCT page I can some CSS to the current link to highlight where the user is in the site.

    Something Similar to this:

    <ul>
    <li class="page_item page-item-49 current_page_item"><a href="https://localhost:8888/2010/?page_id=49" title="Animal Images">Animal Images</a></li>
    <li class="page_item page-item-47"><a href="https://localhost:8888/2010/?page_id=47" title="Fan Images">Fan Images</a></li>
    <li class="page_item page-item-40"><a href="https://localhost:8888/2010/?page_id=40" title="New Styles">New Styles</a></li>
    <li class="page_item page-item-43"><a href="https://localhost:8888/2010/?page_id=43" title="Poems and Songs">Poems and Songs</a></li>
    </ul>

    Can anyone point me in the right direction?

  • The topic ‘Create a navigation list of Custom Post Types?’ is closed to new replies.