Support » Fixing WordPress » How to add “?var=value” to wp_list_pages link output

  • Dan Poynor

    (@danpoynor)


    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

  • The topic ‘How to add “?var=value” to wp_list_pages link output’ is closed to new replies.