Adding variables to url – is it possible?
-
An example permalink at the top of a post (with the a replaced by x to display here):
<h2 >< x href=”https://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=”https://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?
- The topic ‘Adding variables to url – is it possible?’ is closed to new replies.