Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Dynamic navigation on single post pages

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26590
    emma
    Participant

    Hi all,

    I am developing my very first CMS using WordPress, works great, but I am having a bit of trouble designing my single.php properly.

    My site consists of three main pages, each with corresponding subpages, seen here.
    The navigation is created in the mutual header, below is the complete code to be precise.

    Code:



    post_parent)
    $children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
    else
    $children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
    if ($children) { ?>

    Now my problem is that the navigation doesn’t show on my single.php pages (e.g.)

    What code do I need for the navigation to show even on these pages?

    Thanks,

    em

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.