Arrrgh....I am officially too stupid to do this.
So I want to add some tracking to a WP LP.
To do so, I need to be able to replace a link to a redirect page with another one, based on the referer query.
Something along those lines:
But wordpress only has <?php the_content ?>
Where can I access the text?
ARGH...:anon.sml:
I would also like to do this in single.php as I only need this done on a specific post.
Any pointers?
Thanks,
::emp::
So I want to add some tracking to a WP LP.
To do so, I need to be able to replace a link to a redirect page with another one, based on the referer query.
Something along those lines:
Code:
$myRedirect = "redirect.php?q=".$query;
substr_replace ("redirect.php", $myRedirect, $postcontent);
But wordpress only has <?php the_content ?>
Where can I access the text?
ARGH...:anon.sml:
I would also like to do this in single.php as I only need this done on a specific post.
Any pointers?
Thanks,
::emp::