<?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>Pippin&#039;s Pages &#187; Wordpress</title> <atom:link href="http://pippinspages.com/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://pippinspages.com</link> <description>{ Coding everyday keeps the bugs away }</description> <lastBuildDate>Wed, 07 Dec 2011 22:09:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Better Related Posts Widget</title><link>http://pippinspages.com/wordpress/better-related-posts-widget/</link> <comments>http://pippinspages.com/wordpress/better-related-posts-widget/#comments</comments> <pubDate>Sat, 06 Aug 2011 16:38:40 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[custom post types]]></category> <category><![CDATA[related]]></category> <category><![CDATA[wordpress plugin]]></category><guid isPermaLink="false">http://pippinspages.com/?p=2120</guid> <description><![CDATA[This plugin provides an advanced widget that allows you to display similar, or related, posts in any widgetized sidebar. Related posts are selected using tags, categories, or any custom taxonomy. When searching for related posts, the widget will choose posts &#8230; <a href="http://pippinspages.com/wordpress/better-related-posts-widget/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>This plugin provides an advanced widget that allows you to display similar, or related, posts in any widgetized sidebar.</p><p>Related posts are selected using tags, categories, or any custom taxonomy. When searching for related posts, the widget will choose posts that share between 1-3 like terms with the currently viewed post.</p><p><span id="more-2120"></span><br /> Works with all custom post types!</p><h3>Features:</h3><ul><li>12 Options to configure on a per-widget basis</li><li>Multiple instances of the same widget</li><li>Widget Title</li><li>Display related post titles</li><li>Option to display the post authors</li><li>Option to show post publication dates</li><li>Option to show post comment counts</li><li>Option to show post text excerpts</li><li>Option to control the length of the post excerpt</li><li>Option to show post thumbnails</li><li>Ability to control size of post thumbnails</li><li>Ability to set float of post thumbnails</li><li>Choose the number of related items to show</li><li>Select the taxonomy on which to relate posts</li><li>Widget shown only on single post pages</li></ul><p>This widget has been built with the best coding standards and should fit seamlessly into any WordPress theme.</p><h3>Video Demonstration</h3><p><iframe src="http://www.screenr.com/embed/4xds" width="600" height="366" frameborder="0"></iframe></p><h3>Download Plugin</h3><div class="button_small"><h5 class="regcase"><a href="http://codecanyon.net/item/better-related-posts-widget/427853?ref=mordauk" title="button">Download</a></h5></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"><li class="related-post"><a href="http://pippinspages.com/wordpress/easy-content-types-for-wordpress/">Easy Content Types Plugin for WordPress</a> <span class="related-post-date timestamp">Wed 20 Apr 2011</span></li><li class="related-post"><a href="http://pippinspages.com/wordpress/email-notifications-for-wordpress-announcements/">Email Notifications for WordPress Announcements</a> <span class="related-post-date timestamp">Wed 06 Oct 2010</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/publish-action-hook-for-custom-post-types/">Publish Action Hook for Custom Post Types</a> <span class="related-post-date timestamp">Thu 30 Sep 2010</span></li></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/wordpress/better-related-posts-widget/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Better Recent Posts Widget Plugin</title><link>http://pippinspages.com/freebies/better-recent-posts-widget/</link> <comments>http://pippinspages.com/freebies/better-recent-posts-widget/#comments</comments> <pubDate>Fri, 20 May 2011 03:06:03 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Freebies]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[posts]]></category> <category><![CDATA[widget]]></category><guid isPermaLink="false">http://pippinspages.com/?p=2078</guid> <description><![CDATA[WordPress comes with a Recent Posts widget that you can use to display a list of your latest posts in your widgetized sidebar, but it&#8217;s really not very good in the fact that it does give you any control over &#8230; <a href="http://pippinspages.com/freebies/better-recent-posts-widget/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>WordPress comes with a Recent Posts widget that you can use to display a list of your latest posts in your widgetized sidebar, but it&#8217;s really not very good in the fact that it does give you any control over your posts at all. So I&#8217;ve written a new one.<br /> <span id="more-2078"></span></p><p>This is a very simple plugin, but it gives you much better control over your widget display.</p><p><a href="http://pippinsplugins.com/wp-content/uploads/2011/05/recentpostswidget.png"><img src="http://pippinsplugins.com/wp-content/uploads/2011/05/recentpostswidget-198x300.png" alt="" title="recentpostswidget" width="198" height="300" class="alignright size-medium wp-image-185" /></a></p><p>Plugin features include:</p><ul><li>New Recent Posts Widget</li><li>Widget Title Option</li><li>Option to control the number of posts displayed</li><li>Option to control the posts offset</li><li>Ability to enable post thumbnails</li><li>Thumbnail size option</li><li>Choose the post type to display</li></ul><p>Download the plugin from <a href="http://pippinsplugins.com/better-recent-posts-widget/">Pippin&#8217;s Plugins.com</a>.</p><div class="button_small"><h5 class="regcase"><a href="http://pippinsplugins.com/better-recent-posts-widget/" title="button">Download</a></h5></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/freebies/better-recent-posts-widget/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Give Away: 3 Free Copies of Font Uploader for WordPress</title><link>http://pippinspages.com/wordpress/give-away-3-free-copies-of-font-uploader-for-wordpress/</link> <comments>http://pippinspages.com/wordpress/give-away-3-free-copies-of-font-uploader-for-wordpress/#comments</comments> <pubDate>Mon, 02 May 2011 21:42:31 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[font uploader]]></category> <category><![CDATA[fonts]]></category><guid isPermaLink="false">http://pippinspages.com/?p=2059</guid> <description><![CDATA[My Font Uploader plugin for WordPress has been hugely popular on Code Canyon and has remained not only on the top selling list nearly every single week since its release, but also sits among the top selling WordPress plugins on &#8230; <a href="http://pippinspages.com/wordpress/give-away-3-free-copies-of-font-uploader-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>My <a href="http://pippinspages.com/wordpress/wordpress-font-uploader-plugin/">Font Uploader plugin for WordPress</a> has been hugely popular on <a href="http://codecanyon.net/item/font-uploader/110175?ref=mordauk">Code Canyon</a> and has remained not only on the top selling list nearly every single week since its release,  but also sits among the <a href="http://codecanyon.net/category/plugins/wordpress?sort_by=sales_count&#038;type=files&#038;categories=plugins%2Fwordpress&#038;page=1?ref=mordauk">top selling WordPress plugins on Code Canyon</a> of all time.</p><p><span id="more-2059"></span></p><div class="alert_yellow">This contest is closed. The winners have been notified via Twitter. Thanks for entering!</div><p>So it&#8217;s time to give a few copies away for free.</p><h3>How to Enter</h3><p>All you need to do share this post on either Facebook or Twitter, then leave a comment below with a link to the Twitter or Facebook post.</p><p>I will end the contest after 2 weeks, on Monday the 16th of May, or after 40 people have entered, whichever comes first. So spread the word.</p><h3>Plugin Details</h3><p><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='560' height='345'><param name='movie' value='http://screenr.com/Content/assets/screenr_1116090935.swf' ></param><param name='flashvars' value='i=84320' ></param><param name='allowFullScreen' value='true' ></param><embed src='http://screenr.com/Content/assets/screenr_1116090935.swf' flashvars='i=84320' allowFullScreen='true' width='560' height='345' pluginspage='http://www.macromedia.com/go/getflashplayer' ></embed></object></p><p>Use any font anywhere with any WordPress theme.</p><ul><li>All .otf, .ttf, and .eot font files are supported</li><li>100% Cross browser compatible</li><li>Control the fonts of every aspect of your wordpress site</li><li>Font Size Control for all elements</li><li>Compatible with WordPress 2.6+</li><li>Google webFont Support</li><li>Easy to use</li><li>Advanced section for those with html / css knowledge</li></ul><p><a href="http://pippinspages.com/wordpress/wordpress-font-uploader-plugin/">Full Details</a></p><p>GO!</p><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"><li class="related-post"><a href="http://pippinspages.com/wordpress/full-ie-support-in-wordpress-font-uploader-v1-2/">Full IE Support in WordPress Font Uploader v1.2</a> <span class="related-post-date timestamp">Mon 26 Jul 2010</span></li><li class="related-post"><a href="http://pippinspages.com/wordpress/wordpress-font-uploader-plugin/">Wordpress Font Uploader Plugin</a> <span class="related-post-date timestamp">Wed 23 Jun 2010</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/font-size-controller-with-jquery/">Font Size Controller with jQuery</a> <span class="related-post-date timestamp">Thu 24 Feb 2011</span></li></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/wordpress/give-away-3-free-copies-of-font-uploader-for-wordpress/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>Easy Content Types Plugin for WordPress</title><link>http://pippinspages.com/wordpress/easy-content-types-for-wordpress/</link> <comments>http://pippinspages.com/wordpress/easy-content-types-for-wordpress/#comments</comments> <pubDate>Wed, 20 Apr 2011 18:19:16 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[custom post types]]></category> <category><![CDATA[meta boxes]]></category> <category><![CDATA[metabox]]></category> <category><![CDATA[post type]]></category> <category><![CDATA[posttype]]></category> <category><![CDATA[taxonomies]]></category><guid isPermaLink="false">http://pippinspages.com/?p=2021</guid> <description><![CDATA[Easy Content Types provides an extremely easy to use and intuitive interface for creating custom post types, taxonomies, and meta boxes. This is the best custom post type plugin and will completely remove the difficult task of manually creating custom &#8230; <a href="http://pippinspages.com/wordpress/easy-content-types-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Easy Content Types provides an extremely easy to use and intuitive interface for creating custom post types, taxonomies, and meta boxes.</p><p>This is the best custom post type plugin and will completely remove the difficult task of manually creating custom post types, taxonomies, and meta boxes.<br /> <span id="more-2021"></span></p><div class="alert_yellow">The page for this plugin has been moved to <a href="http://pippinsplugins.com/easy-content-types/">Pippin&#8217;s Plugins</a></div><h3>Easily Create Custom Post Types, Taxonomies, and Custom Meta Boxes</h3><p>You&#8217;ll never have to touch another bit of complicated code again.</p><div class="button_small"><h5 class="regcase"><a href="http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182?ref=mordauk" title="button">Download</a></h5></div><h3>For Developers and non Developers Alike</h3><p>With several months of development time, Easy Content Types has been optimized to be as easy to use as possible. It does everything for you, from registering the post types, setting up the menu icons, creating meta box fields, saving data, and even automatically creating theme template files and recreating permalink structures.</p><h3>Integrates perfectly with the WordPress Interface</h3><p>Easy Content Types has been designed perfectly for you to package it with your own themes, allowing you to give your buyers a HUGE increase of control. Your users won&#8217;t even know it&#8217;s not a part of the WordPress core.</p><h3>Features</h3><p><strong>Custom Post Types</strong></p><ul><li>Easy to use interface</li><li>Register custom post types</li><li>Edit post types after creation</li><li>Control all post type attributes and support options</li><li>Automatically create theme template files for post types</li><li>Thorough documemtation and explanation of post types</li></ul><p><strong>Custom Taxonomies</strong></p><ul><li>Easy to use interface</li><li>Register custom taxonomies</li><li>Edit taxonomies after creation</li><li>Control all taxonomy attributes and support options</li><li>Automatically create theme template files for taxonomies</li><li>Thorough documemtation and explanation of taxonomies</li></ul><p><strong>Custom Meta Boxes</strong></p><ul><li>Easy to use interface</li><li>Register custom meta boxes</li><li>Edit meta boxes after creation</li><li>Complate meta box placement control</li><li>Choose the post type that receives the meta box</li><li>Add unlimited fields to meta box</li><li>Drag and drop field ordering</li><li>6 field types<br /> Text<br /> Textarea<br /> Select<br /> Radio<br /> Checkbox<br /> Datepicker</li><li>Edit fields after creation</li><li>Automatic shortcodes for every field</li></ul><p><strong>User Access Control</strong></p><ul><li>Control which user levels have access to the custom content type menu</li><li>Control which users can create custom post types</li><li>Control which users can create custom taxonomies</li><li>Control which users can create custom meta bxoes</li></ul><h3>How it Works Demonstration</h3><p><iframe src="http://player.vimeo.com/video/22527393?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="600" height="450" frameborder="0"></iframe></p><h3>Realistic Usage Demonstration</h3><p><iframe src="http://player.vimeo.com/video/23730652?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="600" height="450" frameborder="0"></iframe></p><h3>Requires WordPress 3.0+</h3><p><a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/01-screenshot-4/' title='01-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/01-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="01-screenshot" title="01-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/02-screenshot-2/' title='02-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/02-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="02-screenshot" title="02-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/03-screenshot/' title='03-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/03-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="03-screenshot" title="03-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/04-screenshot/' title='04-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/04-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="04-screenshot" title="04-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/05-screenshot/' title='05-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/05-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="05-screenshot" title="05-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/06-screenshot/' title='06-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/06-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="06-screenshot" title="06-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/07-screenshot/' title='07-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/07-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="07-screenshot" title="07-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/08-screenshot/' title='08-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/08-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="08-screenshot" title="08-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/11-screenshot/' title='11-screenshot'><img width="286" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/11-screenshot-286x196.png?9707a5" class="attachment-thumbnail" alt="11-screenshot" title="11-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/12-screenshot/' title='12-screenshot'><img width="240" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/12-screenshot-240x196.png?9707a5" class="attachment-thumbnail" alt="12-screenshot" title="12-screenshot" /></a><br /> <a href='http://pippinspages.com/wordpress/easy-content-types-for-wordpress/attachment/13-screenshot-2/' title='13-screenshot'><img width="240" height="196" src="http://pippinspages.com/wp-content/uploads/2011/04/13-screenshot-240x196.png?9707a5" class="attachment-thumbnail" alt="13-screenshot" title="13-screenshot" /></a></p><div class="button_small"><h5 class="regcase"><a href="http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182?ref=mordauk" title="button">Download</a></h5></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"><li class="related-post"><a href="http://pippinspages.com/wordpress/better-related-posts-widget/">Better Related Posts Widget</a> <span class="related-post-date timestamp">Sat 06 Aug 2011</span></li><li class="related-post"><a href="http://pippinspages.com/wordpress/email-notifications-for-wordpress-announcements/">Email Notifications for WordPress Announcements</a> <span class="related-post-date timestamp">Wed 06 Oct 2010</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/publish-action-hook-for-custom-post-types/">Publish Action Hook for Custom Post Types</a> <span class="related-post-date timestamp">Thu 30 Sep 2010</span></li></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/wordpress/easy-content-types-for-wordpress/feed/</wfw:commentRss> <slash:comments>140</slash:comments> </item> <item><title>Pass Parameters to query_posts and Keep Query Intact</title><link>http://pippinspages.com/tutorials/pass-parameters-to-query_posts-and-keep-query-intact/</link> <comments>http://pippinspages.com/tutorials/pass-parameters-to-query_posts-and-keep-query-intact/#comments</comments> <pubDate>Sat, 16 Apr 2011 01:41:16 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[WordPress Tutorials]]></category> <category><![CDATA[custom query]]></category> <category><![CDATA[query_posts]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1986</guid> <description><![CDATA[When working with custom queries, as is quite common in theme development, you will often need to pass certain parameters to the query_posts() function, such as those to limit the category or the number of posts displayed. The problem with &#8230; <a href="http://pippinspages.com/tutorials/pass-parameters-to-query_posts-and-keep-query-intact/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>When working with custom queries, as is quite common in theme development, you will often need to pass certain parameters to the query_posts() function, such as those to limit the category or the number of posts displayed. <span id="more-1986"></span>The problem with doing this is that the moment you pass a parameter to query_posts(), it causes the function to ignore all default parameters. This causes a problem, for example, when you have created a custom archive.php (or other template) and you attempt to view the archive for a date range or category. What will happen in this case, is that the category or date parameters passed to WordPress will be ignored, such all dates and or categories will be displayed, not just the ones you tried to limit it to. So you&#8217;re stuck. The custom parameters you passed to query_posts() are useless because they break everything else.</p><p>Luckily, there&#8217;s an easy fix to the above scenario.</p><p>All of the query parameters passed by WordPress are stored in a global variable called <em>$query_string</em>. So, let&#8217;s say you have a query like this:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat=5&amp;posts_per_page=6'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>If that&#8217;s in an archive loop, the archive will break, so, to fix it, do this instead:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$query_string</span><span style="color: #339933;">;</span>
query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat=5&amp;posts_per_page=6&amp;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$query_string</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>This will cause query_posts() to recognize all of the parameters passed from WordPress, <em>as well as</em> all of those you have chosen to pass manually.</p><p>Hope this helps!</p><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/tutorials/pass-parameters-to-query_posts-and-keep-query-intact/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Fix Broken Search Pagination in WordPress 3.1</title><link>http://pippinspages.com/tutorials/fix-broken-search-pagination-in-wordpress-3-1/</link> <comments>http://pippinspages.com/tutorials/fix-broken-search-pagination-in-wordpress-3-1/#comments</comments> <pubDate>Sat, 05 Mar 2011 01:19:55 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[WordPress Tutorials]]></category> <category><![CDATA[pagination]]></category> <category><![CDATA[permalinks]]></category> <category><![CDATA[search]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1949</guid> <description><![CDATA[This morning I spent several hours debugging a broken WordPress search pagination. The function itself worked fine, but when clicking over to any page, a 404 error was displayed. Unlike the usual culprit, a custom query_posts() function was not the &#8230; <a href="http://pippinspages.com/tutorials/fix-broken-search-pagination-in-wordpress-3-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>This morning I spent several hours debugging a broken WordPress search pagination. The function itself worked fine, but when clicking over to any page, a 404 error was displayed. Unlike the usual culprit, a custom query_posts() function was not the problem here.<br /> <span id="more-1949"></span><br /> After staring blankly at line after line of code, deleting random snippets, and doing everything else I could think of to try and locate the problem, I noticed something strange: when hovering over the pagination links, the page URLs looked like this:</p><pre>http://site.com/blog/blog/page/2?s=searchphrase</pre><p>when it should have been:</p><pre>http://site.com/blog/page/2?s=searchphrase</pre><p>Notice the second &#8220;blog&#8221; in there?</p><p>Finally, I tried reverting back to the default search form by removing searchform.php from my theme directory. There! I found it. The problem was fixed. But I really needed and wanted my custom searchform.php. So what was the problem?</p><p>Well, looking at the Codex entry for <em><a href="http://codex.wordpress.org/Function_Reference/get_search_form">get_search_form()</a></em>, I saw that the default search form layout was:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> role<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;get&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchform&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo home_url( '/' ); ?&gt;</span></span>&quot;&gt;
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen-reader-text&quot;</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span>&gt;</span>Search for:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchsubmit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Search&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></td></tr></table></div><p>and mine was:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> role<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;get&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchform&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php bloginfo('url'); ?&gt;</span></span>&quot;&gt;
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen-reader-text&quot;</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span>&gt;</span>Search for:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchsubmit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Search&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></td></tr></table></div><p>See the problem? It&#8217;s not obvious, but the problem is caused by <em>bloginfo(&#8216;url&#8217;);</em> being used for the action=&#8221;" parameter of the FORM tag, instead of <em>echo home_url();</em>.</p><p>I am not exactly sure why <em>bloginfo(&#8216;url&#8217;)</em> is different from <em>echo home_url();</em> because they both display exactly the same thing. But it <em>does</em> fix the problem.</p><p>Hopefully this will solve someone else&#8217;s trouble before you spend hours and hours on it as I did.</p><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/tutorials/fix-broken-search-pagination-in-wordpress-3-1/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Get Category Name from ID</title><link>http://pippinspages.com/tutorials/get-category-name-from-id/</link> <comments>http://pippinspages.com/tutorials/get-category-name-from-id/#comments</comments> <pubDate>Tue, 01 Mar 2011 21:38:53 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[WordPress Tutorials]]></category> <category><![CDATA[cat id]]></category> <category><![CDATA[category]]></category> <category><![CDATA[category name]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1942</guid> <description><![CDATA[WordPress has a nice little function get_cat_name() that allows us to retrieve the name of the category from the database by using the ID of the desired category. For example, you have a category with an ID of 12, and &#8230; <a href="http://pippinspages.com/tutorials/get-category-name-from-id/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>WordPress has a nice little function <em>get_cat_name()</em> that allows us to retrieve the name of the category from the database by using the ID of the desired category.<br /> <span id="more-1942"></span><br /> For example, you have a category with an ID of 12, and you want to echo the name of that category. You can it like this:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$category_id</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">12</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//replace with your category ID</span>
<span style="color: #b1b100;">echo</span> get_cat_name<span style="color: #009900;">&#40;</span><span style="color: #000088;">$category_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>This is particular useful in cases, such as them option panels, where a user has enter ID numbers of categories, and you need to get the name of those categories.</p><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/tutorials/get-category-name-from-id/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Get Featured Thumbnail URL</title><link>http://pippinspages.com/tutorials/get-featured-thumbnail-url/</link> <comments>http://pippinspages.com/tutorials/get-featured-thumbnail-url/#comments</comments> <pubDate>Fri, 25 Feb 2011 16:00:57 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[WordPress Tutorials]]></category> <category><![CDATA[post image]]></category> <category><![CDATA[the_post_thumbnail]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1936</guid> <description><![CDATA[A lot of times it can be necessary to be able to obtain just the source URL of a post&#8217;s featured thumbnail. Using the wp_get_attachment_image_src() function, we can obtain the URL of whatever image size we want: 1 2 3 &#8230; <a href="http://pippinspages.com/tutorials/get-featured-thumbnail-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>A lot of times it can be necessary to be able to obtain just the source URL of a post&#8217;s featured thumbnail.</p><p>Using the <em>wp_get_attachment_image_src()</em> function, we can obtain the URL of whatever image size we want:<br /> <span id="more-1936"></span></p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// store the image URL in an array</span>
<span style="color: #000088;">$image</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</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;thumbnail-size&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// output the URL</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$image</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>You can choose to display whatever size of image you want by altering the &#8220;thumbnail-size&#8221; parameter. It can be any size you have declared in your functions.php with <a href="http://codex.wordpress.org/Function_Reference/add_image_size">add_image_size()</a>, or it can be an array, like this:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$image</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</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">400</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">350</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/tutorials/get-featured-thumbnail-url/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Sugar Slider – WordPress Sliders Manager</title><link>http://pippinspages.com/wordpress/sugar-slider-wordpress-sliders-manager/</link> <comments>http://pippinspages.com/wordpress/sugar-slider-wordpress-sliders-manager/#comments</comments> <pubDate>Sun, 06 Feb 2011 19:35:20 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Featured]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[image slider]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[slide]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1682</guid> <description><![CDATA[Sugar Slider, an extremely powerful WordPress slider, makes it as easy as it could possibly be to create gorgeous sliders for your WordPress powered site. Forget nasty custom fields and image URLs. You can even forget about manually resizing every &#8230; <a href="http://pippinspages.com/wordpress/sugar-slider-wordpress-sliders-manager/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Sugar Slider, an extremely powerful WordPress slider, makes it as easy as it could possibly be to create gorgeous sliders for your WordPress powered site. Forget nasty custom fields and image URLs. You can even forget about manually resizing every image before you upload it.<br /> <span id="more-1682"></span><br /> With a huge list of features, Sugar Slider is easily the most advanced and powerful slider manager for WordPress.</p><p>Create an unlimited number of sliders with customized settings for each one, and place them anywhere on your WordPress website with ease.</p><p>Sugar Slider is fully compatible and tested thoroughly with WordPress 3.1.</p><div class="button_small"><h5 class="regcase"><a href="http://demo.pippinspages.com/sugar-slider/" title="button">Demo</a></h5></div><div class="button_small"><h5 class="regcase"><a href="http://codecanyon.net/item/sugar-slider-premium-wordpress-slider-manager/157763?ref=mordauk" title="button">Download</a></h5></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"><li class="related-post"><a href="http://pippinspages.com/tutorials/add-scripts-and-styles-to-specific-admin-pages-only/">Add Scripts and Styles to Specific Admin Pages Only</a> <span class="related-post-date timestamp">Thu 30 Jun 2011</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/font-size-controller-with-jquery/">Font Size Controller with jQuery</a> <span class="related-post-date timestamp">Thu 24 Feb 2011</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/jquery-tricks-for-developers-trying-to-satisfy-designers/">jQuery Tricks for Developers Trying to Satisfy Designers</a> <span class="related-post-date timestamp">Mon 15 Nov 2010</span></li></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/wordpress/sugar-slider-wordpress-sliders-manager/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>Post Notify – Email Post Notifications for WordPress</title><link>http://pippinspages.com/wordpress/post-notify-email-post-notifications/</link> <comments>http://pippinspages.com/wordpress/post-notify-email-post-notifications/#comments</comments> <pubDate>Mon, 01 Nov 2010 14:00:11 +0000</pubDate> <dc:creator>Pippin Williamson</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[code canyon]]></category> <category><![CDATA[emails]]></category> <category><![CDATA[notification]]></category> <category><![CDATA[plugin]]></category><guid isPermaLink="false">http://pippinspages.com/?p=1665</guid> <description><![CDATA[This is a new WordPress plugin available on Code Canyon.net that allows site owners to send out nicely formatted HTML emails to all subscribers whenever a new post is published. Live Demo Get From Code Canyon Subscribers can receive emails &#8230; <a href="http://pippinspages.com/wordpress/post-notify-email-post-notifications/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>This is a new WordPress plugin available on <a href="http://codecanyon.net?ref=mordauk">Code Canyon.net</a> that allows site owners to send out nicely formatted HTML emails to all subscribers whenever a new post is published.<br /> <span id="more-1665"></span></p><h3><a href="http://demo.pippinspages.com/post-notify/" class="downloadlink">Live Demo</a></h3><h3><a href="http://codecanyon.net/item/post-notify-wordpress-email-notifications/134042?ref=mordauk">Get From Code Canyon</a></h3><p>Subscribers can receive emails either by registering on the site, through the built-in WordPress user registration, or by submitting their email through a simple, ajaxed email submission form included with the plugin.</p><p>With an extensive list of features, this is plugin is a great addition to any WordPress site that cares about keeping their readers informed of new posts.</p><div class="button_small"><h5 class="regcase"><a href="http://demo.pippinspages.com/post-notify/" title="button">Demo</a></h5></div><div class="button_small"><h5 class="regcase"><a href="http://codecanyon.net/item/post-notify-wordpress-email-notifications/134042?ref=mordauk" title="button">Download</a></h5></div><h4 class='related-posts-header'>Related Posts</h4><ul class="related-posts-list"><li class="related-post"><a href="http://pippinspages.com/wordpress/email-notifications-for-wordpress-announcements/">Email Notifications for WordPress Announcements</a> <span class="related-post-date timestamp">Wed 06 Oct 2010</span></li><li class="related-post"><a href="http://pippinspages.com/tutorials/publish-action-hook-for-custom-post-types/">Publish Action Hook for Custom Post Types</a> <span class="related-post-date timestamp">Thu 30 Sep 2010</span></li><li class="related-post"><a href="http://pippinspages.com/wordpress/sliding-contact-panel/">Sliding Contact Panel</a> <span class="related-post-date timestamp">Mon 20 Sep 2010</span></li></ul>]]></content:encoded> <wfw:commentRss>http://pippinspages.com/wordpress/post-notify-email-post-notifications/feed/</wfw:commentRss> <slash:comments>50</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 130/246 queries in 0.399 seconds using disk: basic
Object Caching 1969/2219 objects using disk: basic

Served from: www.pippinspages.com @ 2012-02-05 07:55:47 -->
