• Simon Ainley

    (@simonainleydotinfo)


    Hi there, I am currently build my own theme, and one of the requirements is that nav has a drop down section that lists the current projects that are currently going on.

    In my nav i need to be able to get all the pages however I also need to be able to add an aditional link that triggers the drop down, to show the current project post links, currently I am using this piece of code.

    I am fine code the drop down functionality, I just need some to tell me, how I can add the titles of the current projects to my nav, and also add a parent li so I can add my js, I am currently using this to buid my nav,

    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>

  • The topic ‘Showing specific posts as a child of a page’ is closed to new replies.