<?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>Oren Yomtov&#039;s Website &#187; WordPress</title>
	<atom:link href="http://orenyomtov.com/topic/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://orenyomtov.com</link>
	<description>web development and stuff</description>
	<lastBuildDate>Fri, 13 Jan 2012 07:22:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3-RC2-19567</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress 3 and You</title>
		<link>http://orenyomtov.com/wordpress-3-and-you.html</link>
		<comments>http://orenyomtov.com/wordpress-3-and-you.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 13:28:03 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Lecture]]></category>
		<category><![CDATA[slideshare]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[wordpress 3]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=548</guid>
		<description><![CDATA[<p>Yesterday, I attended <a target="_blank" href="http://www.wordcampjerusalem.com/">WordCamp Jerusalem 2010</a> and lectured about WordPress 3.</p>
<p><a target="_blank" href="http://www.slideshare.net/Ornani/wordpress-3">My presentation</a> included some very handy code snippets, links and information so I decided to upload it to <a target="_blank" href="http://www.slideshare.net/">slideshare</a> for anyone to catch up.</p>
<div style="width:425px;margin-bottom:10px" id="__ss_5137944"></div>
<p>The video:</p>
<p></p>
<strong>Search terms:</strong><ul><li>wordpress</li>... <a href="http://orenyomtov.com/wordpress-3-and-you.html" class="read_more">Learn more...</a></ul>]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I attended <a target="_blank" href="http://www.wordcampjerusalem.com/">WordCamp Jerusalem 2010</a> and lectured about WordPress 3.</p>
<p><a target="_blank" href="http://www.slideshare.net/Ornani/wordpress-3">My presentation</a> included some very handy code snippets, links and information so I decided to upload it to <a target="_blank" href="http://www.slideshare.net/">slideshare</a> for anyone to catch up.</p>
<div style="width:425px;margin-bottom:10px" id="__ss_5137944"><object id="__sse5137944" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpress3-100906064424-phpapp02&#038;stripped_title=wordpress-3" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse5137944" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpress3-100906064424-phpapp02&#038;stripped_title=wordpress-3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></div>
<p>The video:</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/lKRT3TI4Xnk?fs=1&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lKRT3TI4Xnk?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<strong>Search terms:</strong><ul><li>wordpress</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/wordpress-3-and-you.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Get the Direct Link to a Post&#8217;s Featured Image</title>
		<link>http://orenyomtov.com/get-the-direct-link-to-a-posts-featured-image.html</link>
		<comments>http://orenyomtov.com/get-the-direct-link-to-a-posts-featured-image.html#comments</comments>
		<pubDate>Sat, 12 Jun 2010 20:47:05 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Featured Image]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[The Loop]]></category>
		<category><![CDATA[Thumbnail]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=495</guid>
		<description><![CDATA[<p>I used WordPress&#8217; <a target="_blank" href="http://codex.wordpress.org/Template_Tags/get_the_post_thumbnail">get_the_post_thumbnail()</a> function in order to output the current post&#8217;s featured image. It was great, until I had to link to the featured image. To do that, I needed the value of the SRC attribute of that IMG tag, i.e., the direct link to the featured image.</p>
<p>Thanks to <a target="_blank" href="http://phpxref.ftwr.co.uk/wordpress/nav.html?_functions/index.html">phpxref</a>, and the <a target="_blank" href="http://codex.wordpress.org/Function_Reference">WordPress Codex</a>, I managed ... <a href="http://orenyomtov.com/get-the-direct-link-to-a-posts-featured-image.html" class="read_more">Learn more...</a></p>]]></description>
			<content:encoded><![CDATA[<p>I used WordPress&#8217; <a target="_blank" href="http://codex.wordpress.org/Template_Tags/get_the_post_thumbnail">get_the_post_thumbnail()</a> function in order to output the current post&#8217;s featured image. It was great, until I had to link to the featured image. To do that, I needed the value of the SRC attribute of that IMG tag, i.e., the direct link to the featured image.</p>
<p>Thanks to <a target="_blank" href="http://phpxref.ftwr.co.uk/wordpress/nav.html?_functions/index.html">phpxref</a>, and the <a target="_blank" href="http://codex.wordpress.org/Function_Reference">WordPress Codex</a>, I managed to write a small useful function just for that. Without further ado, I present to you, the function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> oy_get_direct_thumbnail_link<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post_id</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">NULL</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$post_id</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">NULL</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$post_id</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$id</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$post_id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$src</span> <span style="color: #339933;">=</span> wp_get_attachment_image_src<span style="color: #009900;">&#40;</span>get_post_thumbnail_id<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'full'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$src</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$src</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$src</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The first and only parameter ($post_id) is optional. If used inside <a target="_blank" href="http://codex.wordpress.org/The_Loop">the loop</a>, it fetches the current post&#8217;s ID by itself.</p>
<strong>Search terms:</strong><ul><li>get post featured image</li><li>get featured image</li><li>featured image link</li><li>get featured image from post</li><li>post featured image</li><li>get featured image of post</li><li>get featured image post</li><li>get_posts featured image</li><li>get_post featured image</li><li>get_post_featured_image</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/get-the-direct-link-to-a-posts-featured-image.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is WordPress?</title>
		<link>http://orenyomtov.com/what-is-wordpress.html</link>
		<comments>http://orenyomtov.com/what-is-wordpress.html#comments</comments>
		<pubDate>Mon, 10 May 2010 18:15:45 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Lecture]]></category>
		<category><![CDATA[StartupSeeds]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=490</guid>
		<description><![CDATA[If the question intrigues you, this video of me lecturing about it will probably answer it for you. This video was shot last month in a user-generated content meeting organized by <a href="http://www.startupseeds.com/">StartupSeeds</a>.

<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/Q0cSH4w0UjU&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Q0cSH4w0UjU&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

The lecture is in Hebrew but there are English subtitles available.]]></description>
			<content:encoded><![CDATA[<p>If the question intrigues you, this video of me lecturing about it will probably answer it for you. This video was shot last month in a user-generated content meeting organized by <a target="_blank" href="http://www.startupseeds.com/">StartupSeeds</a>.</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/Q0cSH4w0UjU&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Q0cSH4w0UjU&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x2b405b&#038;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p>The lecture is in Hebrew but there are English subtitles available.</p>
<strong>Search terms:</strong><ul><li>startupseeds</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/what-is-wordpress.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>YouTube Thumbnailer v1.1</title>
		<link>http://orenyomtov.com/youtube-thumbnailer-v1-1.html</link>
		<comments>http://orenyomtov.com/youtube-thumbnailer-v1-1.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:43:36 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Bug Reports]]></category>
		<category><![CDATA[Version Upgrade]]></category>
		<category><![CDATA[wordpress plugin developer]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=418</guid>
		<description><![CDATA[<p>First, thank you for the <a href="http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html#comments">bug reports</a>. Without them, new &#038; enhanced versions simply won&#8217;t come out.</p>
<p>The plugin now has better video detection capabilities, and a serious bug regarding the auto thumbnailing feature is fixed.</p>
<p>You can <a target="_blank" href="http://downloads.wordpress.org/plugin/youtube-thumbnailer.zip">download</a> the new version at:<br />
<a target="_blank" href="http://wordpress.org/extend/plugins/youtube-thumbnailer/">http://wordpress.org/extend/plugins/youtube-thumbnailer/</a></p>
<p>Any bug reports, feature requests or comments are welcomed in the comments section below.</p>
<strong>Search ... <a href="http://orenyomtov.com/youtube-thumbnailer-v1-1.html" class="read_more">Learn more...</a></strong>]]></description>
			<content:encoded><![CDATA[<p>First, thank you for the <a href="http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html#comments">bug reports</a>. Without them, new &#038; enhanced versions simply won&#8217;t come out.</p>
<p>The plugin now has better video detection capabilities, and a serious bug regarding the auto thumbnailing feature is fixed.</p>
<p>You can <a target="_blank" href="http://downloads.wordpress.org/plugin/youtube-thumbnailer.zip">download</a> the new version at:<br />
<a target="_blank" href="http://wordpress.org/extend/plugins/youtube-thumbnailer/">http://wordpress.org/extend/plugins/youtube-thumbnailer/</a></p>
<p>Any bug reports, feature requests or comments are welcomed in the comments section below.</p>
<strong>Search terms:</strong><ul><li>josh is yom tov</li><li>niema bryson</li><li>youtube widget with thumbnails</li><li>get and copy youtube thumbnail to folder</li><li>youtube thumbnailer plugin high quality</li><li>youtube thumbnail widget</li><li>youtube thumbnailer size</li><li>youtube thumb high res</li><li>youtube hd thumbnail</li><li>youtube embed thumbnails widget</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/youtube-thumbnailer-v1-1.html/feed</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>Moving to a dot com domain</title>
		<link>http://orenyomtov.com/moving-to-a-dot-com-domain.html</link>
		<comments>http://orenyomtov.com/moving-to-a-dot-com-domain.html#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:27:33 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Domains]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google Webmaster Tools]]></category>
		<category><![CDATA[Transfer]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=409</guid>
		<description><![CDATA[<p><a target="_blank" href="http://orenyomtov.com/downloads/dot-com.jpg"><img src="http://orenyomtov.com/downloads/dot-com.jpg" alt="dot com" title="dot com" width="349" height="230" class="alignright size-full wp-image-423" /></a>Have a look at your browser&#8217;s address bar &#8211; your sight is just fine. You actually are on orenyomtov<strong>.com</strong> as opposed to this morning, when this website lived under the <a href="http://en.wikipedia.org/wiki/.info">.info</a> <abbr title="Top Level Domain">TLD</abbr>.</p>
<p>It has been quite a long time since I made the decision to move to the new domain. But there were two drawbacks which delayed the ... <a href="http://orenyomtov.com/moving-to-a-dot-com-domain.html" class="read_more">Learn more...</a></p>]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://orenyomtov.com/downloads/dot-com.jpg"><img src="http://orenyomtov.com/downloads/dot-com.jpg" alt="dot com" title="dot com" width="349" height="230" class="alignright size-full wp-image-423" /></a>Have a look at your browser&#8217;s address bar &#8211; your sight is just fine. You actually are on orenyomtov<strong>.com</strong> as opposed to this morning, when this website lived under the <a href="http://en.wikipedia.org/wiki/.info">.info</a> <abbr title="Top Level Domain">TLD</abbr>.</p>
<p>It has been quite a long time since I made the decision to move to the new domain. But there were two drawbacks which delayed the domain transfer. The first one is lack of time, and the second one is&#8230; Well, my laziness.</p>
<p>Anyways, I thought I would share some of the steps I took in order to move the website to the new domain. I was lucky enough that I didn’t have to change hosts. Doing that may have required some additional steps.</p>
<ol>
<li>I <a target="_blank" href="http://www.godaddy.com/default.aspx">bought</a> the new domain and linked it to my hosting.</li>
<li>I downloaded the <a target="_blank" href="http://wordpress.org/download/">latest WordPress installation</a> and uploaded it into the new domain by <abbr title="File Transfer Protocol">FTP</abbr> (<a href="http://orenyomtov.com/filezilla-vs-flashfxp.html">Looking for an FTP client?</a>).</li>
<li>I copied the <code>wp-content</code> folder. And in my case, the <a href="http://orenyomtov.com/downloads/">&#8220;downloads&#8221; folder</a> which is the folder I chose to store the uploads in (Default is <code>wp-content/uploads</code>).</li>
<li>I also copied the <code>wp-config.php</code> file and the <code>.htaccess</code> file.</li>
<li>I used the <a target="_blank" href="http://wordpress.org/extend/plugins/search-and-replace/">Search and Replace WordPress plugin</a> to replace &#8220;orenyomtov.info&#8221; with &#8220;orenyomtov.com&#8221; in the database.</li>
<li>I notified Google of the domain change in <a target="_blank" href="http://www.google.com/webmasters/tools/">Google Webmaster Tools</a>.</li>
<li>I exported a new sitemap using the <a target="_blank" href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemap Generator plugin</a> and submitted it to Google Webmaster Tools.</li>
<li>I opened a new <a target="_blank" href="http://www.google.com/analytics/">Google Analytics</a> account and deployed the new tracking code in the theme I copied in step 3.</li>
<li>I edited the old .htaccess file to contain only:<br />
<code>RewriteEngine on<br />
RewriteRule (.*) http://orenyomtov.com/$1 [R=301,L]</code></li>
<li>I updated my <a target="_blank" href="http://feedburner.google.com/">FeedBurner</a> account and all other similar services.</li>
<li>I updated my website to the new URL in all of my favorite social platforms (<a target="_blank" href="http://twitter.com/orenyomtov">@orenyomtov</a>) and forums.</li>
<li><a target="_blank" href="http://twitter.com/orenyomtov/status/8072391263">Twit twit</a>.</li>
<li>And then I began writing this post.</li>
</ol>
<p>The move didn&#8217;t take as long as I expected it to take. Even though it does seem a little complicated after writing it all down.</p>
<p>I hope that your move will be as smooth as mine. Good luck, Oren.</p>
<strong>Search terms:</strong><ul><li>com domain</li><li>DOT COM!</li><li>dot coms</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/moving-to-a-dot-com-domain.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>YouTube Thumbnailer Plugin Should Now Actually Work</title>
		<link>http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html</link>
		<comments>http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html#comments</comments>
		<pubDate>Sun, 10 Jan 2010 23:48:57 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[Thumbnail]]></category>
		<category><![CDATA[Version Upgrade]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=383</guid>
		<description><![CDATA[<p>I&#8217;ve received many emails complaining that the plugin does not recognize YouTube videos. Because of lack of time, I delayed the update until now.</p>
<p>I just released an update to the plugin which should solve most of the issues that I was contacted about.</p>
<p>Go ahead and <a target="_blank" href="http://downloads.wordpress.org/plugin/youtube-thumbnailer.zip">download</a> the new version:<br />
<a target="_blank" href="http://wordpress.org/extend/plugins/youtube-thumbnailer/">http://wordpress.org/extend/plugins/youtube-thumbnailer/</a></p>
<strong>Search terms:</strong><ul><li>thumbnailforexcerpts plugin youtube</li><li>Youtube Thumbnailer Thumbnail </li>... <a href="http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html" class="read_more">Learn more...</a></ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received many emails complaining that the plugin does not recognize YouTube videos. Because of lack of time, I delayed the update until now.</p>
<p>I just released an update to the plugin which should solve most of the issues that I was contacted about.</p>
<p>Go ahead and <a target="_blank" href="http://downloads.wordpress.org/plugin/youtube-thumbnailer.zip">download</a> the new version:<br />
<a target="_blank" href="http://wordpress.org/extend/plugins/youtube-thumbnailer/">http://wordpress.org/extend/plugins/youtube-thumbnailer/</a></p>
<strong>Search terms:</strong><ul><li>thumbnailforexcerpts plugin youtube</li><li>Youtube Thumbnailer Thumbnail custom field name</li><li>how does a thumb nailer work?</li><li>youtube video thumbnail does not show up in facebook</li><li>youtube thumbnailer plugin settings wordpress</li><li>youtube thumbnail plugin</li><li>wp youtube plugin thumbnailer</li><li>wordpress youtube thumbnail embed preg</li><li>wordpress video embed custom field thumbnail</li><li>wordpress plugin youtube thumbnail to facebook</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>WordPress Templates Complete Guide &amp; Tips</title>
		<link>http://orenyomtov.com/wordpress-templates-complete-guide-tips.html</link>
		<comments>http://orenyomtov.com/wordpress-templates-complete-guide-tips.html#comments</comments>
		<pubDate>Fri, 18 Sep 2009 12:30:26 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Custom Templates]]></category>
		<category><![CDATA[WordPress Core]]></category>
		<category><![CDATA[WordPress Templates]]></category>
		<category><![CDATA[wordpress theme developer]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[wp guide]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=298</guid>
		<description><![CDATA[<p>A theme consists of many files, this can get very confusing very fast. What files are needed? What files runs when and why? Here are the explanations and tips about WordPress template files.</p>
<p>First things first, what is a template exactly? A template is a PHP file that is a part of a theme. For example, there is a template ... <a href="http://orenyomtov.com/wordpress-templates-complete-guide-tips.html" class="read_more">Learn more...</a></p>]]></description>
			<content:encoded><![CDATA[<p>A theme consists of many files, this can get very confusing very fast. What files are needed? What files runs when and why? Here are the explanations and tips about WordPress template files.</p>
<p>First things first, what is a template exactly? A template is a PHP file that is a part of a theme. For example, there is a template for displaying the home page, one for displaying pages and another one for displaying posts.</p>
<h3>What Are The Existing WordPress Tempaltes?</h3>
<p>Here is a list of the existing WordPress templates that can be used in themes:</p>
<ul>
<li><strong>index.php</strong> &#8211; The master template.  If a certain template file does is not found, this one is being used.</li>
<li><strong>home.php</strong> &#8211; Displays the <a href="http://orenyomtov.com/">home page</a>.</li>
<li><strong>page.php</strong> &#8211; Displays page&#8217;s page (It displays my contact page).</li>
<li><strong>single.php</strong> &#8211; Displays the post&#8217;s page (This is what you are now viewing if you are reading this <a href="http://orenyomtov.com/wordpress-templates-complete-guide-tips.html">here</a>).</li>
<li><strong>author.php</strong> &#8211; Displays the author page. This is not such a common template as most themes don&#8217;t use author pages.</li>
<li><strong>tag.php</strong> &#8211; Displays the posts which have a specific tag. (e.g. <a href="http://orenyomtov.com/yomtov/ftp">FTP</a>)</li>
<li><strong>category.php</strong> &#8211; Displays posts from a specific category. (e.g. <a href="http://orenyomtov.com/oren/wordpress">WordPress</a>)</li>
<li><strong>date.php</strong> &#8211; Displays posts from a specific time range.</li>
<li><strong>archive.php</strong> &#8211; Used if tag.php,category.php or date.php is not found.</li>
<li><strong>search.php</strong> &#8211; Displays search results. (e.g. <a href="http://orenyomtov.com/?s=How+To">How To</a>)</li>
<li><strong>404.php</strong> &#8211; When WordPress sends a 404 header. (When it <a href="http://orenyomtov.com/thereisnosuchpage" rel="nofollow">cant find</a> something)</li>
<li>image.php,video.php,audio.php,application.php or any other first part of the attachment&#8217;s <a target="_blank" href="http://www.google.com/search?q=MIME+type">MIME type</a> &#8211; Attachment.</li>
<li><strong>attachment.php</strong> &#8211; If one of the last templates (image.php&#8230;) are not found.</li>
</ul>
<p>Here is a very useful image provided by <a target="_blank" href="http://codex.wordpress.org/Template_Hierarchy">WordPress Codex</a> (click to enlarge):</p>
<p><a href="http://orenyomtov.com/downloads/Template_Hierarchy.png" title="WordPress Template Hierarchy"><img src="http://orenyomtov.com/downloads/Template_Hierarchy.png" alt="WordPress Template Hierarchy" width="600" height="478" class="alignnone size-full wp-image-299" /></a></p>
<h3>Custom Templates</h3>
<p>There are two main types of custom WordPress templates.</p>
<p>The first one are templates that WordPress looks for automatically, and if one is found it will be used. What the heck am I talking about?<br />
If you have a category called &#8220;News&#8221; with the ID of 512 and you want the archive page of that category to have it&#8217;s own unique template you can create a new template file called <code>category-512.php</code> in the theme&#8217;s folder. And WordPress will use it.</p>
<p>This is the list of custom wordpress templates you can use:</p>
<ul>
<li>category-<strong>id</strong>.php</li>
<li>tag-<strong>slug</strong>.php</li>
<li><strong>pagename</strong>.php</li>
<li><strong>firstpartoftheattachmentsMIMEtype</strong>.php</li>
</ul>
<p><img src="http://orenyomtov.com/downloads/wordpress-custom-template.jpg" alt="WordPress Custom Template Drop Down" title="WordPress Custom Template Drop Down" width="284" height="454" class="alignright size-full wp-image-302" /></p>
<p>Now for the second type of WordPress custom templates.</p>
<p>Let&#8217;s say you have more then one page* you want to be displayed in a different way then the others. How do you do that?<br />
Create a new file called <code>whatever.php</code> at your theme&#8217;s folder and inside write whatever you want instead of <code>single.php</code> or <code>index.php</code> (depending what displays the single posts at your theme).<br />
Add this comment to the top of the file:</p>
<p><code>&lt;?php<br />
/*<br />
Template Name: The Whatever Template Yo<br />
*/<br />
?&gt;</code></p>
<p><span class="smaller">(Of course change <code>The Whatever Template Yo</code> to the new template&#8217;s name)</span></p>
<p>Now edit (or create) the pages which you want to use this template and in the right side pick the desired template from the drop down menu. Just like in the screenshot at the right side.</p>
<p>*<span class="smaller">If you want to do this for posts rather then pages then you will find the <a target="_blank" href="http://wordpress.org/extend/plugins/custom-post-template/">Custom Post Template</a> plugin very useful.</span></p>
<p>Any questions/corrections? Comments are always welcome.</p>
<strong>Search terms:</strong><ul><li>wordpress template guide</li><li>hierarchy menu php</li><li>website hierarchy template</li><li>wordpress attachment templates</li><li>wordpress tempaltes</li><li>wordpress single php file not found</li><li>wordpress search results group by</li><li>wordpress guide templates theme listing</li><li>wordpress $mimetype php theme</li><li>TUTORIAL actionscript 3 Song Lyrics</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/wordpress-templates-complete-guide-tips.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8220;jQuery is not defined&#8221; WordPress Error Fix</title>
		<link>http://orenyomtov.com/jquery-is-not-defined-wordpress-error-fix.html</link>
		<comments>http://orenyomtov.com/jquery-is-not-defined-wordpress-error-fix.html#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:43:08 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Admin Panel]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Solution]]></category>
		<category><![CDATA[WordPress Core]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=288</guid>
		<description><![CDATA[<p><img src="http://orenyomtov.com/downloads/jquery-firebug.jpg" alt="jQuery is not defined - FireBug" title="jQuery is not defined - FireBug" width="281" height="66" class="alignleft size-full wp-image-289" /><br />
Do you get &#8220;jQuery is not defined&#8221; as an error after a fresh WordPress Install? JavaScript not working at your admin panel? Don&#8217;t worry, I have the solution.</p>
<p>After installing two new WordPress installations with defective admin JavaScript that won&#8217;t allow me to</p>
<ul>
<li>Open the menus (in the admin panel&#8217;s left side)</li>
<li>See the post editors toolbar</li>
<li>Install new plugins</li>... <a href="http://orenyomtov.com/jquery-is-not-defined-wordpress-error-fix.html" class="read_more">Learn more...</a></ul>]]></description>
			<content:encoded><![CDATA[<p><img src="http://orenyomtov.com/downloads/jquery-firebug.jpg" alt="jQuery is not defined - FireBug" title="jQuery is not defined - FireBug" width="281" height="66" class="alignleft size-full wp-image-289" /><br />
Do you get &#8220;jQuery is not defined&#8221; as an error after a fresh WordPress Install? JavaScript not working at your admin panel? Don&#8217;t worry, I have the solution.</p>
<p>After installing two new WordPress installations with defective admin JavaScript that won&#8217;t allow me to</p>
<ul>
<li>Open the menus (in the admin panel&#8217;s left side)</li>
<li>See the post editors toolbar</li>
<li>Install new plugins</li>
<li>Install new themes</li>
</ul>
<p>I understood I was having some kind problem with the Javascript jQuery library.</p>
<p>I deactivated all the plugins and nothing happened. Then I started looking at the source code and googeling for quite a long time. After some serious research I discovered what caused the issue.</p>
<h3>The Problem</h3>
<p>While uploading the WordPress installation files onto the server I had some issues that cause some of the JavaScript files to not be uploaded / be corrupted.</p>
<h3>The Solution</h3>
<p><img src="http://orenyomtov.com/downloads/wp-includes-js.jpg" alt="wp-includes/js" title="wp-includes/js" width="156" height="130" class="alignright size-full wp-image-294" /><br />
Re upload the <code>wp-includes\js</code> folder and overwrite whatever is in there.<br />
That&#8217;s what fixed it for me.</p>
<p>I hope this helped someone, if it does, or does not &#8211; comment to help or get help.</p>
<strong>Search terms:</strong><ul><li>wordpress jquery is not defined</li><li>jQuery is not defined wordpress</li><li>jquery is not defined</li><li>$ is not defined</li><li>wordpress jquery not defined</li><li>jquery is not defined error</li><li>jquery not defined wordpress</li><li>wordpress jquery error</li><li>wordpress admin jquery is not defined</li><li>$ is not defined error</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/jquery-is-not-defined-wordpress-error-fix.html/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>YouTube Thumbnailer</title>
		<link>http://orenyomtov.com/youtube-thumbnailer.html</link>
		<comments>http://orenyomtov.com/youtube-thumbnailer.html#comments</comments>
		<pubDate>Fri, 21 Aug 2009 09:52:29 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[Thumbnail]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=249</guid>
		<description><![CDATA[<p><img src="http://orenyomtov.com/downloads/youtube-new-logo.jpg" alt="YouTube New Logo" title="YouTube New Logo" width="115" height="60" class="alignright size-full wp-image-259" />I have received a request from someone that wants even more from my <a href="http://orenyomtov.com/oren/projects/wordpress-plugins/mass-custom-fields-manager">WordPress Custom Fields Plugin</a>. He has a category called &#8220;videos&#8221; which has posts with YouTube videos embedded with some plugin. He wants to put the videos thumbnail as the post&#8217;s thumbnail.</p>
<p><del datetime="2010-01-10T23:25:19+00:00">First, how is the video embedded in the post? It uses the following syntax:<br />
<code></code></del></p>
<p><ins datetime="2010-01-10T23:25:19+00:00">Now </ins>... <a href="http://orenyomtov.com/youtube-thumbnailer.html" class="read_more">Learn more...</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://orenyomtov.com/downloads/youtube-new-logo.jpg" alt="YouTube New Logo" title="YouTube New Logo" width="115" height="60" class="alignright size-full wp-image-259" />I have received a request from someone that wants even more from my <a href="http://orenyomtov.com/oren/projects/wordpress-plugins/mass-custom-fields-manager">WordPress Custom Fields Plugin</a>. He has a category called &#8220;videos&#8221; which has posts with YouTube videos embedded with some plugin. He wants to put the videos thumbnail as the post&#8217;s thumbnail.</p>
<p><del datetime="2010-01-10T23:25:19+00:00">First, how is the video embedded in the post? It uses the following syntax:<br />
<code><!--YouTube Error: bad URL entered--></code></del></p>
<p><ins datetime="2010-01-10T23:25:19+00:00">Now you can embed it like you would normally do.</ins></p>
<p>Second, how do we get the thumbnail itself after we extracted the video key? We build the image&#8217;s URL with the following syntax:<br />
<code>http://i2.ytimg.com/vi/$video_key/default.jpg</code></p>
<p>Now, how do we put all of this together into a plugin that inserts the thumbnails?<br />
You don&#8217;t have to because I have already done it for you.</p>
<ul>
<li>Visit the plugin page of <a target="_blank" href="http://wordpress.org/extend/plugins/youtube-thumbnailer/">YouTube Thumbnailer</a></li>
<li><a target="_blank" href="http://downloads.wordpress.org/plugin/youtube-thumbnailer.zip">Download the plugin here</a></li>
<li>Unzip it&#8217;s contents</li>
<li>Upload the folder you unzipped to <code>/wp-content/plugins/</code> using your favorite FTP client.</li>
<li>Go to your admin panel and activate the plugin called &#8220;Youtube Thumbnailer&#8221;</li>
</ul>
<p>This plugin runs through the posts in your blog and if it finds a YouTube video embedded in a post it sets the thumbnail to be the video&#8217;s thumbnail.<br />
That&#8217;s it, have fun playing with the configuration.</p>
<p>If you encounter any issues please comment/contact me.</p>
<strong>Search terms:</strong><ul><li>youtube thumbnailer</li><li>youtube thumbnail script</li><li>youtube embed custom thumbnail</li><li>wordpress plugin youtube thumbnail</li><li>youtube thumbnail script code</li><li>youtube thumbnailer plugin</li><li>Youtube Thumbnailer wordpress</li><li>youtube thumb script</li><li>wordpress youtube script</li><li>custom thumbnail for embedded youtube</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/youtube-thumbnailer.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Mass Custom Fields Manager Got to The 1000 Downloads Milestone</title>
		<link>http://orenyomtov.com/mass-custom-fields-manager-got-to-the-1000-downloads-milestone.html</link>
		<comments>http://orenyomtov.com/mass-custom-fields-manager-got-to-the-1000-downloads-milestone.html#comments</comments>
		<pubDate>Sun, 02 Aug 2009 17:18:34 +0000</pubDate>
		<dc:creator>Oren Yomtov</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[mass]]></category>
		<category><![CDATA[Milestone]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://orenyomtov.com/?p=230</guid>
		<description><![CDATA[<p><img src="http://orenyomtov.com/downloads/1000-downloads.png" alt="1000 Downloads on the WordPress Plugin Directory" title="1000 Downloads on the WordPress Plugin Directory" width="162" height="154" class="alignleft size-full wp-image-231" /><br />
As you can see in the <a target="_blank" href="http://wordpress.org/extend/plugins/mass-custom-fields-manager/">plugin</a>&#8216;s <a target="_blank" href="http://wordpress.org/extend/plugins/mass-custom-fields-manager/stats/">stats page</a>, It currently has 1050 downloads!</p>
<p>Although the number may be not as big as other plugins (<a target="_blank" href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/stats/">All in On SEO</a> got over 2.5 million downloads), it means a lot to me. Every time you see numbers on the internet you don&#8217;t really think about them as you would ... <a href="http://orenyomtov.com/mass-custom-fields-manager-got-to-the-1000-downloads-milestone.html" class="read_more">Learn more...</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://orenyomtov.com/downloads/1000-downloads.png" alt="1000 Downloads on the WordPress Plugin Directory" title="1000 Downloads on the WordPress Plugin Directory" width="162" height="154" class="alignleft size-full wp-image-231" /><br />
As you can see in the <a target="_blank" href="http://wordpress.org/extend/plugins/mass-custom-fields-manager/">plugin</a>&#8216;s <a target="_blank" href="http://wordpress.org/extend/plugins/mass-custom-fields-manager/stats/">stats page</a>, It currently has 1050 downloads!</p>
<p>Although the number may be not as big as other plugins (<a target="_blank" href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/stats/">All in On SEO</a> got over 2.5 million downloads), it means a lot to me. Every time you see numbers on the internet you don&#8217;t really think about them as you would outside the monitor. When viewing <a target="_blank" href="http://www.youtube.com">YouTube</a> videos, if I see a video that has less then 5k views most of the times I won&#8217;t enter it and try to find another one with millions of views.</p>
<p>But when you think about the actual numbers it&#8217;s a <strong>huge</strong> amount of people sitting on their chair at home or at work, entering YouTube and watching the video. The same goes to plugin downloads, It&#8217;s really cool to know that my plugin helped over 300 (<a href="http://orenyomtov.com/plugin-download-counter-does-it-lie.html">?</a>) other people around the world that have their own website.</p>
<p><ins datetime="2010-01-18T09:52:09+00:00">Update: It how has over 3000 downloads!</ins></p>
<strong>Search terms:</strong><ul><li>website hierarchy</li><li>how to change all the thumbnails custom field adress</li><li>JavaScript error: Profile is not defined</li><li>remove custom fields with mass custom fields manager</li><li>sitemap templates</li><li>wordpress plugin bulk switch custom field</li><li>wordpress youtube thumbnail not showing</li></ul>]]></content:encoded>
			<wfw:commentRss>http://orenyomtov.com/mass-custom-fields-manager-got-to-the-1000-downloads-milestone.html/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: orenyomtov.com @ 2012-02-09 12:39:31 -->
