Support » Fixing WordPress » Display specific page dynamically

  • donderhaas

    (@donderhaas)


    Hi there,

    My site is setup to use one main level of navigation and I am using permalinks.

    Now I want to add 3 links that I will only be accessible from the footer (Terms & Conditions, Privacy Policy, Licence Agreement). These pages have been added with my about page being the parent.

    Is there a piece of code I could use to display only these pages via their id’s while using permalinks?

    The reason I want to do it this way is because I am using permalinks – I want the link to display like the permalink as well (www.domain.com/terms-and-conditions/), but I also want them to be dynamic for when I decide to change the permalink name through wordpress to say (www.domain.com/temrs/) that it will automatically change these 3 links accordingly.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • moshu

    (@moshu)

    1. If “terms-and-conditions” is a child of “about”, then the permalink ALWAYS will be:
    example.com/about/terms-and-conditions – if using the “nice” permalinks

    2. Template_Tags/wp_list_pages#Parameters would be a good reading for starters…

    [moved to How-To… nothing “advanced” here]

    donderhaas

    (@donderhaas)

    Thanks – I’ll check it out

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display specific page dynamically’ is closed to new replies.