<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>alexyz &#187; Wordpress</title>
	<atom:link href="http://alexyz.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexyz.com</link>
	<description>developer notes</description>
	<lastBuildDate>Tue, 13 Dec 2011 19:09:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Create a php page with a form that searches (curls) two separate WordPress applications</title>
		<link>http://alexyz.com/creating-a-php-search-page-that-searches-curls-two-separate-wordpress-applications/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-a-php-search-page-that-searches-curls-two-separate-wordpress-applications</link>
		<comments>http://alexyz.com/creating-a-php-search-page-that-searches-curls-two-separate-wordpress-applications/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 23:28:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1376</guid>
		<description><![CDATA[We have many installations where I work, some of them newer, some older, some severely whacked at by coders, some pretty much default installations. Anyhow, now they want a page from which a visitor could enter a search term, click submit, and get results from all of the separate applications! Here is my solution: The [...]]]></description>
			<content:encoded><![CDATA[<p>We have many installations where I work, some of them newer, some older, some severely whacked at by coders, some pretty much default installations.</p>
<p>Anyhow, now they want a page from which a visitor could enter a search term, click submit, and get results from all of the separate applications!</p>
<p>Here is my solution:</p>
<p>The new page has your basic self submitting form:</p>
<p><span style="color: #008000;">&lt;form action=&#8221;" method=&#8221;post&#8221;&gt;</span><br />
<span style="color: #008000;"> &lt;label for=&#8221;search&#8221;&gt;Search:&lt;/label&gt;</span><br />
<span style="color: #008000;"> &lt;input name=&#8221;s&#8221; type=&#8221;text&#8221; value=&#8221;"  /&gt;</span><br />
<span style="color: #008000;"> &lt;input type=&#8221;submit&#8221; /&gt;</span><br />
<span style="color: #008000;">&lt;/form&gt;</span></p>
<p>Then, of course, it grabs what has been submitted:</p>
<p><span style="color: #ff0000;">&lt;?php</span></p>
<p><span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * Get Search parameters</span><br />
<span style="color: #ff6600;"> */</span><br />
$search = <span style="color: #008000;">$_POST['s']</span>;<br />
$search = <span style="color: #008000;">str_replace</span>(&#8221; &#8220;,&#8221;%20&#8243;,$search);<br />
<span style="color: #008000;">echo</span> $search;</p>
<p><span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #000000;">This checks to ensure that the user didn&#8217;t submit nothing (as WordPress would give us every post as currently coded&#8230;! ick)</span>.  This would also be a great place to guard against injection attacks (or in the last step of course), to filter what may be searched for, etc., but I&#8217;ll leave those concerns for another discussion:</p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * If desired search is NOT empty, search, otherwise don&#8217;t</span><br />
<span style="color: #ff6600;"> */</span><br />
<span style="color: #008000;">if</span>(($search != &#8221;) <span style="color: #008000;">&amp;&amp;</span> ($search != null) <span style="color: #008000;">&amp;&amp;</span> (!empty($search)) )<br />
{<br />
<span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Now we curl in the results from each installation:</span></span></p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * Get Search results from WP app 1</span><br />
<span style="color: #ff6600;"> */</span><br />
$sub_req_url = &#8220;http://<strong>YOURAPP<span style="color: #ff0000;">1</span>URLHERE</strong>/searchpage.php?s=&#8221; . <span style="color: #0000ff;">$search</span>;<br />
$ch = <span style="color: #008000;">curl_init</span>($sub_req_url);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_HEADER</span>, 0);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_POST</span>, 1);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_RETURNTRANSFER</span>, 1);<br />
$podcast_return = <span style="color: #008000;">curl_exec</span>($ch);<br />
<span style="color: #008000;">curl_close</span>($ch);<br />
<span style="color: #008000;">echo</span> $podcast_return;</p>
<p><span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * End</span><br />
<span style="color: #ff6600;"> */</span><br />
<span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * Get Search results from WP app 2</span><br />
<span style="color: #ff6600;"> */</span><br />
$sub_req_url = &#8220;http://<strong>YOURAPP<span style="color: #ff0000;">2</span>URLHERE</strong>/searchpage.php?s=&#8221; . <span style="color: #0000ff;">$search</span>;<br />
$ch = <span style="color: #008000;">curl_init</span>($sub_req_url);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_HEADER</span>, 0);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_POST</span>, 1);<br />
<span style="color: #008000;">curl_setopt</span>($ch, <span style="color: #0000ff;">CURLOPT_RETURNTRANSFER</span>, 1);<br />
$podcast_return = <span style="color: #008000;">curl_exec</span>($ch);<br />
<span style="color: #008000;">curl_close</span>($ch);<br />
<span style="color: #008000;">echo</span> $podcast_return;</p>
<p><span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * End</span><br />
<span style="color: #ff6600;"> */</span><br />
<span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Now let&#8217;s close our IF block, and maybe provide ELSE if we want to&#8230;</span></span></p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;"> * close if empty block</span><br />
<span style="color: #ff6600;"> */</span><br />
}<br />
else<br />
{<br />
}<br />
<span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Ok, that&#8217;s the end of our new page, again, I&#8217;ll leave formatting of the results and the rest of the page to another discussion.  Now let&#8217;s make the above mentioned search pages &#8220;searchpage.php&#8221; (<strong><span style="color: #ff0000;">make one for EACH APP, lives in the ROOT of EACH WP installation that we&#8217;re searching!</span></strong>):</span></span></p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">/**</span><br />
<span style="color: #ff6600;">* WordPress App 1 Post Results Pull-In </span><br />
<span style="color: #ff6600;">*/</span><br />
<span style="color: #008000;">define</span>(&#8216;<span style="color: #0000ff;">WP_USE_THEMES</span>&#8216;, true);<br />
<span style="color: #008000;">include</span>(&#8216;wp-load.php&#8217; );<br />
$query = <span style="color: #008000;">new</span> WP_Query(&#8216;s=&#8217; . <span style="color: #008000;">$_GET['s']</span>);<br />
<span style="color: #008000;">if </span>($query-&gt;have_posts()) : while ($query-&gt;have_posts()) <span style="color: #008000;">:</span> $query-&gt;the_post(); <span style="color: #ff0000;">?&gt;</span></p>
<p>/* Again, how you choose to skin the results could be implemented here, but I&#8217;ll leave that up to you&#8230; */</p>
<p><span style="color: #008000;">&lt;div id=&#8221;post-</span><span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_ID()</span>; <span style="color: #ff0000;">?&gt;</span>&#8220;&gt;<br />
<span style="color: #008000;">&lt;h2&gt;</span><span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_title()</span>; ?&gt;<span style="color: #008000;">&lt;/h2&gt;</span><br />
<span style="color: #008000;">&lt;div&gt;</span><br />
<span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_content</span>(&#8216;<span style="color: #008000;">&lt;p&gt;Read the rest of this page &amp;raquo;&lt;/p&gt;</span>&#8216;); <span style="color: #ff0000;">?&gt;</span><br />
<span style="color: #ff0000;">&lt;?php</span><span style="color: #008000;"> wp_link_pages</span>(array(&#8216;before&#8217; =&gt; &#8216;<span style="color: #008000;">&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt;</span> &#8216;, &#8216;after&#8217; =&gt; &#8216;<span style="color: #008000;">&lt;/p&gt;</span>&#8216;, &#8216;next_or_number&#8217; =&gt; &#8216;number&#8217;)); <span style="color: #ff0000;">?&gt;</span><br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
<span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">endwhile; endif;</span> <span style="color: #ff0000;">?&gt;</span></p>
<p><strong>Whoohoo! Great Work!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/creating-a-php-search-page-that-searches-curls-two-separate-wordpress-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress base url path for multiple platform development links</title>
		<link>http://alexyz.com/wordpress-base-url-path-for-multip-platform-development-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-base-url-path-for-multip-platform-development-links</link>
		<comments>http://alexyz.com/wordpress-base-url-path-for-multip-platform-development-links/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 17:33:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1370</guid>
		<description><![CDATA[so that anchor tags always nicely point to your application root use: get_bloginfo('url') http://codex.wordpress.org/Template_Tags/get_bloginfo]]></description>
			<content:encoded><![CDATA[<p>so that anchor tags always nicely point to your application root use:</p>
<p><span style="color: #ff0000;"><code>get_bloginfo('url')</code></span></p>
<p><a href="http://codex.wordpress.org/Template_Tags/get_bloginfo">http://codex.wordpress.org/Template_Tags/get_bloginfo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-base-url-path-for-multip-platform-development-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress the_excerpt() strips html tags, create a custom function to leave them in</title>
		<link>http://alexyz.com/wordpress-the_excerpt-stips-html-tags-create-a-custom-function-to-leave-them-in/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-the_excerpt-stips-html-tags-create-a-custom-function-to-leave-them-in</link>
		<comments>http://alexyz.com/wordpress-the_excerpt-stips-html-tags-create-a-custom-function-to-leave-them-in/#comments</comments>
		<pubDate>Fri, 27 May 2011 22:44:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1364</guid>
		<description><![CDATA[go to your theme&#8217;s function script: wp-content/themes/yourthemename/function.php at the top insert the following (add to &#8216;&#60;img&#62;&#8217; below to NOT strip out other specific tags, or simply comment the line out&#8230;): function improved_trim_excerpt($text) { global $post; if ( &#8221; == $text ) { $text = get_the_content(&#8221;); $text = apply_filters(&#8216;the_content&#8217;, $text); $text = str_replace(&#8216;]]&#62;&#8217;, &#8216;]]&#38;gt;&#8217;, $text); $text [...]]]></description>
			<content:encoded><![CDATA[<p>go to your theme&#8217;s function script:</p>
<p><span style="color: #0000ff;">wp-content/themes/yourthemename/function.php</span></p>
<p>at the top insert the following (add to &#8216;&lt;img&gt;&#8217; below to NOT strip out other specific tags, or simply comment the line out&#8230;):</p>
<p><span style="color: #ff0000;">function improved_trim_excerpt($text) {</span><br />
<span style="color: #ff0000;"> global $post;</span><br />
<span style="color: #ff0000;"> if ( &#8221; == $text ) {</span><br />
<span style="color: #ff0000;"> $text = get_the_content(&#8221;);</span><br />
<span style="color: #ff0000;"> $text = apply_filters(&#8216;the_content&#8217;, $text);</span><br />
<span style="color: #ff0000;"> $text = str_replace(&#8216;]]&gt;&#8217;, &#8216;]]&amp;gt;&#8217;, $text);</span><br />
<span style="color: #ff0000;"> $text = strip_tags($text, &#8216;&lt;img&gt;&#8217;);</span><br />
<span style="color: #ff0000;"> $excerpt_length = 55;</span><br />
<span style="color: #ff0000;"> $words = explode(&#8216; &#8216;, $text, $excerpt_length + 1);</span><br />
<span style="color: #ff0000;"> if (count($words)&gt; $excerpt_length) {</span><br />
<span style="color: #ff0000;"> array_pop($words);</span><br />
<span style="color: #ff0000;"> array_push($words, &#8216;[...]&#8216;);</span><br />
<span style="color: #ff0000;"> $text = implode(&#8216; &#8216;, $words);</span><br />
<span style="color: #ff0000;"> }</span><br />
<span style="color: #ff0000;"> }</span><br />
<span style="color: #ff0000;"> return $text;</span><br />
<span style="color: #ff0000;">}</span><br />
<span style="color: #ff0000;">remove_filter(&#8216;get_the_excerpt&#8217;,'wp_trim_excerpt&#8217;);</span><br />
<span style="color: #ff0000;">add_filter(&#8216;get_the_excerpt&#8217;,'improved_trim_excerpt&#8217;);</span></p>
<p><span style="color: #000000;">some references:</span> <a href="http://codex.wordpress.org/Function_Reference/the_excerpt">http://codex.wordpress.org/Function_Reference/the_excerpt</a>, http://www.aaronrussell.co.uk/blog/improving-wordpress-the_excerpt/</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-the_excerpt-stips-html-tags-create-a-custom-function-to-leave-them-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress convert podcast from Podpress to Powerpress support HTML5 mobile devices</title>
		<link>http://alexyz.com/wordpress-convert-podcast-from-podpress-to-powerpress-support-html5-mobile-devices/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-convert-podcast-from-podpress-to-powerpress-support-html5-mobile-devices</link>
		<comments>http://alexyz.com/wordpress-convert-podcast-from-podpress-to-powerpress-support-html5-mobile-devices/#comments</comments>
		<pubDate>Thu, 12 May 2011 17:08:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Podpress]]></category>
		<category><![CDATA[Powerpress]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1349</guid>
		<description><![CDATA[If you found this post, you think you&#8217;re stuck with Podpress, and/or you&#8217;re wanting to make your podcast viewable on mobile devices.  I was in the same boat until just recently, stuck with a podcast I&#8217;d initially setup with Podpress years ago, support for which has been worryingly spotty and dwindling, wishing I could now [...]]]></description>
			<content:encoded><![CDATA[<p>If you found this post, you think you&#8217;re stuck with <a href="http://wordpress.org/extend/plugins/podpress/">Podpress</a>, and/or you&#8217;re wanting to make your podcast viewable on mobile devices.  I was in the same boat until just recently, stuck with a podcast I&#8217;d initially setup with <a href="http://wordpress.org/extend/plugins/podpress/">Podpress</a> years ago, support for which has been worryingly spotty and dwindling, wishing I could now ditch <a href="http://wordpress.org/extend/plugins/podpress/">Podpress</a>, but I had over 160 posts I didn&#8217;t want to convert&#8230;.</p>
<p>What I didn&#8217;t realize is that the creators of <a href="http://www.blubrry.com/powerpress/">Powerpress</a> had exactly that in mind when they developed <a href="http://www.blubrry.com/powerpress/">Powerpress</a>!  All I had to do was install <a href="http://www.blubrry.com/powerpress/">Powerpress</a>, activate it, ensure that it&#8217;s settings were correct, and then deactivate Podpress, and bam, it worked. SO <span style="color: #ff0000;">AWESOME</span>, highly recommended.</p>
<p>So I can successfully declare today, that I&#8217;ve migrated now 3 podcasts from <a href="http://wordpress.org/extend/plugins/podpress/">Podpress</a> to <a href="http://www.blubrry.com/powerpress/">Powerpress</a>, one with 84 posts, one with 164, another with 11.</p>
<ul>
<li>The feeds are unaffected, <a href="http://feedburner.google.com">Feedburner</a> is completely unaware of the change</li>
<li>views/layouts unaltered</li>
<li>I didn&#8217;t even need to go back into the posts and alter the data, <a href="http://www.blubrry.com/powerpress/">Powerpress</a> simply interprets it</li>
<li><a href="http://www.apple.com/itunes/">iTunes</a> unaffected</li>
<li><a href="http://www.blubrry.com/powerpress/">Powerpress</a> serves up the <a href="http://get.adobe.com/flashplayer/">flashplayer</a> if the requesting browser support <a href="http://get.adobe.com/flashplayer/">flash</a>, and theL <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> audio or video player if it doesn&#8217;t, enabling by many versions of the <a href="http://www.apple.com/ipod/">iPod</a>, <a href="http://www.apple.com/ipad/">iPad</a>, <a href="http://www.android.com/">Android</a>, and so on, handled, done!</li>
<li><span style="color: #ff0000;">HUGE</span> win.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-convert-podcast-from-podpress-to-powerpress-support-html5-mobile-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Persistence of GET URL parameters passed to WordPress site with Permalink clean pretty URLs turned on</title>
		<link>http://alexyz.com/persistence-of-get-url-parameters-passed-to-wordpress-site-with-permalink-clean-pretty-urls-turned-on/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=persistence-of-get-url-parameters-passed-to-wordpress-site-with-permalink-clean-pretty-urls-turned-on</link>
		<comments>http://alexyz.com/persistence-of-get-url-parameters-passed-to-wordpress-site-with-permalink-clean-pretty-urls-turned-on/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 20:16:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1345</guid>
		<description><![CDATA[Here&#8217;s the scenario: We have a store site. The store site has a link on its homepage that leads to a wordpress site. When a visitor clicks the link, we want a url parameter that is passed with the visitor to the wordpress site to remain in the url so that when/if they click a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the scenario:<br />
We have a store site.<br />
The store site has a link on its homepage that leads to a wordpress site.<br />
When a visitor clicks the link,<br />
we want a url parameter that is passed with the visitor to the wordpress site<br />
to remain in the url<br />
so that when/if they click a link in the wordpress site that leads back to the store,<br />
the parameter comes back with them.</p>
<p>Normally, you&#8217;d simply add a $_GET in your theme somewhere,<br />
assign it to a variable,<br />
and then append that onto any links that are headed back to the store site.</p>
<p>The trouble, though, is that when WordPress&#8217;<br />
clean and pretty Permalinks URL function is active,<br />
it takes over, and forwards (via htaccess, wordpress base code functions, or otherwise),<br />
at which point in time data passed over is lost.</p>
<p>Solution:<br />
In WordPress&#8217; index.php (the very first root directory index),<br />
include another file.</p>
<p><span style="color: #ff0000;">include(&#8216;passback.php&#8217;);</span></p>
<p>In that file, instantiate SERVER SESSIONS, and save received parameters.<br />
Something like this (of course looping through the REQUEST parameters dynamically would be smarter, but for simplicities sake, let&#8217;s just target a particular parameter):</p>
<p><span style="color: #ff0000;">session_start();</span><br />
<span style="color: #ff0000;">if($_GET['persistme'] != &#8221;){ $passit = $_GET['persistme']; }</span><br />
<span style="color: #ff0000;">if(!isset($_SESSION['passback'])){ $_SESSION['passback'] = $passit; }</span></p>
<p>Now you can include your passback retrieval class in your theme, grab the parameter, and use your JavaScript library of choice to loop through all the links in the page and append it onto them.<br />
Something like this (Prototype, and only appending links that already have a ? and thus other parameters they&#8217;re sending back&#8230;):</p>
<p><span style="color: #ff0000;">document.observe(&#8216;dom:loaded&#8217;, function() {</span><br />
<span style="color: #ff0000;"> $$(&#8220;a&#8221;).each(function(a) {</span><br />
<span style="color: #ff0000;"> newhref = a.href;</span><br />
<span style="color: #ff0000;"> if(newhref.include(&#8216;?&#8217;){</span><br />
<span style="color: #ff0000;">newhref = a.href + &#8220;?rememberme=&lt;?php echo $passit; ?&gt;&#8221;;</span><br />
<span style="color: #ff0000;"> a.writeAttribute(&#8216;href&#8217;, newhref);</span><br />
<span style="color: #ff0000;"> }</span><br />
<span style="color: #ff0000;"> });</span><br />
<span style="color: #ff0000;">});</span></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/persistence-of-get-url-parameters-passed-to-wordpress-site-with-permalink-clean-pretty-urls-turned-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes remove podcast example rss xml feed itunes:block</title>
		<link>http://alexyz.com/itunes-remove-podcast-examle-xml-feed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=itunes-remove-podcast-examle-xml-feed</link>
		<comments>http://alexyz.com/itunes-remove-podcast-examle-xml-feed/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 23:58:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Feedburner]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1327</guid>
		<description><![CDATA[So you submitted your podcast, with a post containing placeholder content because you had to have it approved and live by some deadline, but now it&#8217;s deemed not presentable, because marketing has changed the title last minute, and as you change this first post&#8217;s content via its RSS feed, some of it changes, the dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>So you submitted your podcast, with a post containing placeholder content because you had to have it approved and live by some deadline, but now it&#8217;s deemed not presentable, because marketing has changed the title last minute, and as you change this first post&#8217;s content via its RSS feed, some of it changes, the dynamic parts most likely, the media, and so on, but the title isn&#8217;t changing in the iTunes store&#8230;</p>
<p>In my example, I used a feedburner feed (iTunes is using that), so I can simply change the feed source in feedburner, to something like the example xml feed in this post, and we can at least get the eyesore out of iTunes, freeing us up to make a new feedburner feed, and re-submit THAT anew to iTunes for a fresh clean go of things&#8230;</p>
<p>Host something like this somewhere, and point the old feedburner feed to it, done.</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;rss xmlns:itunes=&#8221;http://www.itunes.com/dtds/podcast-1.0.dtd&#8221; version=&#8221;2.0&#8243;&gt;<br />
&lt;channel&gt;<br />
&lt;itunes:block&gt;yes&lt;/itunes:block&gt;<br />
&lt;title&gt;A Title Is Required For The Feed To Validate&lt;/title&gt;<br />
&lt;/channel&gt;<br />
&lt;/rss&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/itunes-remove-podcast-examle-xml-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress determine version number</title>
		<link>http://alexyz.com/wordpress-determine-version-number/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-determine-version-number</link>
		<comments>http://alexyz.com/wordpress-determine-version-number/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 00:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1315</guid>
		<description><![CDATA[wp-includes/version.php]]></description>
			<content:encoded><![CDATA[<p>wp-includes/version.php</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-determine-version-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress custom sidebar category filtered archive code</title>
		<link>http://alexyz.com/wordpress-custom-sidebar-category-filtered-archive-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-custom-sidebar-category-filtered-archive-code</link>
		<comments>http://alexyz.com/wordpress-custom-sidebar-category-filtered-archive-code/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 00:07:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1312</guid>
		<description><![CDATA[&#60;div id=&#8221;sidebar&#8221;&#62; &#60;ul&#62; &#60;?php $myposts = get_posts(&#8220;category=1&#8243;); foreach($myposts as $post) : ?&#62; &#60;li&#62;&#60;a href=&#8221;&#60;?php the_permalink(); ?&#62;&#8220;&#62;&#60;?php the_time(&#8216;M&#8217;) ?&#62;. &#8211; &#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/li&#62; &#60;?php endforeach; ?&#62; &#60;/ul&#62; &#60;/div&#62; mostly in thanks to: http://www.z-oc.com/blog/2008/03/category-based-archive/ http://www.themightymo.com/2009/07/22/includeexclude-category-from-wordpress-wp_get_archives/ http://kwebble.com/blog/2007_08_15/archives_for_a_category]]></description>
			<content:encoded><![CDATA[<p>&lt;div id=&#8221;sidebar&#8221;&gt;<br />
&lt;ul&gt;<br />
<span style="color: #ff0000;">&lt;?php</span><br />
$myposts = <span style="color: #008000;">get_posts</span>(&#8220;category=1&#8243;);<br />
<span style="color: #008000;">foreach</span>($myposts <span style="color: #008000;">as</span> $post)<span style="color: #008000;"> :</span> <span style="color: #ff0000;">?&gt;</span><br />
&lt;li&gt;&lt;a href=&#8221;<span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_permalink();</span> <span style="color: #ff0000;">?&gt;</span>&#8220;&gt;<span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_time(&#8216;M&#8217;)</span> <span style="color: #ff0000;">?&gt;</span>. &#8211; <span style="color: #ff0000;">&lt;?php</span> <span style="color: #008000;">the_title();</span> <span style="color: #ff0000;">?&gt;</span>&lt;/a&gt;&lt;/li&gt;<br />
<span style="color: #ff0000;">&lt;?php</span> endforeach; <span style="color: #ff0000;">?&gt;</span><br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>mostly in thanks to:</p>
<p><a href="http://www.z-oc.com/blog/2008/03/category-based-archive/">http://www.z-oc.com/blog/2008/03/category-based-archive/</a></p>
<p><a href="http://www.themightymo.com/2009/07/22/includeexclude-category-from-wordpress-wp_get_archives/">http://www.themightymo.com/2009/07/22/includeexclude-category-from-wordpress-wp_get_archives/</a></p>
<p><a href="http://kwebble.com/blog/2007_08_15/archives_for_a_category">http://kwebble.com/blog/2007_08_15/archives_for_a_category</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-custom-sidebar-category-filtered-archive-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Post to Category ID association in the Database</title>
		<link>http://alexyz.com/wordpress-category-id-association-in-the-database/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-category-id-association-in-the-database</link>
		<comments>http://alexyz.com/wordpress-category-id-association-in-the-database/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 00:01:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1310</guid>
		<description><![CDATA[WordPress 3 Start with a Post and get Category ID: Get the id number(A) for the post you&#8217;re interested in in wp_posts table,  id column Go to wp_term_relationships table, and find that same id number(A) in the object_id column, read over to the term_taxonomy_id column and get that number, that&#8217;s the category id Start with [...]]]></description>
			<content:encoded><![CDATA[<p><em>WordPress 3</em></p>
<p><span style="text-decoration: underline;">Start with a Post and get Category ID:</span></p>
<p>Get the id number(A) for the post you&#8217;re interested in in <strong><span style="color: #000000;">wp_posts</span></strong> table,  <span style="color: #ff0000;">id <span style="color: #000000;">column</span><br />
</span></p>
<p>Go to <strong><span style="color: #000000;">wp_term_relationships</span></strong> table, and find that same id number(A) in the <span style="color: #ff0000;">object_id</span> column, read over to the <span style="color: #ff0000;">term_taxonomy_id</span> column and get that number, that&#8217;s the <strong>category id</strong></p>
<p><span style="text-decoration: underline;">Start with a Category ID and get Category Name:</span></p>
<p>Go to the <strong>wp_terms</strong> table, and find the category you&#8217;d like in the <span style="color: #ff0000;">name</span> column, read over to the <span style="color: #ff0000;">term_id</span> and note the number</p>
<p><span style="text-decoration: underline;">Find all Cateogry IDs:</span></p>
<p>Go to the<strong> wp_term_taxonomy </strong>table<strong> </strong>and sort by<strong> </strong><span style="color: #ff0000;">taxonomy </span>value &#8216;<span style="color: #ff0000;">category</span> category number is in <span style="color: #ff0000;">term_taxonomy_id</span> column</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-category-id-association-in-the-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress control number of posts per archive page</title>
		<link>http://alexyz.com/wordpress-control-number-of-posts-per-archive-page/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-control-number-of-posts-per-archive-page</link>
		<comments>http://alexyz.com/wordpress-control-number-of-posts-per-archive-page/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 02:03:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1284</guid>
		<description><![CDATA[edit archive.php replace this: &#60; ?php get_header(); ? &#62; with something along these lines: &#60; ?php get_header(); ? &#62; &#60; ?php $paged = (get_query_var(&#8216;paged&#8217;)) ? get_query_var(&#8216;paged&#8217;) : 1; $args=array( &#8216;showposts&#8217; =&#62; 10, &#8216;paged&#8217;=&#62;$paged, &#8216;caller_get_posts&#8217;=&#62; 1 ); query_posts($args); ? &#62;]]></description>
			<content:encoded><![CDATA[<p>edit archive.php</p>
<p>replace this:</p>
<p>&lt; ?php get_header(); ? &gt;</p>
<p>with something along these lines:</p>
<p>&lt; ?php get_header(); ? &gt;<br />
&lt; ?php<br />
$paged = (get_query_var(&#8216;paged&#8217;)) ? get_query_var(&#8216;paged&#8217;) : 1;<br />
$args=array(<br />
&#8216;showposts&#8217; =&gt; 10,<br />
&#8216;paged&#8217;=&gt;$paged,<br />
&#8216;caller_get_posts&#8217;=&gt; 1<br />
);<br />
query_posts($args);<br />
? &gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-control-number-of-posts-per-archive-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress affect categories search form searches &#8211; solution 2</title>
		<link>http://alexyz.com/wordpress-affect-categories-search-form-searches-solution-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-affect-categories-search-form-searches-solution-2</link>
		<comments>http://alexyz.com/wordpress-affect-categories-search-form-searches-solution-2/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 23:39:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1051</guid>
		<description><![CDATA[Please see this post if you&#8217;re only wanting to limit the form to a single category, as it&#8217;s as simple as adding a hidden form field. This solution uses functions.php, adding something like the following: function SearchFilter($query) { if($query-&#62;is_search){ $query-&#62;set(&#8216;cat&#8217;,&#8217;0&#8242;); } } add_filter(&#8216;pre_get_posts&#8217;,'SearchFilter&#8217;); similar post: http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/ http://alexyz.com/wordpress-limit-search-form-to-a-category-2/ similar reference: http://speckyboy.com/2010/09/19/10-useful-wordpress-search-code-snippets/]]></description>
			<content:encoded><![CDATA[<p>Please see <a href="http://alexyz.com/wordpress-limit-search-form-to-a-category-2/">this post</a> if you&#8217;re only wanting to limit the form to a single category, as it&#8217;s as simple as adding a hidden form field.</p>
<p>This solution uses <span style="color: #ff0000;">functions.php</span>, adding something like the following:</p>
<p><span style="color: #ff0000;">function SearchFilter($query)<br />
{<br />
if($query-&gt;is_search){<br />
$query-&gt;set(&#8216;cat&#8217;,&#8217;0&#8242;);<br />
}<br />
}<br />
add_filter(&#8216;pre_get_posts&#8217;,'SearchFilter&#8217;);</span></p>
<p><span style="color: #000000;">similar post:</span><br />
<a href="http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/">http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/</a></p>
<p><a href="http://alexyz.com/wordpress-limit-search-form-to-a-category-2/">http://alexyz.com/wordpress-limit-search-form-to-a-category-2/</a></p>
<p>similar reference:</p>
<p><a href="http://speckyboy.com/2010/09/19/10-useful-wordpress-search-code-snippets/">http://speckyboy.com/2010/09/19/10-useful-wordpress-search-code-snippets/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-affect-categories-search-form-searches-solution-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress creating users in MySQL via script wp_user_level wp_capabilities wp_users</title>
		<link>http://alexyz.com/wordpress-creating-users-in-mysql-via-script-wp_user_level-wp_capabilities-wp_users/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-creating-users-in-mysql-via-script-wp_user_level-wp_capabilities-wp_users</link>
		<comments>http://alexyz.com/wordpress-creating-users-in-mysql-via-script-wp_user_level-wp_capabilities-wp_users/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 22:16:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=1000</guid>
		<description><![CDATA[Scenario: Creating a WordPress blog with an entire company of users. We want employees to already have an account, so that registration may be turned OFF otherwise. From an excel list of employees, we&#8217;ll extract their email, make an account for each email in the WordPress database, and then they may change their passwords themselves. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong><br />
Creating a WordPress blog with an entire company of users.<br />
We want employees to already have an account, so that registration may be turned OFF otherwise.<br />
From an excel list of employees, we&#8217;ll extract their email, make an account for each email in the WordPress database, and then they may change their passwords themselves.  You can imagine what the php script will look like, to extract the email, and foreach insert the following (uniqueusername and 5 replaced of course with incrementing id numbers and changing emailnames@ourcompany.com):</p>
<p>&nbsp;</p>
<p><span style="color: #008000;">INSERT INTO wp_users<br />
(id,user_login,user_pass,user_email,display_name)<br />
VALUES<br />
(&#8217;5&#8242;,&#8217;uniqueusername&#8217;,md5(&#8216;pass&#8217;),&#8217;uniqueusername@ourcompany.com&#8217;,'uniqueusername&#8217;);</span></p>
<p>&nbsp;</p>
<p><span style="color: #ff0000;">// to note, this below is simultaneously a nice example of how to insert multiple rows with one MySQL INSERT statement</span></p>
<p>&nbsp;</p>
<p><span style="color: #008000;">INSERT INTO wp_usermeta<br />
(user_id,meta_key,meta_value)<br />
VALUES<br />
(&#8217;5&#8242;,&#8217;wp_capabilities&#8217;,'a:1:{s:6:&#8221;author&#8221;;s:1:&#8221;1&#8243;;}&#8217;),<br />
(&#8217;5&#8242;,&#8217;wp_user_level&#8217;,&#8217;10&#8242;);</span></p>
<p>&nbsp;</p>
<p><strong>Thus, the full script looks something like this:</strong></p>
<p>&nbsp;</p>
<p>$employees = array(&#8216;employee1@somesite.com&#8217;,'employee2@somesite.com&#8217;,'employee3@somesite.com&#8217;,'andsoon&#8230;&#8217;);</p>
<p>&nbsp;</p>
<p>$startNumber = 10; <span style="color: #ff0000;">// if you already have users, pick the next highest number, as it uses this for several tables below, we need them to happen at the same time so that attributes belong to specific users&#8230;</span></p>
<p>&nbsp;</p>
<p>$db_name = &#8220;databasename&#8221;;<br />
$db_host = &#8220;localhost&#8221;;<br />
$db_username = &#8220;username&#8221;;<br />
$db_password = &#8220;password&#8221;;</p>
<p>&nbsp;</p>
<p><span style="color: #ff0000;">// note the nice error reporting so that we can troubleshoot connections, users, table selections, and so forth&#8230;</span><br />
$link = <span style="color: #ff0000;">mysql_connect</span>($db_host, $db_username, $db_password);<br />
if (!$link) {<br />
die(&#8216;Could not connect: &#8216; . mysql_error());<br />
}<br />
else<br />
{<br />
echo &#8216;Connected successfully&lt;br /&gt;&#8217;;<br />
}</p>
<p>&nbsp;</p>
<p>$db_selected = <span style="color: #ff0000;">mysql_select_db</span>($db_name, $link);<br />
if (!$db_selected) {<br />
die (&#8216;Can\&#8217;t use foo : &#8216; . <span style="color: #ff0000;">mysql_error()</span>);<br />
}<br />
else<br />
{<br />
echo &#8216;Selected manyvoices database successfully&lt;br /&gt;&#8217;;<br />
}</p>
<p>&nbsp;</p>
<p><span style="color: #ff0000;">foreach</span>($employees as $employee)<br />
{<br />
list($user_name, $therest) = <span style="color: #ff0000;">explode</span>(&#8216;@&#8217;,$employee);</p>
<p>&nbsp;</p>
<p>$query1 = &#8220;<span style="color: #ff0000;">INSERT INTO wp_users<br />
(id,user_login,user_pass,user_email,display_name)<br />
VALUES<br />
(&#8216;&#8221; . $startNumber . &#8220;&#8216;,&#8217;&#8221; . $user_name . &#8220;&#8216;,md5(&#8216;pass&#8217;),&#8217;&#8221; . $employee . &#8220;&#8216;,&#8217;&#8221; . $user_name . &#8220;&#8216;)</span>&#8220;;<br />
//echo $query1 . &#8220;&lt;br /&gt;&#8221;;</p>
<p>&nbsp;</p>
<p>$result1 = <span style="color: #ff0000;">mysql_query</span>($query1);<br />
if(!result1){<br />
die(&#8216;Error: &#8216; . <span style="color: #ff0000;">mysql_error()</span>);<br />
}<br />
else{<br />
echo &#8220;User: &#8221; . $user_name . &#8221; : Added&lt;br /&gt;&#8221;;<br />
}</p>
<p>&nbsp;</p>
<p>$query2 = &#8220;<span style="color: #ff0000;">INSERT INTO wp_usermeta<br />
(user_id,meta_key,meta_value)<br />
VALUES<br />
(&#8216;&#8221; . $startNumber . &#8220;&#8216;,&#8217;wp_capabilities&#8217;,'a:1:{s:6:\&#8221;author\&#8221;;s:1:\&#8221;1\&#8221;;}&#8217;),<br />
(&#8216;&#8221; . $startNumber . &#8220;&#8216;,&#8217;wp_user_level&#8217;,&#8217;10&#8242;)</span>&#8220;;<br />
//echo $query2 . &#8220;&lt;br /&gt;&#8221;;</p>
<p>&nbsp;</p>
<p>$result2 = <span style="color: #ff0000;">mysql_query</span>($query2);<br />
if(!result2){<br />
die(&#8216;Error: &#8216; . <span style="color: #ff0000;">mysql_error()</span>);<br />
}<br />
else<br />
{<br />
echo &#8220;User Credentials: &#8221; . $user_name . &#8221; : Updated&lt;br /&gt;&#8221;;<br />
}</p>
<p>&nbsp;</p>
<p>$startNumber++;<br />
}</p>
<p>&nbsp;</p>
<p><span style="color: #ff0000;">mysql_close</span>($link);</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-creating-users-in-mysql-via-script-wp_user_level-wp_capabilities-wp_users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snippets: HTML object swf embed within a WordPress post snag it n&#8217; publish it code excerpt</title>
		<link>http://alexyz.com/snippets-html-object-swf-embed-within-a-wordpress-post-snag-it-n-publish-it-code-excerpt/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=snippets-html-object-swf-embed-within-a-wordpress-post-snag-it-n-publish-it-code-excerpt</link>
		<comments>http://alexyz.com/snippets-html-object-swf-embed-within-a-wordpress-post-snag-it-n-publish-it-code-excerpt/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 23:58:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=947</guid>
		<description><![CDATA[&#60;object height=&#8221;24&#8243; width=&#8221;500&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&#8243; classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;&#62;&#60;param value=&#8221;file=http://www.site.net/track.mp3&#38;amp;image=http://www.site.net/trackImage.jpg&#8221; name=&#8221;flashvars&#8221;&#62;&#60;param value=&#8221;http://www.site.com/swf/player.swf&#8221; name=&#8221;movie&#8221;&#62;&#60;embed height=&#8221;24&#8243; width=&#8221;500&#8243; flashvars=&#8221;file=http://www.site.net/track.mp3&#8243; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221; type=&#8221;application/x-shockwave-flash&#8221; src=&#8221;http://www.site.com/swf/player.swf&#8221;&#62;&#60;/object&#62;]]></description>
			<content:encoded><![CDATA[<p>&lt;object height=&#8221;24&#8243; width=&#8221;500&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&#8243; classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;&gt;&lt;param value=&#8221;file=http://www.site.net/track.mp3&amp;amp;image=http://www.site.net/trackImage.jpg&#8221; name=&#8221;flashvars&#8221;&gt;&lt;param value=&#8221;http://www.site.com/swf/player.swf&#8221; name=&#8221;movie&#8221;&gt;&lt;embed height=&#8221;24&#8243; width=&#8221;500&#8243; flashvars=&#8221;file=http://www.site.net/track.mp3&#8243; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221; type=&#8221;application/x-shockwave-flash&#8221; src=&#8221;http://www.site.com/swf/player.swf&#8221;&gt;&lt;/object&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/snippets-html-object-swf-embed-within-a-wordpress-post-snag-it-n-publish-it-code-excerpt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress RSS feed exclude categories or only serve one particular category</title>
		<link>http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category</link>
		<comments>http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 21:35:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=922</guid>
		<description><![CDATA[// This will make the site feed ONLY contain category id 9. add to wp-content/themes/your-active-theme/function.php function myFilter($query) { if ($query-&#62;is_feed) { $query-&#62;set(&#8216;cat&#8217;,&#8217;9&#8242;); } return $query; } add_filter(&#8216;pre_get_posts&#8217;,&#8217;myFilter&#8216;); // To EXCLUDE categories 9 and 11: function myFilter($query) { if ($query-&#62;is_feed) { $query-&#62;set(&#8216;cat&#8217;,&#8217;-9, -11&#8216;); } return $query; } add_filter(&#8216;pre_get_posts&#8217;,&#8217;myFilter&#8216;);]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">// This will make the site feed ONLY contain category id 9.</span></p>
<p>add to <span style="color: #ff0000;">wp-content/themes/your-active-theme/function.php</span></p>
<p><span style="color: #0000ff;">function</span> <span style="color: #008000;">myFilter</span>($query) {<br />
if ($query-&gt;is_feed) {<br />
$query-&gt;set(&#8216;cat&#8217;,&#8217;9&#8242;);<br />
}<br />
return $query;<br />
}</p>
<p><span style="color: #0000ff;">add_filter</span>(&#8216;pre_get_posts&#8217;,&#8217;<span style="color: #008000;">myFilter</span>&#8216;);</p>
<p><span style="color: #ff0000;">// To EXCLUDE categories 9 and 11:</span></p>
<p><span style="color: #0000ff;">function</span> <span style="color: #008000;">myFilter</span>($query) {<br />
if ($query-&gt;is_feed) {<br />
$query-&gt;set(&#8216;cat&#8217;,&#8217;<strong>-9, -11</strong>&#8216;);<br />
}<br />
return $query;<br />
}</p>
<p><span style="color: #0000ff;">add_filter</span>(&#8216;pre_get_posts&#8217;,&#8217;<span style="color: #008000;">myFilter</span>&#8216;);</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-rss-feed-exclude-categories-or-only-serve-one-particular-category/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Custom Structure URL Permalinks</title>
		<link>http://alexyz.com/wordpress-custom-structure-url-permalinks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-custom-structure-url-permalinks</link>
		<comments>http://alexyz.com/wordpress-custom-structure-url-permalinks/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 17:31:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=886</guid>
		<description><![CDATA[Admin Settings Permalinks Custom Structure radio text entry field use this: /%postname%/ so that your posts appear as they do in this blog, here: http://www.sitename.com/post-name]]></description>
			<content:encoded><![CDATA[<p>Admin</p>
<p>Settings</p>
<p>Permalinks</p>
<p>Custom Structure radio text entry field</p>
<p>use this:</p>
<p><span style="color: #ff0000;">/%postname%/</span></p>
<p>so that your posts appear as they do in this blog, here:</p>
<p>http://www.sitename.com/post-name</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-custom-structure-url-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>httpd.conf or .htaccess for apache WordPress redirect</title>
		<link>http://alexyz.com/httpd-conf-or-htaccess-for-apache-wordpress-redirect/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=httpd-conf-or-htaccess-for-apache-wordpress-redirect</link>
		<comments>http://alexyz.com/httpd-conf-or-htaccess-for-apache-wordpress-redirect/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 17:26:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache2]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=882</guid>
		<description><![CDATA[a legacy Wordpress blog is being converted to clean/pretty URLs for SEO purposes...]]></description>
			<content:encoded><![CDATA[<p>This is simply a note to save this block of code should I need it again.</p>
<p>The server in question is one of many cloud instances, and local development machines, in an environment using PHP, JAVA, Surf, among other technologies.</p>
<p>In short, it&#8217;s a pretty complex implementation/configuration&#8230;</p>
<p>Some URLs are being rewritten, others forwarded, directory crawling is off, but&#8230;</p>
<p>a legacy WordPress blog is being converted to clean/pretty URLs for SEO purposes</p>
<p>(which &#8220;look&#8221; like directory folder URLs)</p>
<p>(rather than WordPress relying on URL parameters by default)</p>
<p>so, along with editing the WordPress Setting for this,</p>
<p>the following was added to the httpd.conf file:</p>
<p><span style="color: #ff0000;">&lt;IfModule modrewrite.c&gt;</span></p>
<p><span style="color: #ff0000;">RewriteEngine On<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^(.+)$ /podcastInQuestionFolder/index.php [L]</span></p>
<p><span style="color: #ff0000;"> &lt;/IfModule&gt;</span></p>
<p>Of course, quite similar code in the .htaccess within that folder would accomplish a similar aim.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/httpd-conf-or-htaccess-for-apache-wordpress-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress limit search form to a category</title>
		<link>http://alexyz.com/wordpress-limit-search-form-to-a-category-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-limit-search-form-to-a-category-2</link>
		<comments>http://alexyz.com/wordpress-limit-search-form-to-a-category-2/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 00:34:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=847</guid>
		<description><![CDATA[example: &#160; &#60;script&#62; function submitter() { track_it(&#8216;/podcast/searchFormSubmit/&#8217;); document.searchform.submit(); } &#60;/script&#62; &#160; &#60;form method=&#8221;get&#8221; name=&#8221;searchform&#8221; id=&#8221;searchform&#8221; action=&#8221;&#60;?php bloginfo(&#8216;url&#8217;); ?&#62;/&#8221;&#62; &#160; &#60;input type=&#8221;text&#8221; value=&#8221;&#60;?php the_search_query(); ?&#62;&#8221; name=&#8221;s&#8221; id=&#8221;s&#8221; onclick=&#8221;this.value=&#8221;&#8221;/&#62; &#160; This is the important new line, 5 is an example category id &#160; &#60;input type=&#8221;hidden&#8221; name=&#8221;cat&#8221; value=&#8221;5&#8243; /&#62; &#160; &#60;a href=&#8221;javascript:submitter()&#8221; style=&#8221;text-decoration:none;font-size:11px;margin:0 0 0 5px;position:absolute;top:0px;&#8221;&#62;&#60;img src=&#8221;wp-content/themes/New/images/go.png&#8221; onmouseover=&#8221;this.src=&#8217;wp-content/themes/New/images/go-over.png&#8217;&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>example:</p>
<p>&nbsp;</p>
<p><span style="color: #0000ff;">&lt;script&gt;</span><br />
<span style="color: #0000ff;">function submitter()<br />
{<br />
track_it(&#8216;/podcast/searchFormSubmit/&#8217;);<br />
document.searchform.submit();<br />
}</span><br />
<span style="color: #0000ff;">&lt;/script&gt;</span></p>
<p>&nbsp;</p>
<p><span style="color: #800000;">&lt;form method=&#8221;get&#8221; name=&#8221;searchform&#8221; id=&#8221;searchform&#8221; action=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt;/&#8221;&gt;</span></p>
<p>&nbsp;</p>
<p><span style="color: #800000;">&lt;input type=&#8221;text&#8221; value=&#8221;&lt;?php the_search_query(); ?&gt;&#8221; name=&#8221;s&#8221; id=&#8221;s&#8221; onclick=&#8221;this.value=&#8221;&#8221;/&gt;</span></p>
<p>&nbsp;</p>
<p><strong><span style="color: #ff0000;">This is the important new line, 5 is an example category id</span></strong></p>
<p>&nbsp;</p>
<p><span style="color: #800000;">&lt;input type=&#8221;hidden&#8221; name=&#8221;cat&#8221; value=&#8221;5&#8243; /&gt;</span></p>
<p>&nbsp;</p>
<p><span style="color: #800000;">&lt;a href=&#8221;javascript:submitter()&#8221; style=&#8221;text-decoration:none;font-size:11px;margin:0 0 0 5px;position:absolute;top:0px;&#8221;&gt;&lt;img src=&#8221;wp-content/themes/New/images/go.png&#8221; onmouseover=&#8221;this.src=&#8217;wp-content/themes/New/images/go-over.png&#8217;&#8221; onmouseout=&#8221;this.src=&#8217;wp-content/themes/New/images/go.png&#8217;&#8221; border=&#8221;0&#8243; /&gt;</span></p>
<p>&nbsp;</p>
<p><span style="color: #800000;">&lt;/a&gt;<br />
&lt;/form&gt;</span></p>
<p>&nbsp;</p>
<p>source: <a href="http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/">http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-limit-search-form-to-a-category-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Visual editor inactive</title>
		<link>http://alexyz.com/wordpress-visual-editor-inactive/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-visual-editor-inactive</link>
		<comments>http://alexyz.com/wordpress-visual-editor-inactive/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 00:33:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=860</guid>
		<description><![CDATA[All of a sudden you can&#8217;t click on your visual editor tab when adding a post? Did you recently install a new plug-in? Disable it and try again. It isn&#8217;t compatible with your current version&#8230; Just a short note.]]></description>
			<content:encoded><![CDATA[<p>All of a sudden you can&#8217;t click on your visual editor tab when adding a post?<br />
Did you recently install a new plug-in?<br />
Disable it and try again.<br />
It isn&#8217;t compatible with your current version&#8230;<br />
Just a short note.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-visual-editor-inactive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Podpress Plugin WordPress Outside the Loop Single page</title>
		<link>http://alexyz.com/podpress-plugin-wordpress-outside-the-loop-single-page/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=podpress-plugin-wordpress-outside-the-loop-single-page</link>
		<comments>http://alexyz.com/podpress-plugin-wordpress-outside-the-loop-single-page/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 22:50:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=629</guid>
		<description><![CDATA[Am building a page that pulls in a single post from a WordPress podcast site that I built that uses Podpress. The long and short of it is that it requires instantiating the WordPress app externally, and using a mini-loop, pretty straight forward, but for the longest time I couldn&#8217;t figure out for the life [...]]]></description>
			<content:encoded><![CDATA[<p>Am building a page that pulls in a single post from a WordPress podcast site that I built that uses Podpress. The long and short of it is that it requires instantiating the WordPress app externally, and using a mini-loop, pretty straight forward, but for the longest time I couldn&#8217;t figure out for the life of me why the Podpress player wasn&#8217;t showing up&#8230;</p>
<p>Instead, I was only getting the [display_podcast] token that one places in a post for Podpress and WordPress to then replace upon rendering the post&#8230;</p>
<p>I knew there had to be a simple solution.  My final code is below.  The key: <strong>wp_head();</strong></p>
<p><span style="color: #ff0000;">&lt; ? php</span></p>
<p><span style="color: #008000;">require_once</span>(&#8216;../podcast/wp-load.php&#8217; ); <span style="color: #ff0000;">// load the app</span><br />
<span style="color: #008000;">wp_head()</span>; <span style="color: #ff0000;">// this gets all the plugins and dependencies!!!!</span><br />
<span style="color: #008000;">query_posts(&#8216;p=1807&#8242;)</span>; <span style="color: #ff0000;">// documentation on using query_posts is nice and simple and clear</span><br />
<span style="color: #008000;">while</span> (<span style="color: #008000;">have_posts()</span>) : <span style="color: #008000;">the_post()</span>; <span style="color: #ff0000;">// iterate over the return</span></p>
<p><span style="color: #ff0000;">// use various things to output the data</span></p>
<p><span style="color: #008000;">the_ID()</span>; <span style="color: #008000;">the_time(&#8216;l, F j, Y&#8217;)</span>; <span style="color: #008000;">the_title()</span>; <span style="color: #008000;">the_content()</span>; <span style="color: #ff0000;">// and so on</span></p>
<p><span style="color: #008000;">endwhile;</span></p>
<p><span style="color: #ff0000;">? &gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/podpress-plugin-wordpress-outside-the-loop-single-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress PHP custom theme functions.php hook</title>
		<link>http://alexyz.com/wordpress-php-custom-theme-functions-php-hook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-php-custom-theme-functions-php-hook</link>
		<comments>http://alexyz.com/wordpress-php-custom-theme-functions-php-hook/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 23:33:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=420</guid>
		<description><![CDATA[In your theme (wp-content/themes/YourNewTheme) create or find functions.php and start making whatever you need.  It&#8217;s a nice clean place to put things without hacking away at your code, dynamically inserting with JS, or whatever other measure you&#8217;ve either employed in the past, or are considering now&#8230; for example, &#60;?php //My own footer hook function my_footer() [...]]]></description>
			<content:encoded><![CDATA[<p>In your theme (wp-content/themes/YourNewTheme) create or find functions.php</p>
<p>and start making whatever you need.  It&#8217;s a nice clean place to put things <span style="color: #ff0000;">without</span> hacking away at your code,</p>
<p>dynamically inserting with JS, or whatever other measure you&#8217;ve either employed in the past, or are considering now&#8230;</p>
<p>for example,</p>
<p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #ff6600;">//My own footer hook</span><br />
function my_footer() {</p>
<p>//code to execute</p>
<p><span style="color: #ff0000;">?&gt;</span>&lt;div class=&#8221;bigText&#8221;&gt;blah blah blah&lt;/div&gt;<span style="color: #ff0000;">&lt;?</span></p>
<p><span style="color: #000000;">}</span></p>
<p><span style="color: #ff0000;">?&gt;</span></p>
<p><span style="color: #000000;">then, wherever you like, call your new function, example, replace all <span style="color: #ff0000;">&lt;? wp_footer(); ?&gt;</span> calls with, you guested it, </span><span style="color: #ff0000;">&lt;? my_footer(); ?&gt;<br />
</span></p>
<p>thanks to: <a href="http://www.raymondselda.com/understanding-action-hooks-in-wordpress/">http://www.raymondselda.com/understanding-action-hooks-in-wordpress/</a></p>
<p>Don&#8217;t forget to include the following in your new custom theme functions.php file if you want the dynamic custom drag widget sidebar!:</p>
<p><span style="color: #ff0000;">if ( function_exists(&#8216;register_sidebar&#8217;) )<br />
register_sidebar();</span></p>
<p>reference: <a href="http://codex.wordpress.org/Widgetizing_Themes">http://codex.wordpress.org/Widgetizing_Themes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-php-custom-theme-functions-php-hook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving WordPress DB changes and/or functions.php</title>
		<link>http://alexyz.com/moving-wordpress-db-changes-andor-functions-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=moving-wordpress-db-changes-andor-functions-php</link>
		<comments>http://alexyz.com/moving-wordpress-db-changes-andor-functions-php/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:12:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=212</guid>
		<description><![CDATA[change DB values table: wp-options column: option_name fields: siteurl home also to note in here: blogname upload_url_path comment_moderation rss_language admin_email ALTERNATE OPTION, (db inaccessible) add a few lines to: wp-content/themes/default/functions.php lines: update_option(&#8216;siteurl&#8217;,&#8217;http://yourUrl&#8216;); update_option(&#8216;home&#8217;,&#8217;http://yourUrl/soundstrue.com/podcast&#8216;); If the second option used not to be forgotten, as it will overwrite DB every time App loads&#8230;]]></description>
			<content:encoded><![CDATA[<p>change DB values</p>
<p><strong>table:</strong><br />
wp-options</p>
<p><strong>column:</strong><br />
option_name</p>
<p><strong>fields:</strong><br />
siteurl<br />
home</p>
<p><strong>also to note in here:</strong><br />
blogname<br />
upload_url_path<br />
comment_moderation<br />
rss_language<br />
admin_email</p>
<p>ALTERNATE OPTION, (db inaccessible)<br />
add a few lines to:<br />
<strong>wp-content/themes/default/functions.php</strong></p>
<p>lines:<br />
<strong>update_option(&#8216;siteurl&#8217;,&#8217;<span style="color: #0000ff;">http://yourUrl</span>&#8216;);<br />
update_option(&#8216;home&#8217;,&#8217;<span style="color: #0000ff;">http://yourUrl/soundstrue.com/podcast</span>&#8216;);</strong></p>
<p>If the second option used not to be forgotten, as it will overwrite  DB every time App loads&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/moving-wordpress-db-changes-andor-functions-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Akismet (spam)</title>
		<link>http://alexyz.com/wordpress-akismet-services/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-akismet-services</link>
		<comments>http://alexyz.com/wordpress-akismet-services/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 23:27:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=204</guid>
		<description><![CDATA[WordPress comes with the Akismet plugin. Use it. Reference: http://akismet.com/ How: Create a dashboard.wordpress.com account  if you don&#8217;t already have one, &#38; find your API key then in your blog, activate the Akismet plugin, enter your key, reap the rewards.]]></description>
			<content:encoded><![CDATA[<p>WordPress comes with the Akismet plugin.</p>
<p>Use it.</p>
<p>Reference: <a href="http://akismet.com/">http://akismet.com/</a></p>
<p>How:</p>
<p>Create a <a href="http://dashboard.wordpress.com">dashboard.wordpress.com</a> account  if you don&#8217;t already have one, &amp; find your API key</p>
<p>then in your blog, activate the Akismet plugin, enter your key, reap the rewards.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-akismet-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This Blog proudly uses the following Widget Plugins</title>
		<link>http://alexyz.com/this-blog-proudly-uses-the-following-widget-plugins/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=this-blog-proudly-uses-the-following-widget-plugins</link>
		<comments>http://alexyz.com/this-blog-proudly-uses-the-following-widget-plugins/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:54:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=196</guid>
		<description><![CDATA[Google AdSense Widget http://wordpress.smullindesign.com/plugins/google-adsense-widget Google XML Sitemaps http://www.arnebrachhold.de/redir/sitemap-home/ Simple Hit Counter http://jungwirths.com/2009/03/simple-wordpress-hit-counter-plugin/ WP Simple Paypal Donation http://www.tipsandtricks-hq.com/?page_id=942 Exec PHP http://bluesome.net/post/2005/08/18/50/ Deactivate Visual Editor http://plugindve.wordpress.com/ Google Analytics for WordPress http://yoast.com/wordpress/analytics/#utm_source=wordpress&#038;utm_medium=plugin&#038;utm_campaign=google-analytics-for-wordpress]]></description>
			<content:encoded><![CDATA[<p><strong>Google AdSense Widget</strong></p>
<p><a href="http://wordpress.smullindesign.com/plugins/google-adsense-widget">http://wordpress.smullindesign.com/plugins/google-adsense-widget</a></p>
<p><strong>Google XML Sitemaps</strong></p>
<p><a href="http://www.arnebrachhold.de/redir/sitemap-home/">http://www.arnebrachhold.de/redir/sitemap-home/</a></p>
<p><strong>Simple Hit Counter</strong></p>
<p><a href="http://jungwirths.com/2009/03/simple-wordpress-hit-counter-plugin/">http://jungwirths.com/2009/03/simple-wordpress-hit-counter-plugin/</a></p>
<p><strong>WP Simple Paypal Donation</strong></p>
<p><a href="http://www.tipsandtricks-hq.com/?page_id=942">http://www.tipsandtricks-hq.com/?page_id=942</a></p>
<p><strong>Exec PHP</strong></p>
<p><a href="http://bluesome.net/post/2005/08/18/50/">http://bluesome.net/post/2005/08/18/50/</a></p>
<p><strong>Deactivate Visual Editor</strong></p>
<p><a href="http://plugindve.wordpress.com/">http://plugindve.wordpress.com/</a></p>
<p><strong>Google Analytics for WordPress</strong></p>
<p><a href="http://yoast.com/wordpress/analytics/#utm_source=wordpress&#038;utm_medium=plugin&#038;utm_campaign=google-analytics-for-wordpress">http://yoast.com/wordpress/analytics/#utm_source=wordpress&#038;utm_medium=plugin&#038;utm_campaign=google-analytics-for-wordpress</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/this-blog-proudly-uses-the-following-widget-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress SESSIONS</title>
		<link>http://alexyz.com/wordpress-sessions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-sessions</link>
		<comments>http://alexyz.com/wordpress-sessions/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 12:36:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=59</guid>
		<description><![CDATA[simply add: session_start(); to the start of: wp-config.php right at the top, after &#60;?]]></description>
			<content:encoded><![CDATA[<p>simply add:</p>
<p><span style="color: #ff0000;">session_start();</span></p>
<p>to the start of:</p>
<p>wp-config.php</p>
<p>right at the top, after <span style="color: #ff0000;">&lt;?</span></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/wordpress-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If homepage : do a second &#8220;Loop&#8221; to show current article &#8220;post&#8221; WordPress</title>
		<link>http://alexyz.com/if-homepage-do-a-second-loop-to-show-current-article-post-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=if-homepage-do-a-second-loop-to-show-current-article-post-wordpress</link>
		<comments>http://alexyz.com/if-homepage-do-a-second-loop-to-show-current-article-post-wordpress/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 12:35:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://alexyz.com/?p=56</guid>
		<description><![CDATA[&#60;? if(is_front_page()) : ?&#62; &#60;? query_posts(&#8216;showposts=1&#8242;); ?&#62; &#60;?php while (have_posts()): the_post(); ?&#62; &#60;h2&#62;&#60;?php the_title(); ?&#62;&#60;/h2&#62; &#60;?php the_excerpt(); ?&#62; &#60;p&#62;&#60;a href=&#8221;&#60;?php the_permalink(); ?&#62;&#8220;&#62;Read more&#8230;&#60;/a&#62;&#60;/p&#62; &#60;?php endwhile; ?&#62; &#60;? endif; ?&#62;]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">&lt;? if(is_front_page()) : ?&gt;<br />
&lt;? query_posts(&#8216;showposts=1&#8242;); ?&gt;<br />
&lt;?php while (have_posts()): the_post(); ?&gt;<br />
<span style="color: #888888;">&lt;<span style="color: #000000;">h2&gt;</span></span>&lt;?php the_title(); ?&gt;<span style="color: #000000;">&lt;/h2&gt;</span><br />
&lt;?php the_excerpt(); ?&gt;<br />
<span style="color: #000000;">&lt;p&gt;</span><span style="color: #000000;">&lt;a href=&#8221;</span>&lt;?php the_permalink(); ?&gt;<span style="color: #000000;">&#8220;&gt;Read more&#8230;&lt;/a&gt;&lt;/p&gt;</span><br />
&lt;?php endwhile; ?&gt;<br />
&lt;? endif; ?&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://alexyz.com/if-homepage-do-a-second-loop-to-show-current-article-post-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

