Forums

Adding variables to url - is it possible? (1 post)

  1. richarduk
    Member
    Posted 1 year ago #

    An example permalink at the top of a post (with the a replaced by x to display here):

    <h2 >< x href="http://www.mysite.com/index.php/whatever/" rel="bookmark" title="Permanent Link to whatever">
    whatever</h2>

    In what way would WP react if I manually added a variable to that link? Is this even theoretcially possible?

    For example,

    <h2 ><x href="http://www.mysite.com/index.php/whatever/?bg=green" rel="bookmark" title="Permanent Link to whatever">
    whatever</h2>

    I want to be able to pass the background colour from one post in a multi-post page to a single post

    Anyone out there with PHP knowledge of WP?

Topic Closed

This topic has been closed to new replies.

About this Topic