<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using custom URL parameters in WordPress</title>
	<atom:link href="http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress</link>
	<description>Web Design &#38; Development, SEO and Project Management</description>
	<lastBuildDate>Thu, 15 Dec 2011 08:22:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Clarence</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-25361</link>
		<dc:creator>Clarence</dc:creator>
		<pubDate>Sun, 19 Jun 2011 03:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-25361</guid>
		<description>Thank you! Thank you!  Thank you! I&#039;ve been looking around on the web for weeks for this solution.</description>
		<content:encoded><![CDATA[<p>Thank you! Thank you!  Thank you! I&#8217;ve been looking around on the web for weeks for this solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-22531</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Fri, 29 Apr 2011 05:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-22531</guid>
		<description>Hi i don&#039;t think this works anymore, i was passing parameters perfectly until a recent update i&#039;m not sure which wordpress broke this though.</description>
		<content:encoded><![CDATA[<p>Hi i don&#8217;t think this works anymore, i was passing parameters perfectly until a recent update i&#8217;m not sure which wordpress broke this though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sheeba</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-22061</link>
		<dc:creator>sheeba</dc:creator>
		<pubDate>Tue, 19 Apr 2011 09:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-22061</guid>
		<description>Hi,

I am having a .php file inside themes/themename/ folder.Inside that i want to take my new URL parameter.For that, I added the above mentioned plugin and activated it..But there is no effect.I checked the same query string in some other folders/files also.But no where it is getting printed..Please help me.Dont know What I am doing wrong.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am having a .php file inside themes/themename/ folder.Inside that i want to take my new URL parameter.For that, I added the above mentioned plugin and activated it..But there is no effect.I checked the same query string in some other folders/files also.But no where it is getting printed..Please help me.Dont know What I am doing wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tammy</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-21476</link>
		<dc:creator>tammy</dc:creator>
		<pubDate>Wed, 06 Apr 2011 20:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-21476</guid>
		<description>I am new to WordPress and for some reason I can&#039;t seem to get this to work.
1.  I got the plugin installed...
2.  Where does the $wp-query go in my wp template page - before the loop in the loop...
3.  Can I send a variable and what is the syntax

$mysidebar = get_post_meta($post-&gt;ID, &#039;sbg_selected_sidebar&#039;, true);

would the below be the correct syntax to append and do I add this to the end of my permalink in the permalink section?

?myvar=$mysidebar

where would I put the if (isset($_GET[&#039;myvar&#039;])) i.e. can I put it in another template page and grab the url variable?

Any help would be greatly appreciated.

Tammy</description>
		<content:encoded><![CDATA[<p>I am new to WordPress and for some reason I can&#8217;t seem to get this to work.<br />
1.  I got the plugin installed&#8230;<br />
2.  Where does the $wp-query go in my wp template page &#8211; before the loop in the loop&#8230;<br />
3.  Can I send a variable and what is the syntax</p>
<p>$mysidebar = get_post_meta($post-&gt;ID, &#8216;sbg_selected_sidebar&#8217;, true);</p>
<p>would the below be the correct syntax to append and do I add this to the end of my permalink in the permalink section?</p>
<p>?myvar=$mysidebar</p>
<p>where would I put the if (isset($_GET['myvar'])) i.e. can I put it in another template page and grab the url variable?</p>
<p>Any help would be greatly appreciated.</p>
<p>Tammy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-19298</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Fri, 18 Feb 2011 10:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-19298</guid>
		<description>If you want to pass more parameters just add them to the qvars array
 
add_filter(&#039;query_vars&#039;, &#039;parameter_queryvars&#039; );
function parameter_queryvars( $qvars )
{
$qvars[] = &#039;myfirstvar&#039;;
$qvars[] = &#039;mysecondvar&#039;;
return $qvars;
}

In step 2 they will end up in 

$wp_query-&gt;query_vars[&#039;myfirstvar&#039;]
$wp_query-&gt;query_vars[&#039;mysecondvar&#039;]</description>
		<content:encoded><![CDATA[<p>If you want to pass more parameters just add them to the qvars array</p>
<p>add_filter(&#8216;query_vars&#8217;, &#8216;parameter_queryvars&#8217; );<br />
function parameter_queryvars( $qvars )<br />
{<br />
$qvars[] = &#8216;myfirstvar&#8217;;<br />
$qvars[] = &#8216;mysecondvar&#8217;;<br />
return $qvars;<br />
}</p>
<p>In step 2 they will end up in </p>
<p>$wp_query-&gt;query_vars['myfirstvar']<br />
$wp_query-&gt;query_vars['mysecondvar']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Judy</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-15923</link>
		<dc:creator>Judy</dc:creator>
		<pubDate>Fri, 17 Dec 2010 04:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-15923</guid>
		<description>Thanks so much for this. Its working for my regular pages, but i also need to pass a parameter to an admin page - thats nto workign out for me. Any ideas why not?</description>
		<content:encoded><![CDATA[<p>Thanks so much for this. Its working for my regular pages, but i also need to pass a parameter to an admin page &#8211; thats nto workign out for me. Any ideas why not?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Lewis</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-15166</link>
		<dc:creator>David Lewis</dc:creator>
		<pubDate>Sat, 04 Dec 2010 00:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-15166</guid>
		<description>Oops! I see now that you can just append your new variable to the end of a permalink and Wordpress accepts it. Awesome! Thanks!</description>
		<content:encoded><![CDATA[<p>Oops! I see now that you can just append your new variable to the end of a permalink and WordPress accepts it. Awesome! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Lewis</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-15165</link>
		<dc:creator>David Lewis</dc:creator>
		<pubDate>Sat, 04 Dec 2010 00:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-15165</guid>
		<description>Opps. I see now that you can just append your new variable to the end of the permalink... as in...

http://www.mydomain.com/some/pretty/permalink/?myvar=foobar

...and WordPress accepts it. Thanks!!!!!</description>
		<content:encoded><![CDATA[<p>Opps. I see now that you can just append your new variable to the end of the permalink&#8230; as in&#8230;</p>
<p><a href="http://www.mydomain.com/some/pretty/permalink/?myvar=foobar" rel="nofollow">http://www.mydomain.com/some/pretty/permalink/?myvar=foobar</a></p>
<p>&#8230;and WordPress accepts it. Thanks!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Lewis</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-15164</link>
		<dc:creator>David Lewis</dc:creator>
		<pubDate>Sat, 04 Dec 2010 00:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-15164</guid>
		<description>Is there a way to pass URL variables with permalinks enabled?</description>
		<content:encoded><![CDATA[<p>Is there a way to pass URL variables with permalinks enabled?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari</title>
		<link>http://www.webopius.com/content/137/using-custom-url-parameters-in-wordpress/comment-page-1#comment-14024</link>
		<dc:creator>Hari</dc:creator>
		<pubDate>Mon, 01 Nov 2010 00:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.webopius.com/content/?p=137#comment-14024</guid>
		<description>Hi,

I have tried your way, but there never ended page on my page.

I tried to by pass my old php page to wordpress.
mydomain.com/weblinks.php?cat_id=1&amp;weblink_id=3

Can you give me a solution</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have tried your way, but there never ended page on my page.</p>
<p>I tried to by pass my old php page to wordpress.<br />
mydomain.com/weblinks.php?cat_id=1&amp;weblink_id=3</p>
<p>Can you give me a solution</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.250 seconds -->

