<?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>Leicester, Birmingham Logo Design and Web Design &#187; wordpress</title>
	<atom:link href="http://www.thescube.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thescube.com</link>
	<description>Leicester, Birmingham Web Design, Logo Design, Menu Printing, Business Card, Cheap, affordable, professional Web Development, Design and Logo Creation</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:19:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>WordPress vs Drupal vs Joomla</title>
		<link>http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/</link>
		<comments>http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 10:07:47 +0000</pubDate>
		<dc:creator>shovan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Infograph]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[infograph]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shovan.org/?p=132</guid>
		<description><![CDATA[You might be interested in: Internet argument rating &#8211; Infograph Call to action test Does Facebook Affect Your Relationships? Including custom field in post in wordpress WordPress: Featured Image option not avaliable]]></description>
			<content:encoded><![CDATA[<p><a href="http://shovan.org/wp-content/uploads/2011/08/wordpress-vs-drupal-vs-joomla.png" class="lightbox" rel="gallery-2142"><img class="alignnone size-full wp-image-133" title="wordpress-vs-drupal-vs-joomla" src="http://shovan.org/wp-content/uploads/2011/08/wordpress-vs-drupal-vs-joomla.png" alt="wordpress vs drupal vs joomla Wordpress vs Drupal vs Joomla infograph blog " width="960" height="4208" /></a><br />
<h3 class='related_post_title'>You might be interested in:</h3>
<ul class='related_post'>
<li><a href='http://www.thescube.com/blog/internet-argument-rating-infograph/' title='Internet argument rating &#8211; Infograph'>Internet argument rating &#8211; Infograph</a></li>
<li><a href='http://www.thescube.com/blog/call-to-action-test/' title='Call to action test'>Call to action test</a></li>
<li><a href='http://www.thescube.com/blog/does-facebook-affect-your-relationships/' title='Does Facebook Affect Your Relationships? '>Does Facebook Affect Your Relationships? </a></li>
<li><a href='http://www.thescube.com/blog/including-custom-field-in-post/' title='Including custom field in post in wordpress'>Including custom field in post in wordpress</a></li>
<li><a href='http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/' title='Wordpress: Featured Image option not avaliable'>WordPress: Featured Image option not avaliable</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Including custom field in post in wordpress</title>
		<link>http://www.thescube.com/blog/including-custom-field-in-post/</link>
		<comments>http://www.thescube.com/blog/including-custom-field-in-post/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 15:52:43 +0000</pubDate>
		<dc:creator>shovan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Custom field]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shovan.org/?p=96</guid>
		<description><![CDATA[Want to include your custom field values into your post? There are various ways to show custom field values on your post, I am going to use the following methord]]></description>
			<content:encoded><![CDATA[<p>Want to include your custom field values into your post? There are various ways to show custom field values on your post, I am going to use the following methord</p>
<p><code><br />
<?php<br />
$customField = get_post_custom_values("ProjectName");<br />
if (isset($customField[0])) {<br />
echo "<strong>Project Name: </strong>";<br />
echo get_post_meta($post->ID, 'ProjectName', true);<br />
echo "<br />"'<br />
}<br />
</code></p>
<p><strong>Result</strong><br />
Project Name: Value of ProjectName from custom field<br />
<strong>Explination: </strong></p>
<blockquote><p>$customField: Gets the custom field value. In this custom field ProjectName</p></blockquote>
<blockquote><p>if (isset($customField[0]): Checks if the custom field value is zero</p></blockquote>
<blockquote><p>echo &#8220;<strong>Project Name: </strong>&#8220;;: I have included a title for the custom field. </p></blockquote>
<blockquote><p>echo get_post_meta($post->ID, &#8216;ProjectName&#8217;, true);: If custom field value is available it is printed / displayed</p></blockquote>
<blockquote><p>echo &#8220;<br />&#8220;&#8216;: Line break</p></blockquote>
<p>To display multiple custom field values, you can use the following<br />
<code><br />
<?php </p>
<p>$customField = get_post_custom_values("ProjectName");<br />
if (isset($customField[0])) {<br />
echo "<strong>Project Name: </strong>";<br />
echo get_post_meta($post->ID, 'ProjectName', true);<br />
echo "<br />"'<br />
}</p>
<p>$customField = get_post_custom_values("PeopleInvolved");<br />
if (isset($customField[0])) {<br />
echo "<strong>People Involved: </strong>";<br />
echo get_post_meta($post->ID, 'PeopleInvolved', true);<br />
echo "<br />"'<br />
}</p>
<p>$customField = get_post_custom_values("EventDate");<br />
if (isset($customField[0])) {<br />
echo "<strong>Event Date: </strong>";<br />
echo get_post_meta($post->ID, 'EventDate', true);<br />
echo "<br />"'<br />
}</p>
<p>?><br />
</code></p>
<h3 class='related_post_title'>You might be interested in:</h3>
<ul class='related_post'>
<li><a href='http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/' title='Wordpress vs Drupal vs Joomla'>WordPress vs Drupal vs Joomla</a></li>
<li><a href='http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/' title='Wordpress: Featured Image option not avaliable'>WordPress: Featured Image option not avaliable</a></li>
<li><a href='http://www.thescube.com/blog/wordpress-home-post-as-page/' title='Wordpress home post as page'>WordPress home post as page</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thescube.com/blog/including-custom-field-in-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress: Featured Image option not avaliable</title>
		<link>http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/</link>
		<comments>http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 15:43:30 +0000</pubDate>
		<dc:creator>shovan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[featured image]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shovan.org/?p=93</guid>
		<description><![CDATA[WordPress them does not show or support featured image option? Add below code to function.php page add_theme_support( 'post-thumbnails' ); It should display in your post option You might be interested in: WordPress vs Drupal vs Joomla Including custom field in post in wordpress WordPress home post as page]]></description>
			<content:encoded><![CDATA[<p>WordPress them does not show or support featured image option?</p>
<p>Add below code to function.php page<br />
<code>add_theme_support( 'post-thumbnails' );</code><br />
It should display in your post option<br />
<h3 class='related_post_title'>You might be interested in:</h3>
<ul class='related_post'>
<li><a href='http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/' title='Wordpress vs Drupal vs Joomla'>WordPress vs Drupal vs Joomla</a></li>
<li><a href='http://www.thescube.com/blog/including-custom-field-in-post/' title='Including custom field in post in wordpress'>Including custom field in post in wordpress</a></li>
<li><a href='http://www.thescube.com/blog/wordpress-home-post-as-page/' title='Wordpress home post as page'>WordPress home post as page</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress home post as page</title>
		<link>http://www.thescube.com/blog/wordpress-home-post-as-page/</link>
		<comments>http://www.thescube.com/blog/wordpress-home-post-as-page/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 11:59:18 +0000</pubDate>
		<dc:creator>shovan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[get_option]]></category>
		<category><![CDATA[paged]]></category>
		<category><![CDATA[post to page]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shovan.org/?p=90</guid>
		<description><![CDATA[Most of the wordpress blogs or themes display post in their home page, for one of my project I wanted to display pages in the home page template This was the template code get_option('theme_home_posts'), 'cat'=&#62;'-'.get_cat_id(get_option('theme_featured')), 'paged'=&#62;$paged, ); query_posts($args); while (have_posts()) : the_post(); ?&#62; To simplify the code, all the post with category theme_featured will display. [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the wordpress blogs or themes display post in their home page, for one of my project I wanted to display pages in the home page template</p>
<p>This was the template code</p>
<p><code><br />
<!--?php			 			$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; 			$args=array( 			   'posts_per_page' =--> get_option('theme_home_posts'),<br />
'cat'=&gt;'-'.get_cat_id(get_option('theme_featured')),<br />
'paged'=&gt;$paged,<br />
);<br />
query_posts($args);<br />
while (have_posts()) : the_post(); ?&gt;<br />
</code></p>
<p>To simplify the code, all the post with category theme_featured will display.<br />
I have modified the code to<br />
<code><br />
<!--?php			 			$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; 			$args=array( 			   'posts_per_page' =--> get_option('theme_home_posts'),<br />
'paged'=&gt;$paged,<br />
'post_type' =&gt; 'page',<br />
'post__in' =&gt; array(14,133,380,18,16,12)<br />
);<br />
query_posts($args);<br />
while (have_posts()) : the_post(); ?&gt;<br />
</code></p>
<p>I have removed the category option and included post type and post in option.<br />
Post type defines if its a post or page and post in let wordpress know what post to include</p>
<p>Reffrence:</p>
<ul>
<li>http://codex.wordpress.org/Custom_Queries</li>
<li>http://codex.wordpress.org/Class_Reference/WP_Query</li>
<li>http://wordpress.org/support/topic/page-query-and-post-query-on-the-same-page</li>
</ul>
<p>&nbsp;<br />
<h3 class='related_post_title'>You might be interested in:</h3>
<ul class='related_post'>
<li><a href='http://www.thescube.com/blog/wordpress-vs-drupal-vs-joomla/' title='Wordpress vs Drupal vs Joomla'>WordPress vs Drupal vs Joomla</a></li>
<li><a href='http://www.thescube.com/blog/including-custom-field-in-post/' title='Including custom field in post in wordpress'>Including custom field in post in wordpress</a></li>
<li><a href='http://www.thescube.com/blog/wordpress-featured-image-option-not-avaliable/' title='Wordpress: Featured Image option not avaliable'>WordPress: Featured Image option not avaliable</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thescube.com/blog/wordpress-home-post-as-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

