<?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>Professional Web Designer - CIPPO Design &#187; Tutorials</title>
	<atom:link href="http://cippodesign.com/blog/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://cippodesign.com</link>
	<description>Custom Web Design – WordPress Design – CMS Design, Web Development – PSD to xHTML – PSD to WordPress, SEO plus other services</description>
	<lastBuildDate>Fri, 04 Nov 2011 15:55:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress search with pagination</title>
		<link>http://cippodesign.com/tutorials/wordpress3/wordpress-search-with-pagination.html</link>
		<comments>http://cippodesign.com/tutorials/wordpress3/wordpress-search-with-pagination.html#comments</comments>
		<pubDate>Mon, 22 Aug 2011 17:27:24 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=973</guid>
		<description><![CDATA[I&#8217;ve recently had some issues with wordpress search and custom pagination. Google helped me to find a nice WordPress function that displays the pagination without a plugin. So using the function from that page gave me few headaches but I &#8230; <a href="http://cippodesign.com/tutorials/wordpress3/wordpress-search-with-pagination.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently had some issues with wordpress search and custom pagination. Google helped me to find a nice WordPress function that displays the <a href="http://wp-snippets.com/1896/pagination-without-plugin/" target="_blank">pagination without a plugin</a>. So using the function from that page gave me few headaches but I have managed to solve the navigation with the help of a small plugin that&#8217;s called <a href="http://wordpress.org/extend/plugins/nice-search/" target="_blank">Nice Search</a>.</p>
<p>I&#8217;ve also had issues making the pagination work with a wp_query ..</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/wordpress3/wordpress-search-with-pagination.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove base category in WordPress</title>
		<link>http://cippodesign.com/tutorials/wordpress3/remove-wordpress-base-category.html</link>
		<comments>http://cippodesign.com/tutorials/wordpress3/remove-wordpress-base-category.html#comments</comments>
		<pubDate>Sat, 08 Jan 2011 17:09:45 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=945</guid>
		<description><![CDATA[After wasting precious hours ( maybe days ) looking for a way to remove the base /category/ thing from wordpress category list ( when linking to it ) I couldn&#8217;t believe my eyes how easy it was. No plugins, No &#8230; <a href="http://cippodesign.com/tutorials/wordpress3/remove-wordpress-base-category.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After wasting precious hours ( maybe days ) looking for a way to remove the base /category/ thing from wordpress category list ( when linking to it ) I couldn&#8217;t believe my eyes how easy it was.</p>
<h3>No plugins, No PHP, No .htaccess</h3>
<p>The most easy way to get rid of that /category/, without -plugins, -.htaccess, -PHP or anything else.from your wordpress categories, you have to put a DOT ( . ) in the base category in permalinks settings.</p>
<p><img class="alignnone size-full wp-image-946" title="Wordpress: Remove Base Category" src="http://cippodesign.com/wp-content/uploads/2011/01/wp-remove-base-category-wordpress.jpg" alt="" width="573" height="245" /></p>
<p>Make sure that you use for permalink settings something like /%category%/%postname%/</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/wordpress3/remove-wordpress-base-category.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Display backslash in wordpress posts</title>
		<link>http://cippodesign.com/tutorials/wordpress3/display-backslash-in-wordpress-posts.html</link>
		<comments>http://cippodesign.com/tutorials/wordpress3/display-backslash-in-wordpress-posts.html#comments</comments>
		<pubDate>Mon, 02 Aug 2010 08:18:19 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[backslash]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=650</guid>
		<description><![CDATA[I had a hard time figuring how to make wordpress display backslashes in posts. There are 2 solutions for this problem: Use html code for backslash which is &#38;#92; Use double backslashes like &#92;&#92; The html code must be inserted &#8230; <a href="http://cippodesign.com/tutorials/wordpress3/display-backslash-in-wordpress-posts.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a hard time figuring how to make wordpress display backslashes in posts. There are 2 solutions for this problem:</p>
<ol>
<li>Use html code for backslash which is &amp;#92;</li>
<li>Use double backslashes like &#92;&#92;</li>
</ol>
<p>The html code must be inserted from &#8220;HTML&#8221; view, which might be a little inconvenient while the double backslashes can be used in the &#8220;Visual&#8221; view.</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/wordpress3/display-backslash-in-wordpress-posts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove extra slashes</title>
		<link>http://cippodesign.com/tutorials/wordpress3/remove-extra-slashes.html</link>
		<comments>http://cippodesign.com/tutorials/wordpress3/remove-extra-slashes.html#comments</comments>
		<pubDate>Sun, 01 Aug 2010 13:49:20 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[backslash]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=576</guid>
		<description><![CDATA[I&#8217;ve recently installed the TinyMCE Advanced plugin and when I tried to set properties for my titles, I got something like this: &#60;h3 class=&#34;&#92;&#34;test-class&#92;&#34;&#34;&#62; instead of &#60;h3 class=&#34;test-class&#34;&#62; so I asked google about it. I&#8217;ve got the following solution, to &#8230; <a href="http://cippodesign.com/tutorials/wordpress3/remove-extra-slashes.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently installed the TinyMCE Advanced plugin and when I tried to set properties for my titles, I got something like this:</p>
<p>&lt;h3 class=&quot;&#92;&quot;test-class&#92;&quot;&quot;&gt; instead of<br />
&lt;h3 class=&quot;test-class&quot;&gt; so I asked google about it.</p>
<p>I&#8217;ve got the following solution, to strip slashes from all the posts:</p>
<pre class="brush:php">add_filter('the_content', 'my_strip_slashes');

function my_strip_slashes($content)
{
return stripslashes($content);
}</pre>
<p>Place the code above in your functions.php file and your problems are solved. No more headaches.</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/wordpress3/remove-extra-slashes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 custom taxonomies</title>
		<link>http://cippodesign.com/tutorials/wordpress3/custom-taxonomies.html</link>
		<comments>http://cippodesign.com/tutorials/wordpress3/custom-taxonomies.html#comments</comments>
		<pubDate>Mon, 19 Jul 2010 19:51:46 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[taxonomies]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=457</guid>
		<description><![CDATA[You have to build a website for a restaurant and you have chosen WordPress to do the job. It&#8217;s time to add restaurant&#8217;s products but you have to classify them. Well there&#8217;s a very easy way to do that. What &#8230; <a href="http://cippodesign.com/tutorials/wordpress3/custom-taxonomies.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You have to build a website for a restaurant and you have chosen WordPress to do the job. It&#8217;s time to add restaurant&#8217;s products but you have to classify them. Well there&#8217;s a very easy way to do that.</p>
<p>What products does a restaurant have? Well, I think a regular restaurant has Breakfast, Launch, Dinner, Beverage and Dessert.</p>
<p>Open functions.php from your wordpress theme directory and add the following code:</p>
<pre class="brush:php">function create_menu_categories() {

register_taxonomy(‘menu_type’, ‘post’, array(‘hierarchical’=&gt;;false, ‘label’=&gt;’Menu type’, ‘query_var’=&gt;true, ‘rewrite’=&gt;true));

}

add_action(‘init’, ‘create_menu_categories’, 0);</pre>
<h2>Query for posts, using custom tag</h2>
<p>To display only posts that have a specific tag from your custom taxonomies, place the code <span id="more-457"></span>before <a title="Wordpress loop" href="http://codex.wordpress.org/The_Loop" target="_blank">the loop</a>:</p>
<pre class="brush:php">&lt;?php query_posts(array('menu_type' =&gt; 'dessert', 'showposts' =&gt; 10)); ?&gt;</pre>
<p>You can change <strong>dessert</strong> to any other tag listed in the custom taxonomies and you can change, of course, how many posts to show by changing the number <strong>10</strong> to your number.</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/wordpress3/custom-taxonomies.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom WordPress 3.0 theme (p1)</title>
		<link>http://cippodesign.com/tutorials/custom-wordpress-3-theme-development-part-1.html</link>
		<comments>http://cippodesign.com/tutorials/custom-wordpress-3-theme-development-part-1.html#comments</comments>
		<pubDate>Thu, 15 Jul 2010 22:08:11 +0000</pubDate>
		<dc:creator>Cippo</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cippodesign.com/?p=380</guid>
		<description><![CDATA[I was thinking to give some help regarding WordPress 3.0 theme development using custom post types and other cool new features so I will show you how to create a custom Wordperss 3.0 portfolio theme. You will be able to &#8230; <a href="http://cippodesign.com/tutorials/custom-wordpress-3-theme-development-part-1.html">Find out more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was thinking to give some help regarding WordPress 3.0 theme development using custom post types and other cool new features so I will show you how to create a custom Wordperss 3.0 portfolio theme.</p>
<p>You will be able to add and manage portfolio items, testimonials, posts thumbnail and more to come.</p>
<p>Warning, design is not included <img src='http://cippodesign.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h2>How to create a WordPress portfolio theme</h2>
<p>To do this, you have to get your hands dirty <img src='http://cippodesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Alright, what do we need to accomplish this? For the beginning we will need to create the following files:<span id="more-380"></span></p>
<ul>
<li>header.php</li>
<li>footer.php</li>
<li>index.php</li>
<li>loop-index.php</li>
<li>style.css</li>
<li>functions.php</li>
<li>front-page.php</li>
<li>page.php</li>
<li>single.php</li>
<li>comments.php</li>
<li>sidebar.php</li>
</ul>
<p>All these files must be placed in a theme directory.</p>
<h3>let&#8217;s name our theme.. portfolish</h3>
<p>Create a folder in wp-content/themes directory, name it portfolish and place there all the files listed above.</p>
<h3>create the header.php file</h3>
<p><br class="spacer_" /></p>
<pre class="brush:php">&lt;?php
/**
* The Header for our theme.
*
* @package WordPress
* @subpackage Portfolish
* @since Portfolish version 0.1
*/
?&gt;
&lt;!DOCTYPE html&gt;
&lt;html &lt;?php language_attributes(); ?&gt;&gt;
&lt;head&gt;
&lt;meta charset="&lt;?php bloginfo( 'charset' ); ?&gt;" /&gt;
&lt;title&gt;
&lt;?php // Returns the title based on what is being viewed
if ( is_single() ) { // single posts
single_post_title(); echo ' | '; bloginfo( 'name' );
// The home page or, if using a static front page, the blog posts page.
} elseif ( is_home() || is_front_page() ) {
bloginfo( 'name' );
if( get_bloginfo( 'description' ) )
echo ' | ' ; bloginfo( 'description' );

} elseif ( is_page() ) { // WordPress Pages
single_post_title( '' ); echo ' | '; bloginfo( 'name' );
} elseif ( is_search() ) { // Search results
printf( __( 'Search results for %s', 'portfolish' ), '"'.get_search_query().'"' ); echo ' | '; bloginfo( 'name' );
} elseif ( is_404() ) {  // 404 (Not Found)
_e( 'Not Found', 'portfolish' ); echo ' | '; bloginfo( 'name' );
} else if (is_author()) { // author posts
get_the_author(); echo "Author archives "; echo ' | '; bloginfo( 'name' );
// The home page or, if using a static front page, the blog posts page.ci
} else { // Otherwise:
wp_title( ' ' ); echo ' | '; bloginfo( 'name' );
}
?&gt;
&lt;/title&gt;
&lt;link rel="profile" href="http://gmpg.org/xfn/11" /&gt;
&lt;link rel="stylesheet" type="text/css" media="all" href="&lt;?php bloginfo('stylesheet_url'); ?&gt;" /&gt;
// Use our own css file for customization
&lt;link rel="stylesheet" type="text/css" media="all" href="&lt;?php bloginfo( 'template_url' ); ?&gt;/theme.css" /&gt;
&lt;link rel="pingback" href="&lt;?php bloginfo( 'pingback_url' ); ?&gt;" /&gt;
&lt;?php
/* We add some JavaScript to pages with the comment form
* to support sites with threaded comments (when in use).
*/
if ( is_singular() &amp;&amp; get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );

/* Always have wp_head() just before the closing &lt;/head&gt;
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to &lt;head&gt; such
* as styles, scripts, and meta tags.
*/

wp_head();
?&gt;
&lt;body &lt;?php body_class(); ?&gt;&gt;
&lt;a href="&lt;?php echo site_url(); ?&gt;" id="web-portfolio"&gt;
&lt;?php // Returns the title based on what is being viewed
if ( is_single() ) { // single posts
single_post_title(); echo ' | '; bloginfo( 'name' );
// The home page or, if using a static front page, the blog posts page.
} elseif ( is_home() || is_front_page() ) {
bloginfo( 'name' );
if( get_bloginfo( 'description' ) )
echo ' | ' ; bloginfo( 'description' );

} elseif ( is_page() ) { // WordPress Pages
single_post_title( '' ); echo ' | '; bloginfo( 'name' );
} elseif ( is_search() ) { // Search results
printf( __( 'Search results for %s', 'portfolish' ), '"'.get_search_query().'"' ); echo ' | '; bloginfo( 'name' );
} elseif ( is_404() ) {  // 404 (Not Found)
_e( 'Not Found', 'portfolish' ); echo ' | '; bloginfo( 'name' );
} else { // Otherwise:
wp_title( ' ' ); echo ' | '; bloginfo( 'name' );
}
?&gt;
&lt;/a&gt;
&lt;ul id="wrapper"&gt;
&lt;li&gt;
&lt;a href="&lt;?php echo site_url(); ?&gt;"&gt;&lt;img src="&lt;?php echo bloginfo('template_url'); ?&gt;/images/logo.png" alt="My Web Portfolio"/&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;?php wp_nav_menu(array('menu'=&gt;'Main Menu','container'=&gt;'', 'menu_class'=&gt;'absolute')); ?&gt;
&lt;/li&gt;</pre>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<h3>create the footer.php file</h3>
<p><br class="spacer_" /></p>
<pre class="brush:php">&lt;?php
/**
* The template for displaying the footer.
*
* @package WordPress
* @subpackage Portfolish
* @since Portfolish version 0.1
*/
?&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li id="copy-design"&gt;&lt;span&gt;Copyright &amp;copy; &lt;a href="&lt;?php echo site_url(); ?&gt;"&gt;Portfolish&lt;/a&gt; 2010 - &lt;?php echo date('Y'); ?&gt;  | &lt;a href="&lt;?php echo esc_url( __('http://wordpress.org/', 'portfolish') ); ?&gt;"
title="&lt;?php esc_attr_e('Semantic Personal Publishing Platform', 'portfolish'); ?&gt;" rel="generator"&gt;
&lt;?php printf( __('Proudly powered by %s.', portfolish'), 'WordPress' ); ?&gt;
&lt;/a&gt;&lt;/span&gt;
&lt;li&gt;
&lt;?php get_sidebar( 'footer' ); ?&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;?php
/* Always have wp_footer() just before the closing &lt;/body&gt;
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/

wp_footer();
?&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<p><br class="spacer_" /></p>
<p>I will show you in the next chapter how to create the loop for index and how to create custom post types.</p>
]]></content:encoded>
			<wfw:commentRss>http://cippodesign.com/tutorials/custom-wordpress-3-theme-development-part-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

