<?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>Wordpress API &#187; tutorials</title>
	<atom:link href="http://wordpressapi.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://wordpressapi.com</link>
	<description>Wordpress Tutorials, Tips, Code, Hacks, Themes, plugin, Developer Code book -Wordpress Code, Themes, Plugins, Tips, Tutorials, News, Releases, Designs, Hacks, Tricks, Blog</description>
	<lastBuildDate>Tue, 08 May 2012 17:37:16 +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>how to create simple shadow effect in photoshop</title>
		<link>http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/</link>
		<comments>http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 14:32:06 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[effect]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=795</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/Create your own design in photoshop Type a text as a &#8220;wordpressapi&#8221; now select filter option &#62;&#62; artistic &#62;&#62; corked pencil it will look like below Now select &#62;&#62; layer style &#62;&#62;  blending option select drop shadow Incoming search terms:how &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/<div id="attachment_6675" class="wp-caption alignnone<a rel="attachment wp-att-6675" href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/how-to-create-simple-shadow-effect-in-photoshop/"><img class="size-full wp-image-6675" title="how to create simple shadow effect in photoshop" src="http://images.wordpressapi.com/how-to-create-simple-shadow-effect-in-photoshop.png" alt="how to create simple shadow effect in photoshop" width="250" height="250" /></a><p class="wp-caption-text">how to create simple shadow effect in photoshop</p></div>
<p>Create your own design in photoshop</p>
<p>Type a text as a &#8220;wordpressapi&#8221;</p>
<p><a href="http://images.wordpressapi.com/photoshop_shawdo.jpg"><img class="alignnone size-thumbnail wp-image-796" title="photoshop_shawdo" src="http://images.wordpressapi.com/photoshop_shawdo-150x150.jpg" alt="photoshop_shawdo" width="150" height="150" /></a></p>
<p>now select filter option &gt;&gt; artistic &gt;&gt; corked pencil</p>
<p>it will look like below</p>
<p><a href="http://images.wordpressapi.com/photoshop3.JPG"><img class="alignnone size-thumbnail wp-image-797" title="photoshop3" src="http://images.wordpressapi.com/photoshop3-150x150.jpg" alt="photoshop3" width="150" height="150" /></a></p>
<p>Now select &gt;&gt; layer style &gt;&gt;  blending option</p>
<p>select drop shadow</p>
<p><a href="http://images.wordpressapi.com/photoshop4.JPG"><img class="alignnone size-thumbnail wp-image-798" title="photoshop4" src="http://images.wordpressapi.com/photoshop4-150x150.jpg" alt="photoshop4" width="150" height="150" /></a></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="how to give shadow effect in photoshop">how to give shadow effect in photoshop</a></li><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="how to give shadow in photoshop">how to give shadow in photoshop</a></li><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="photoshop create easy shadow">photoshop create easy shadow</a></li><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="photoshop shadow effect free download">photoshop shadow effect free download</a></li><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="photoshop shadow effect plugin">photoshop shadow effect plugin</a></li><li><a href="http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/" title="photoshop wordpress shadow effect">photoshop wordpress shadow effect</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/29/create-simple-shadow-effect-photoshop/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Media Library not displaying images after importing posts</title>
		<link>http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/</link>
		<comments>http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 20:55:55 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://techiego.com/?p=5612</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/Earlier I have blog in wordpressmu  then after wordpress 3.0 version I decided to migrate to new version. I exported my all posts by using the wordpress  export tool. Then I imported data into new wordpress installation. I got all &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/<p>Earlier I have blog in wordpressmu  then after wordpress 3.0 version I decided to migrate to new version. I exported my all posts by using the wordpress  export tool. Then I imported data into new wordpress installation. I got all my posts and category and all the data. Then I checked all my attachments. Then I saw my media library I saw all the images listing are there but images are not showing in media library. I personally faced this issue and that time I got very frustrated.</p>
<p><a rel="attachment wp-att-5613" href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/wordpress-media-library/"><img class="alignnone size-full wp-image-5613" title="wordpress-media-library" src="http://images.wordpressapi.com/wordpress-media-library.png" alt="" width="312" height="286" /></a><br />
When I checked my database I saw the all the my attachments are listed in post table but images are not displaying. All the places I only saw the wp-includes/images/crystal/default.png image.</p>
<p>I did spend one hour googled for solving the issue but I did not found any solution for this. Than again I checked my Folder permissions and images files but I found all things are perfect.<br />
Then I checked my database and I found the issue. in wp_posts table -&gt;post_mime_type column one entry was missing. After seeing that issue I fixed the issue.</p>
<p>I used the following mysql quires using myphpadmin tool.</p>
<pre class="brush: php; title: ; notranslate">
Update wp_posts set post_mime_type='image/jpg' WHERE guid like '%jpg%'
Update wp_posts set post_mime_type='image/jepg' WHERE guid like '%jepg%'
Update wp_posts set post_mime_type='image/png' WHERE guid like '%png%'
Update wp_posts set post_mime_type='image/gif' WHERE guid like '%gif%'
</pre>
<p>After using above query I checked the my media library. I am able to see my all images in media library.</p>
<p>My advise to you is first take backup of your database and then use above mysql quires. Then use the above quries.</p>
<p>If you are imported post from other website then use following commands also.</p>
<pre class="brush: php; title: ; notranslate">

UPDATE wp_posts SET post_content = REPLACE(post_content, 'NEW-DOMAIN-NAME', 'files/');

UPDATE wp_posts SET post_excerpt = REPLACE(post_excerpt, 'NEW-DOMAIN-NAME', 'OLD-DOMAIN-NAME');

UPDATE wp_posts SET guid = REPLACE(guid, 'NEW-DOMAIN-NAME', 'OLD-DOMAIN-NAME');
</pre>
<p>Above quires will change the domain location of file.</p>
<div id="attachment_6678" class="wp-caption alignnone<a rel="attachment wp-att-6678" href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/media-library-not-displaying-images-after-importing-posts-2/"><img class="size-full wp-image-6678" title="Media Library not displaying images after importing posts" src="http://images.wordpressapi.com/Media-Library-not-displaying-images-after-importing-posts.png" alt="Media Library not displaying images after importing posts" width="250" height="250" /></a><p class="wp-caption-text">Media Library not displaying images after importing posts</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library not showing images">wordpress media library not showing images</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="moved files wordpress images not showing up">moved files wordpress images not showing up</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="images in my wordpress site is not showing up in the media library">images in my wordpress site is not showing up in the media library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library not showing">wordpress media library not showing</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="display image thumbnail wordpress after import">display image thumbnail wordpress after import</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library images not showing">wordpress media library images not showing</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library not showing all images">wordpress media library not showing all images</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library replace">wordpress media library replace</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media library wp_posts theme">wordpress media library wp_posts theme</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress mu uploaded media not display">wordpress mu uploaded media not display</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress not see images in library">wordpress not see images in library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress refresh media library">wordpress refresh media library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress media images not loading">wordpress media images not loading</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress importer images media library">wordpress importer images media library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="wordpress import media library">wordpress import media library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="how to imports post with medias in wordpress">how to imports post with medias in wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="images not showing in media wordpress">images not showing in media wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="import photo database to wordpress">import photo database to wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="Import pictures from the wp media library">Import pictures from the wp media library</a></li><li><a href="http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/" title="media library image table name in wordpress">media library image table name in wordpress</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/15/media-library-not-displaying-images-after-importing-posts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>wordpress pagination style without wordpress plugin</title>
		<link>http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/</link>
		<comments>http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 16:22:17 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5552</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/When we think wordpress pagination style then first thing came in mind which is. We need to install wp-pagenavi wordpress plugin for pagination styling. There are multiple pagination plugins available for pagination styling but wp-pagenavi is most popular. I always &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/<p>When we think <a href="http://images.wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" target="_blank">wordpress pagination style</a> then first thing came in mind which is. We need to install wp-pagenavi wordpress plugin for pagination styling. There are multiple pagination plugins available for pagination styling but wp-pagenavi is most popular.</p>
<p>I always recommend wordpress theme developers to not to use the wordpress plugins as much possible because any wordpress plugin will install the extra unuseful code also.</p>
<p><img class="alignnone size-full wp-image-5553" title="wordpress-pagination-without-plugin" src="http://images.wordpressapi.com/wordpress-pagination-without-plugin.jpg" alt="" width="400" height="300" /></p>
<p>Here in this article I am giving you the example about wordpress pagination without using any wordpress plugin.</p>
<p>Just open your functions.php file and put following code.</p>
<pre class="brush: php; title: ; notranslate">

function wpapi_pagination($pages = '', $range = 4)
{
 $showitems = ($range * 2)+1;

 global $paged;
 if(empty($paged)) $paged = 1;

 if($pages == '')
 {
 global $wp_query;
 $pages = $wp_query-&gt;max_num_pages;
 if(!$pages)
 {
 $pages = 1;
 }
 }

 if(1 != $pages)
 {
 echo &quot;&lt;div class=\&quot;wpapi_pagination\&quot;&gt;&lt;span&gt;Page &quot;.$paged.&quot; of &quot;.$pages.&quot;&lt;/span&gt;&quot;;
 if($paged &gt; 2 &amp;&amp; $paged &gt; $range+1 &amp;&amp; $showitems &lt; $pages) echo &quot;&lt;a href='&quot;.get_pagenum_link(1).&quot;'&gt;&amp;laquo; First&lt;/a&gt;&quot;;
 if($paged &gt; 1 &amp;&amp; $showitems &lt; $pages) echo &quot;&lt;a href='&quot;.get_pagenum_link($paged - 1).&quot;'&gt;&amp;lsaquo; Previous&lt;/a&gt;&quot;;

 for ($i=1; $i &lt;= $pages; $i++)
 {
 if (1 != $pages &amp;&amp;( !($i &gt;= $paged+$range+1 || $i &lt;= $paged-$range-1) || $pages &lt;= $showitems ))
 {
 echo ($paged == $i)? &quot;&lt;span class=\&quot;current\&quot;&gt;&quot;.$i.&quot;&lt;/span&gt;&quot;:&quot;&lt;a href='&quot;.get_pagenum_link($i).&quot;' class=\&quot;inactive\&quot;&gt;&quot;.$i.&quot;&lt;/a&gt;&quot;;
 }
 }

 if ($paged &lt; $pages &amp;&amp; $showitems &lt; $pages) echo &quot;&lt;a href=\&quot;&quot;.get_pagenum_link($paged + 1).&quot;\&quot;&gt;Next &amp;rsaquo;&lt;/a&gt;&quot;;
 if ($paged &lt; $pages-1 &amp;&amp;  $paged+$range-1 &lt; $pages &amp;&amp; $showitems &lt; $pages) echo &quot;&lt;a href='&quot;.get_pagenum_link($pages).&quot;'&gt;Last &amp;raquo;&lt;/a&gt;&quot;;
 echo &quot;&lt;/div&gt;\n&quot;;
 }
}
</pre>
<p>Above function will give the <a href="http://images.wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" target="_blank">wordpress pagination style</a> like google search engine.</p>
<p>Then open style.css file from your wordpress theme file and put following code in that file.</p>
<pre class="brush: css; title: ; notranslate">

.wpapi_pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}

.wpapi_pagination span, .wpapi_pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background: #555;
}

.wpapi_pagination a:hover{
color:#fff;
background: #3279BB;
}

.wpapi_pagination .current{
padding:6px 9px 5px 9px;
background: #3279BB;
color:#fff;
}
</pre>
<p>Then finally where you want to show the wordpress pagination there in area put following code (index.php, etc..)</p>
<pre class="brush: php; title: ; notranslate">

if (function_exists(&quot;wpapi_pagination&quot;)) {
 wpapi_pagination($additional_loop-&gt;max_num_pages);
</pre>
<p><img class="alignnone size-full wp-image-5554" title="wordpress-pagination-style" src="http://images.wordpressapi.com/wordpress-pagination-style.png" alt="" width="442" height="107" /></p>
<div id="attachment_6682" class="wp-caption alignnone<a rel="attachment wp-att-6682" href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/wordpress-pagination-style-without-wordpress-plugin/"><img class="size-full wp-image-6682" title="wordpress pagination style without wordpress plugin" src="http://images.wordpressapi.com/wordpress-pagination-style-without-wordpress-plugin.png" alt="wordpress pagination style without wordpress plugin" width="250" height="250" /></a><p class="wp-caption-text">wordpress pagination style without wordpress plugin</p></div>
<p>If you are having any issues or question about adding the<a href="http://images.wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" target="_blank"> wordpress pagination</a> without plugin then please write me.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="pages">pages</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="wordpress pagination style">wordpress pagination style</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="change style of pagination in wordpress">change style of pagination in wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="wordpress pagination code">wordpress pagination code</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="wordpress google-style pagination">wordpress google-style pagination</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="to build styled wordpress pagination without plugin">to build styled wordpress pagination without plugin</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="pagination wordpress without plugin">pagination wordpress without plugin</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="pagination in wordpress without plugin">pagination in wordpress without plugin</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="pagination from directory google style">pagination from directory google style</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="if($paged &gt; 2 &amp;&amp; $paged &gt; $range 1 &amp;&amp; $showitems &lt; $pages) echo &lt;a href=\ get_pagenum_link(1) \&gt;&amp;laquo; first&lt;/a&gt;;">if($paged &gt; 2 &amp;&amp; $paged &gt; $range 1 &amp;&amp; $showitems &lt; $pages) echo &lt;a href=\ get_pagenum_link(1) \&gt;&amp;laquo; first&lt;/a&gt;;</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="how to add pagination view all in wordpress without plugin">how to add pagination view all in wordpress without plugin</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="how set pagination without plugin in wordpress">how set pagination without plugin in wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/" title="wpapi_pagination">wpapi_pagination</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/08/wordpress-pagination-style-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to Convert plain text URI to HTML links in wordpress themes</title>
		<link>http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/</link>
		<comments>http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 19:30:31 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5549</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/When you put some URL and email address you need to manually add the link URL to that text. This action always takes the some time of wordpress blogger. WordPress has facility to add the links to your URL and &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/<p>When you put some URL and email address you need to manually add the link URL to that text. This action always takes the some time of wordpress blogger. WordPress has facility to add the links to your URL and email address automatically.<br />
<img class="alignnone size-large wp-image-5550" title="http www" src="http://images.wordpressapi.com/wordpress-links-make-clickable-600x491.jpg" alt="" width="600" height="491" /></p>
<p>This facility is available in wordpress since wordpress 2.7 version but many wordpress theme and plugin developers never used this functionality.</p>
<p>WordPress provides the make_clickable() function for convert <a href="http://images.wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/">plain text URI to HTML links</a>. This function able to convert URI, www, ftp, and email addresses. Finishes by fixing links within links. You just need to pass the string parameter to this method.</p>
<p>More detail information you can find in following file.<br />
wp-includes/formatting.php.</p>
<p>You can use this method in your functions.php file also. Use the following code.</p>
<pre class="brush: php; title: ; notranslate">
add_filter('the_content', 'make_clickable');
</pre>
<p>By using this code you are able to covert the URI, www, ftp, and email addresses in to link.</p>
<div id="attachment_6685" class="wp-caption alignnone<a rel="attachment wp-att-6685" href="http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/how-to-convert-plain-text-uri-to-html-links-in-wordpress-themes/"><img class="size-full wp-image-6685" title="How to Convert plain text URI to HTML links in wordpress themes" src="http://images.wordpressapi.com/How-to-Convert-plain-text-URI-to-HTML-links-in-wordpress-themes.png" alt="How to Convert plain text URI to HTML links in wordpress themes" width="300" height="246" /></a><p class="wp-caption-text">How to Convert plain text URI to HTML links in wordpress themes</p></div>
<p>If you are having any issues or question about <a href="http://images.wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/">make_clickable</a> method then please write to me.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/" title="action for convert plain url to html links">action for convert plain url to html links</a></li><li><a href="http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/" title="convert html to wordpress themes download">convert html to wordpress themes download</a></li><li><a href="http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/" title="wordpress convert text to links">wordpress convert text to links</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/07/convert-plain-text-uri-html-links-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>show popular posts without wordpress plugin in theme</title>
		<link>http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/</link>
		<comments>http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 19:06:57 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5544</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/Many times you want to show the popular posts in your wordpress theme and you use popular post wordpress plugin or widget for showing the popular posts in your wordpress theme. As much possible you need to avoid the wordpress &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/<p>Many times you want to show the <a href="http://images.wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/">popular posts</a> in your wordpress theme and you use popular post wordpress plugin or widget for showing the popular posts in your wordpress theme. As much possible you need to avoid the wordpress plugins for minimal code.</p>
<p>With very easy steps you can fetch the most popular posts from your wordpress. Most common trick or technique is on comments base you can fetch the popular posts.</p>
<p>You just need to open your functions.php file from wordpress posts and put following code in file.</p>
<pre class="brush: php; title: ; notranslate">

// Get Most Popular Posts in theme
function popular_posts_by_comments( $posts = 5) {
 $popular = new WP_Query('orderby=comment_count&amp;posts_per_page='.$posts);
 while ($popular-&gt;have_posts()) : $popular-&gt;the_post();
?&gt;
&lt;li&gt;
&lt;div&gt;
 &lt;a title=&quot;&lt;?php the_title(); ?&gt;&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
 &lt;span&gt;&lt;?php comments_popup_link('0 Comment', '1 Comment', '% Comments', 'comments-link', ''); ?&gt;&lt;/span&gt;
 &lt;/div&gt; &lt;!--end .info--&gt;
 &lt;div&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;?php endwhile;
}
</pre>
<p>This is very easy code to fetch you <a href="http://images.wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/">wordpress popular posts</a>. Here I am fetching only 5 popular posts from wordpress. You can fetch the multiple popular posts by changing the $post variable value.</p>
<p>In wordpress theme sidebar or footer section if you want to <a href="http://images.wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/">show the popular post</a> then just use following code.</p>
<p>popular_posts_by_comments();</p>
<p><img class="alignnone size-full wp-image-5545" title="popular-posts-wordpress-API" src="http://images.wordpressapi.com/popular-posts-wordpress-API.png" alt="" width="338" height="420" /></p>
<p>where you want to show the <a href="http://images.wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/">popular posts</a>.</p>
<div id="attachment_6687" class="wp-caption alignnone<a rel="attachment wp-att-6687" href="http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/show-popular-posts-without-wordpress-plugin-in-theme/"><img class="size-full wp-image-6687" title="show popular posts without wordpress plugin in theme" src="http://images.wordpressapi.com/show-popular-posts-without-wordpress-plugin-in-theme.png" alt="show popular posts without wordpress plugin in theme" width="300" height="300" /></a><p class="wp-caption-text">show popular posts without wordpress plugin in theme</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/" title="plugin popular posts wordpress">plugin popular posts wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/" title="popular posts widget without plugin">popular posts widget without plugin</a></li><li><a href="http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/" title="wordpress popular post function">wordpress popular post function</a></li><li><a href="http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/" title="wordpress popular posts without plugin">wordpress popular posts without plugin</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/07/show-popular-posts-wordpress-plugin-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove Unwanted Meta Boxes from wordpress dashboard through wordpress theme</title>
		<link>http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/</link>
		<comments>http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 18:35:45 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5538</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/When we login to wordpress admin area that time we first saw the admin dashboard. Many tabs and section are not useful in admin dashboard section for wordpress admin and sometimes we dont know what is that sections. We saw &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/<p>When we login to <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">wordpress admin area</a> that time we first saw the admin dashboard. Many tabs and section are not useful in admin dashboard section for wordpress admin and sometimes we dont know what is that sections.</p>
<p>We saw the right now, recent comments, quick press, stat, recent drafts, incoming links, wordpress development blog, other wordpress news, plugins and more sections in <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">wordpress dashboard section</a>. Most of that section are not useful to wordpress admin. So is that better to remove unwanted section from dashboard.</p>
<p><img class="alignnone size-large wp-image-5541" title="Dashboard-wordpress" src="http://images.wordpressapi.com/Dashboard-wordpress-600x444.png" alt="" width="600" height="444" /></p>
<p>For disable the dashboard section we are going to use the wp_dashboard_setup method. In <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">wordpress dashboard</a> there are multiple meta boxes listed. some of them as follows:</p>
<pre class="brush: php; title: ; notranslate">
//Main column
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']

//Side Column
$wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']
$wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']
$wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']
$wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']
</pre>
<p>For removing the widgets or meta boxes from <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">dashboard </a>you need to open your functions.php file from wordpress theme folder and put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">
function remove_dashboard_meta_boxes(){
  global$wp_meta_boxes;
  unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']);
  unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']);
  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']);
  unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']);
  unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']);
  unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']);
}

add_action('wp_dashboard_setup', 'remove_dashboard_meta_boxes')
</pre>
<p>This code will remove the incoming link, right now, plugins, recent comments and secondary section from <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">wordpress dashboard section</a>.</p>
<p><img class="alignnone size-full wp-image-5539" title="remove_dashboard_meta_boxes" src="http://images.wordpressapi.com/remove_dashboard_meta_boxes.jpg" alt="" width="550" height="352" /></p>
<p>If you want the more information about <a href="http://images.wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/">wordpress dashboard widget</a> then check following URL<br />
<a href="http://codex.wordpress.org/Dashboard_Widgets_API">http://codex.wordpress.org/Dashboard_Widgets_API</a></p>
<p>If you are having any issue or questions about wordpress dashboard then please write to me.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/" title="dashboard of wordpress">dashboard of wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/" title="wordpress dashboard remove_meta_box">wordpress dashboard remove_meta_box</a></li><li><a href="http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/" title="wordpress remove dashboard welcome">wordpress remove dashboard welcome</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/07/remove-unwanted-meta-boxes-wordpress-dashboard-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to protect your images directly accessing through server by apache</title>
		<link>http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/</link>
		<comments>http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 20:15:38 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5534</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/To protect your images or media file you should use apache rewrite rules. To protect your images or other files from being linked or used on another website. Due the this issue your images may be used by many sites. &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/<p>To protect your images or media file you should use apache rewrite rules. To protect your images or other files from being linked or used on another website. Due the this issue your images may be used by many sites.</p>
<div id="attachment_5535" class="wp-caption alignnone<img class="size-full wp-image-5535" title="How to protect your images directly accessing through server by apache" src="http://images.wordpressapi.com/restrict-access-of-images.gif" alt="How to protect your images directly accessing through server by apache" width="250" height="245" /><p class="wp-caption-text">How to protect your images directly accessing through server by apache</p></div>
<p>The Apache Server&#8217;s Mod Rewrite Engine can examine the name of the document requesting a file of a particular type. If the URL of the page requesting the image file is from an allowed  domain, display the image. Otherwise, return a broken image.</p>
<p>There are many people who try to use your website images. That will cut your bandwidth so using this code is good idea.</p>
<p>You can use following apache code in apche config file or put following code in your .htaccess file.</p>
<pre class="brush: php; title: ; notranslate">
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://images.wordpressapi.com/.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wordpressapi.com/files/.*$ [NC]
RewriteRule .*\.jpg$
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://images.wordpressapi.com/.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wordpressapi.com/files/.*$ [NC]
RewriteRule .*\.jpeg$
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://images.wordpressapi.com/.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wordpressapi.com/files/.*$ [NC]
RewriteRule .*\.png$
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://images.wordpressapi.com/.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wordpressapi.com/files/.*$ [NC]
RewriteRule .*\.gif$
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
</pre>
<p>Second thing you should do. you should create the dummy index.html file and put in your images folder for so any visitor will not see the directory listing of images.</p>
<p>If you use above code then when other domain try to see or use the your images then they will see the following error message.</p>
<p>it will result in a Forbidden error.<br />
Still if you are having any issue or question then write to me.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/" title="protect wordpress thru apache">protect wordpress thru apache</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/06/protect-images-accessing-server-apache/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Create multiple widgets in wordpress theme</title>
		<link>http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/</link>
		<comments>http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 19:44:44 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5530</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/Widgets for very important in wordpress themes and plugins. First I need to tell you this widget api is located in following file. wp-includes/widgets.php For enable the sidebar support in wordpress theme you need to register atleast one sidebar in &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/<p>Widgets for very important in wordpress themes and plugins. First I need to tell you this widget api is located in following file.</p>
<p>wp-includes/widgets.php</p>
<p><img class="alignnone size-large wp-image-5531" title="wordpress-widgets" src="http://images.wordpressapi.com/wordpress-widgets-600x384.png" alt="" width="600" height="384" /></p>
<p>For enable the <a href="http://images.wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" target="_blank">sidebar </a>support in wordpress theme you need to register atleast one <a href="http://images.wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" target="_blank">sidebar in wordpress api</a>. For enabling the side bar you need to just open the functions.php file and put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">
if ( function_exists('register_sidebar') )
register_sidebar();
</pre>
<p>This is enable the global sidebar for your wordpress theme.</p>
<p>If you want multiple sidebar in your wordpress theme then use the following code. I created two sidebars in my wordpress theme. First is normal sidebar and second is footer sidebar.</p>
<p>For main sidebar showing just open your sidebar.php file put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">

if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Main Sidebar') ) :
 endif;
</pre>
<p>For showing second<a href="http://images.wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" target="_blank"> widget in footer section</a> open your footer.php file and put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">

if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Sidebar') ) :
 endif;
</pre>
<p>Then go to your widget section through admin panel and select your widget which you want to show in widget sections.</p>
<div id="attachment_6797" class="wp-caption alignnone<a rel="attachment wp-att-6797" href="http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/create-multiple-widgets-in-wordpress-theme/"><img class="size-full wp-image-6797" title="Create multiple widgets in wordpress theme" src="http://images.wordpressapi.com/Create-multiple-widgets-in-wordpress-theme.jpg" alt="Create multiple widgets in wordpress theme" width="250" height="250" /></a><p class="wp-caption-text">Create multiple widgets in wordpress theme</p></div>
<p>If you are having any issues or question about using widget in wordpress theme then write to me.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" title="php footer multiple widgets wordpress">php footer multiple widgets wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" title="add multiple widgets to wordpress theme">add multiple widgets to wordpress theme</a></li><li><a href="http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" title="create multi footer for wordpress">create multi footer for wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/" title="wordpress create multiple widget">wordpress create multiple widget</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/06/create-multiple-widgets-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use the wordpress shortcode api in wordpress pages or post and widgets</title>
		<link>http://wordpressapi.com/2010/12/06/use-the-wordpress-shortcode-api-in-wordpress-pages/</link>
		<comments>http://wordpressapi.com/2010/12/06/use-the-wordpress-shortcode-api-in-wordpress-pages/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 19:17:07 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[wordpress tutorials]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5526</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/06/use-the-wordpress-shortcode-api-in-wordpress-pages/Short code api is introduced in wordpress from 2.5 version. Since short code is very popular and used by wordpress plugin developers. Many wordpress theme and plugin developers do use the shortcode api regularly. Using shortcode api is very easy. &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/06/use-the-wordpress-shortcode-api-in-wordpress-pages/<p>Short code api is introduced in wordpress from 2.5 version. Since short code is very popular and used by wordpress plugin developers. Many wordpress theme and plugin developers do use the <a href="http://images.wordpressapi.com/2010/12/06/wordpress-shortcode-api-wordpress-pages/" target="_blank">shortcode api</a> regularly.</p>
<div id="attachment_5527" class="wp-caption alignnone<img class="size-full wp-image-5527" title="Use the wordpress shortcode api in wordpress pages or post and widgets" src="http://images.wordpressapi.com/wordpress-shortcode.png" alt="Use the wordpress shortcode api in wordpress pages or post and widgets" width="240" height="240" /><p class="wp-caption-text">Use the wordpress shortcode api in wordpress pages or post and widgets</p></div>
<p>Using <a href="../2010/12/06/wordpress-shortcode-api-wordpress-pages/" target="_blank">shortcode api</a> is very easy. If you want to use the shortcode in your wordpress theme then open your functions.php file and put following code. Here is example for using shortcode.</p>
<pre class="brush: php; title: ; notranslate">

function wordpressapi_content() {

echo &quot;Hello World&quot;;

}

add_shortcode('wordpressapi_content', 'wordpressapi_content');
</pre>
<p>Create any page and just put following line in that post or page.</p>
<p>[wordpressapi_content]</p>
<p>If you put following code in your page or post then you can see the hello world content in your page or post.</p>
<p>If you want to add the google adsence using shortoce then use the following code.</p>
<pre class="brush: php; title: ; notranslate">

function google_adsence($atts) {
 return ' &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4949877136251097&quot;;
/* 160x600, created 4/7/08 */
google_ad_slot = &quot;5503695728&quot;;
google_ad_width = 160;
google_ad_height = 600;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
'
}

add_shortcode('google_adsence', 'google_adsence');
</pre>
<p>Then just put the following words in your post or page or widget section.</p>
<p>[google_adsence]</p>
<p>Your adsence will be displayed. For advanced information about shortcode you should check following URL</p>
<p><a href="http://svn.automattic.com/wordpress-tests/wp-testcase/test_shortcode.php" target="_blank">http://svn.automattic.com/wordpress-tests/wp-testcase/test_shortcode.php</a></p>
<p>If you are having any issues or question about shortcode then please write to me.</p>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/06/use-the-wordpress-shortcode-api-in-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>What is reset css &amp; How to use the reset CSS</title>
		<link>http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/</link>
		<comments>http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 19:55:29 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[css tips]]></category>
		<category><![CDATA[css tutorials]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://images.wordpressapi.com/?p=5516</guid>
		<description><![CDATA[http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/Many new web developers or web application developers may be did not heard about reset CSS. Many web developers use the global selectors and global CSS styling. That is very basic reason behind that. They want to display there CSS &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/<p>Many new web developers or web application developers may be did not heard about reset CSS. Many web developers use the global selectors and global CSS styling. That is very basic reason behind that. They want to display there CSS style across the various browsers.</p>
<h2>What is Reset CSS?</h2>
<p>The goal of a reset stylesheet is to reduce browser inconsistencies in  things like default line heights, margins and font sizes of headings,  and so on. With reset CSS you are overriding the setting of various browser setting and elements. There are inconsistencies with every browser. For reducing the issues and setting of browser you need to reset the browser properties.</p>
<p><img class="alignnone size-full wp-image-5517" title="reset-css" src="http://images.wordpressapi.com/reset-css.png" alt="" width="385" height="210" /></p>
<p>With reset CSS you can set the border, font color, color, margin, padding, img, h1, a, etc properties. The problem is that every browser’s stylesheet has subtle but fundamental differences. By using a CSS reset. There are many big sites and tool available for using the reset the CSS.</p>
<p>In reset CSS you need to use the most common HTML tags and there properties for reset there CSS properties.</p>
<p>you can also create you reset CSS as per your website need. There are many useful and good reset available. I like the YUI reset CSS most because that is really useful.</p>
<p>For using the YUI reset CSS you need to just add the following line in your website.</p>
<pre class="brush: css; title: ; notranslate">
&lt;!-- Source File --&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css&quot;&gt;
</pre>
<p>For more information about YUI reset css you can visit the following URL<br />
<a href="http://developer.yahoo.com/yui/3/cssreset/">http://developer.yahoo.com/yui/3/cssreset/</a></p>
<p>Following reset css is most common in each and every website and following code is useful for every website.</p>
<pre class="brush: css; title: ; notranslate">
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
</pre>
<p>Reset CSS is really useful for every website. do use the reset CSS in you stylesheet. There is another good reset CSS called blueprint which you download from following URL.<br />
<a href="http://code.google.com/p/blueprintcss/">http://code.google.com/p/blueprintcss/</a>.</p>
<p><img class="alignnone size-full wp-image-5518" title="reset-css" src="http://images.wordpressapi.com/reset-css1.png" alt="" width="600" height="200" /><br />
Some people are saying dont use the reset css because that will increase the your css size but I must admin this thing.<br />
you should use the reset css that will save your big time.</p>
<div id="attachment_6705" class="wp-caption alignnone<a rel="attachment wp-att-6705" href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/what-is-reset-css-and-how-to-use-the-reset-css-2/"><img class="size-full wp-image-6705" title="What is reset css and How to use the reset CSS" src="http://images.wordpressapi.com/What-is-reset-css-and-How-to-use-the-reset-CSS.jpg" alt="What is reset css and How to use the reset CSS" width="250" height="250" /></a><p class="wp-caption-text">What is reset css and How to use the reset CSS</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use reset css">how to use reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use css reset">how to use css reset</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="what is reset css">what is reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use a css reset">how to use a css reset</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="wordpress reset css">wordpress reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="wordpress css reset">wordpress css reset</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="why we use reset css in html">why we use reset css in html</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="where to use reset css">where to use reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="what is use of reset css">what is use of reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="what is reset css in wordpress">what is reset css in wordpress</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="what is reset css &amp; how to use the reset css">what is reset css &amp; how to use the reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="why use reset css">why use reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="using reset css">using reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="use of reset css">use of reset css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="reset css min complete">reset css min complete</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="is good to use css reset in wordpress?">is good to use css reset in wordpress?</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use yui css reset">how to use yui css reset</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use reset in css">how to use reset in css</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use reset css file">how to use reset css file</a></li><li><a href="http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/" title="how to use css resert">how to use css resert</a></li></ul><p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2010/12/02/what-is-reset-css-and-how-to-use-the-reset-css/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: wordpressapi.com @ 2012-05-23 18:37:17 by W3 Total Cache -->
