Lately I have been having serious trouble with super-high bids and fucked up QS on Adwords, which I talked more about here.
What I want to do now is to build a Wordpress based platform for my revamped affiliate site. My previous version of it was purely php-driven, with a database for tracking ids.
I'm gonna skip the tracking part of it for now. Right now I just wanna get my site live with Adwords again and shoot for a non-insane quality score.
I have ran into a problem with Wordpress though:
I want to grab parameters from the post URL and insert the parameter as a variable dynamically into my WP posts and/or pages.
So that when I call one of my blog posts like this:
…I can then grab the keyword using $_GET and insert it where I want to in the post or tags dynamically.
As many of you probably know though, Wordpress doesn't natively support php in posts. There are workarounds to this, most notably with a plugin such as exec-PHP
This will let me do simple things like
But it doesn't work with statements like
WP doesn't accept that but instead comes up with "Sorry, there are no posts that match your criteria"
Does anyone know how to pull this off?
I would be very thankful! :bowdown:
Ideally, I would also love to be able to insert the keyword into the post Title or even Meta description but that might be even trickier..
What I want to do now is to build a Wordpress based platform for my revamped affiliate site. My previous version of it was purely php-driven, with a database for tracking ids.
I'm gonna skip the tracking part of it for now. Right now I just wanna get my site live with Adwords again and shoot for a non-insane quality score.
I have ran into a problem with Wordpress though:
I want to grab parameters from the post URL and insert the parameter as a variable dynamically into my WP posts and/or pages.
So that when I call one of my blog posts like this:
Code:
hxxp://www.mybadblog.com/landingpage-post.php?keyword=quality score my ass
As many of you probably know though, Wordpress doesn't natively support php in posts. There are workarounds to this, most notably with a plugin such as exec-PHP
This will let me do simple things like
Code:
<?php echo "This is the Exec-PHP 'Hello World'"; ?>
Code:
<?php echo ucwords(str_replace("-", " ", $_GET["keyword"])); ?>
Does anyone know how to pull this off?
I would be very thankful! :bowdown:
Ideally, I would also love to be able to insert the keyword into the post Title or even Meta description but that might be even trickier..
