WordPress.org

Forums

How to add "?var=value" to wp_list_pages link output (1 post)

  1. Dan Poynor
    Member
    Posted 7 years ago #

    I'm trying to retain a variable when users navigate footer links.

    URLs I'm trying to output would look something like:
    about-us.html?pid=99
    privacy-policy.html?pid=99
    terms-and-conditions.html?pid=99

    There's no title_after parameter for wp_list_pages unfortunately.

    Is there a way to accomplish this? Maybe a different tag or custom query?

    Thanks,
    DAN

Topic Closed

This topic has been closed to new replies.

About this Topic