php - Wordpress Post href dynamic -


i'm newbie wordpress , problem wanted link site using link tag. example:

wordpress post url = www.defaultsite.com/my-awesome-site?name=admin

so in link tag be:

<a href="http://www.othersite.com/admin" target="_blank">click here</a> 

wherein name dynamic. unfortunately in wordpress post, cannot echo out $_get['name']. how solve problem?

so want achieve is:

<a href="http://www.othersite.com/".<?php echo $_get['name'] target="_blank">click here</a> 

<a href="http://www.othersite.com/<?php echo $_get['name']; ?>" target="_blank">click here</a> 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -