<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Wordpress API</title>
	
	<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, 21 May 2013 06:12:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wordpressapi" /><feedburner:info uri="wordpressapi" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology/Tech News</media:category><itunes:owner><itunes:email>wordpressapi@gmail.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>Wordpress Tutorials, Tips, Code, Hacks, Themes, plugin, Developer Code book -Wordpress Code, Themes, Plugins, Tips, Tutorials, News, Releases, Designs, Hacks, Tricks, Blog</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Tech News" /></itunes:category><feedburner:emailServiceId>wordpressapi</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>WordPress Under Huge Attack by Malicious Botnet: Protect your WP</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/RPd9pcuJTRE/</link>
		<comments>http://wordpressapi.com/2013/05/21/wordpress-huge-attack-by-malicious-botnet-protect-your-wp/#comments</comments>
		<pubDate>Tue, 21 May 2013 06:12:04 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7169</guid>
		<description><![CDATA[http://wordpressapi.com/2013/05/21/wordpress-huge-attack-by-malicious-botnet-protect-your-wp/From last two months wordpress sites are under huge attack by Malicious Botnet. Hackers are using thousands of individual computers and IP addresses. The botnet goes for the most obvious hack attempt: target sites with admin as the username , &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/05/21/wordpress-huge-attack-by-malicious-botnet-protect-your-wp/<p>From last two months wordpress sites are under huge attack by Malicious Botnet. Hackers are using thousands of individual computers and IP addresses. The botnet goes for the most obvious hack attempt: target sites with admin as the username , and will try to access that site’s password with a combination of thousands of possible passwords.</p>
<p>The WordPress site currently powers over 60 million websites and read by over a quarter of a billion users every month.When survey website W3Techs conducted a survey, it was found that 17% of the world’s websites are powered by WordPress.</p>
<p>While the attack may only succeed a small percentage of the time, the attack could result in hundreds or thousands of compromised servers when averaged over tens of thousands of sites powered by WordPress software.</p>
<p>I recommend following solutions for handling this issue<br />
<a title="http://www.digitalkonline.com/blog/change-your-wordpress-admin-username/" href="http://www.digitalkonline.com/blog/change-your-wordpress-admin-username/" target="_blank"><strong>Change your WordPress admin Username</strong></a></p>
<p>We can use the following article for changing the admin username<br />
http://www.digitalkonline.com/blog/change-your-wordpress-admin-username/</p>
<p><strong>Update wordpress version</strong><br />
WordPress founder Matt Mullenweg advises that if you do these first three “you’ll be ahead of 99% of sites out there and probably never have a problem.”</p>
<p><a title="http://wordpress.org/plugins/better-wp-security/" href="http://wordpress.org/plugins/better-wp-security/" target="_blank"><strong>Use the Better WP Security plugin</strong></a><br />
As most WordPress attacks are a result of plugin vulnerabilities, weak passwords, and obsolete software. Better WP Security will hide the places those vulnerabilities live keeping an attacker from learning too much about your site and keeping them away from sensitive areas like login, admin, etc.Better WP Security takes the best WordPress security features and techniques and combines them in a single plugin thereby ensuring that as many security holes as possible are patched without having to worry about conflicting features or the possibility of missing anything on your site.</p>
<p>With one-click activation for most features as well as advanced features for experienced users Better WP Security can help protect any site.<br />
http://wordpress.org/plugins/better-wp-security/</p>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/RPd9pcuJTRE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/05/21/wordpress-huge-attack-by-malicious-botnet-protect-your-wp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/05/21/wordpress-huge-attack-by-malicious-botnet-protect-your-wp/</feedburner:origLink></item>
		<item>
		<title>Using get_post_meta in wordpress post in the functions.php file: Smart way</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/K0gQ14RJD1Y/</link>
		<comments>http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/#comments</comments>
		<pubDate>Thu, 02 May 2013 08:25:23 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[php function]]></category>
		<category><![CDATA[shorthand]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7162</guid>
		<description><![CDATA[http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/The get_post_meta method is very useful in wordpress If you want to shorthand the get_post_meta call for the current post then you can use following: you can use above method through functions.php file. You need to put following code in &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/<p>The get_post_meta method is very useful in wordpress</p>
<p>If you want to shorthand the get_post_meta call for the current post then you can use following:<br />
you can use above method through functions.php file. You need to put following code in file:</p>
<pre class="brush: php; title: ; notranslate">
function get_current_post_meta($key,$postID=null){
if(empty($postID)) {
global $post;
return get_post_meta($post-&gt;ID,$key,true);
} else {
return get_post_meta($postID,$key,true);
}
}
</pre>
<p>and you can call it like this:</p>
<pre class="brush: php; title: ; notranslate">
echo get_current_post_meta('custom_tags');
</pre>
<p>Using above method you can pass the post id also.</p>
<a href="http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/wordpress-api-custom-post-meta/" rel="attachment wp-att-7163"><img class="size-full wp-image-7163" title="Using get_post_meta in wordpress post in the functions.php file: Smart way" src="http://images.wordpressapi.com/Wordpress-API-custom-post-meta.png" alt="Using get_post_meta in wordpress post in the functions.php file: Smart way" width="788" height="258" /></a> Using get_post_meta in wordpress post in the functions.php file: Smart way
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/K0gQ14RJD1Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/05/02/get_post_meta-wordpress-post-functions-php-file-smart/</feedburner:origLink></item>
		<item>
		<title>wordpress 3.5 is Worst Update in Wordpess release History</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/tPQsq-T2SdU/</link>
		<comments>http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 09:03:19 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[updation]]></category>
		<category><![CDATA[wordpress release]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7158</guid>
		<description><![CDATA[http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/I have very high traffic site which is in wordpress CMS. I updated my three of sites to wordpress 3.5 and my site goes down after updation. I faced lots of issues due to this update. To figure out the &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/<p>I have very high traffic site which is in wordpress CMS.<br />
I updated my three of sites to wordpress 3.5 and my site goes down after updation.<br />
I faced lots of issues due to this update. To figure out the issue I spent the hours.<br />
After that I finalized to downgrade the wordpress version to 3.4.2</p>
<p>WordPress really did something messy in this release.</p>
<p>I downgraded my wordpress 3.5 to 3.4.2 wordpress release. Now my sites are stable.<br />
I took help from following articles.</p>
<p>http://iblog4dollars.com/2013/01/02/wordpress-problems-how-to-downgrade-from-wordpress-3-5/</p>
<p>Some points are not mentioned in above article. Which is as follows:<br />
Keep your wp-config.php, .htaccess and robots.txt file<br />
Do not forget about sitemap.xml files.</p>
<a href="http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/wordpress-downgrade/" rel="attachment wp-att-7159"><img class="size-full wp-image-7159" title="wordpress 3.5 is Worst Update in Wordpess release History" src="http://images.wordpressapi.com/wordpress-downgrade.png" alt="wordpress 3.5 is Worst Update in Wordpess release History" width="400" height="400" /></a> wordpress 3.5 is Worst Update in Wordpess release History
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/tPQsq-T2SdU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/04/30/wordpress-3-5-worst-update-wordpess-release-history/</feedburner:origLink></item>
		<item>
		<title>Do not use many wordpress plugins in website for SEO</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/tV8f91nD6Ps/</link>
		<comments>http://wordpressapi.com/2013/03/05/do-not-use-many-wordpress-plugins-in-website-for-seo/#comments</comments>
		<pubDate>Tue, 05 Mar 2013 19:27:12 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[best wordpress plugins]]></category>
		<category><![CDATA[free plugins]]></category>
		<category><![CDATA[wordpress blog]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7152</guid>
		<description><![CDATA[http://wordpressapi.com/2013/03/05/do-not-use-many-wordpress-plugins-in-website-for-seo/There are so many wordpress plugins which are free to download. There are more then 21500 wordpress plugins till date of jan 2013. There are several nice plugins also which we need to use. You can refer following articles. Best &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/03/05/do-not-use-many-wordpress-plugins-in-website-for-seo/<p>There are so many wordpress plugins which are free to download. There are more then 21500 wordpress plugins till date of jan 2013. There are several nice plugins also which we need to use.</p>
<p>You can refer following articles.</p>
<ol>
<li><a title="http://wordpressapi.com/2011/04/14/best-wordpress-plugins-for-wordpress-security-and-protection/" href="http://wordpressapi.com/2011/04/14/best-wordpress-plugins-for-wordpress-security-and-protection/" target="_blank">Best wordpress plugins for wordpress security and protection</a></li>
<li><a title="http://wordpressapi.com/2011/03/21/wordpress-plugins-stats-statistics/" href="http://wordpressapi.com/2011/03/21/wordpress-plugins-stats-statistics/" target="_blank">wordpress plugins for stats or statistics</a></li>
<li><a title="http://wordpressapi.com/2010/02/01/16-wordpress-plugins-wordpress-blog-install/" href="http://wordpressapi.com/2010/02/01/16-wordpress-plugins-wordpress-blog-install/" target="_blank">16 Best WordPress Plugins which every WordPress Blog Should install</a></li>
</ol>
<p><strong>If you use many plugins then slow down the site</strong></p>
<p>You have more then 30+ plugins then that plugin will execute the extra sql quries while opening each and every page. Depends on your wordpress plugins which is installed on your site. your site load slowly.</p>
<p><strong>Some free plugins will ad the unnecessary code in your site </strong></p>
<p>Some wordpress plugins add the some unnecessary javascript and PHP code to your site. Some plugins will use your site for there advertising purpose. So first check the plugin review.</p>
<p><strong>Some wordpress plugins are not safe to install</strong></p>
<p>Some wordpress plugins are not secure to install in site. It may cause the security issue. Some plugins are easy target for hackers. You should read the some review about plugin before start using in your site.</p>
<p><strong>Some wordpress plugin will cause issues in your site</strong></p>
<p>Before installing the wordpress plugins you should create development or test site and on development site you should first try to install the new wordpress plugins. After that you should install on current site. Some plugins will cause the jquery conflicts in your site.</p>
<a href="http://images.wordpressapi.com/Do-not-use-many-wordpress-plugins-in-website-for-SEO.jpg"><img class="size-full wp-image-7153" alt="Do not use many wordpress plugins in website for SEO" src="http://images.wordpressapi.com/Do-not-use-many-wordpress-plugins-in-website-for-SEO.jpg" width="519" height="472" /></a> Do not use many wordpress plugins in website for SEO
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/tV8f91nD6Ps" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/03/05/do-not-use-many-wordpress-plugins-in-website-for-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/03/05/do-not-use-many-wordpress-plugins-in-website-for-seo/</feedburner:origLink></item>
		<item>
		<title>How to load the custom javascript to custom page template in wordpress</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/KlY5I9bH2J0/</link>
		<comments>http://wordpressapi.com/2013/02/27/how-to-load-the-custom-javascript-to-custom-page-template-in-wordpress/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 17:49:08 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[custom javascript]]></category>
		<category><![CDATA[load template]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7146</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/27/how-to-load-the-custom-javascript-to-custom-page-template-in-wordpress/For many pupose and designs we use the page template in wordpress site. Some time we need to load the custom javascript to page template. For that we can use following code. For loading any script or any custom code &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/27/how-to-load-the-custom-javascript-to-custom-page-template-in-wordpress/<p>For many pupose and designs we use the page template in wordpress site. Some time we need to load the custom javascript to page template.</p>
<p>For that we can use following code.</p>
<pre class="brush: php; title: ; notranslate">
add_action('wp_enqueue_scripts','Load_Template_Scripts_wpapi');
function Load_Template_Scripts_wpapi(){
    if ( is_page_template('custom-page.php') ) {
        wp_enqueue_script('my-script', 'path/to/script.js');
    }
}
</pre>
<p>For loading any script or any custom code you can use above action in wordpress. Above code you need to add in functions.php file. Which you can find in your wordpress theme folder.</p>
<a href="http://images.wordpressapi.com/How-to-use-category-wise-background-images-in-wordpress1.jpg"><img class="size-full wp-image-7147" alt="How to load the custom javascript to custom page template in wordpress" src="http://images.wordpressapi.com/How-to-use-category-wise-background-images-in-wordpress1.jpg" width="500" height="500" /></a> How to load the custom javascript to custom page template in wordpress
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/KlY5I9bH2J0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/27/how-to-load-the-custom-javascript-to-custom-page-template-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/27/how-to-load-the-custom-javascript-to-custom-page-template-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>How to use category wise background images in wordpress</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/NHiwzlkKzik/</link>
		<comments>http://wordpressapi.com/2013/02/25/how-to-use-category-wise-background-images-in-wordpress/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 19:32:41 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[body class]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7141</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/25/how-to-use-category-wise-background-images-in-wordpress/WordPress has category feature, We can use the wordpress category for many purpose. Some time we want use category images for show the category content. Some time we want use the category wise background images in your website. For category &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/25/how-to-use-category-wise-background-images-in-wordpress/<p>WordPress has category feature, We can use the wordpress category for many purpose.</p>
<p>Some time we want use category images for show the category content. Some time we want use the category wise background images in your website.</p>
<p><strong>For category images you can use the some nice wordpress plugins.</strong></p>
<ul>
<li><a title="categories images" href="http://wordpress.org/extend/plugins/categories-images/" target="_blank">Categories Images</a></li>
</ul>
<p>The Categories Images Plugin allow you to add image with category or taxonomy.</p>
<ul>
<li><a title="Category and Page Icons" href="http://wordpress.org/extend/plugins/category-page-icons/" target="_blank">Category and Page Icons</a></li>
</ul>
<p>Using this plugin, you can add icons (images) to sidebar of your site or blog into section of categories and pages.</p>
<p>For category background images you need know about body_class() method. Detailed information you can find on following page.</p>
<p><a title="http://codex.wordpress.org/Function_Reference/body_class" href="http://codex.wordpress.org/Function_Reference/body_class" target="_blank">Body_class()</a></p>
<p>If you have wpapi category then you can use following CSS.</p>
<ul>
<li>If they are there, you can use these as selectors in your CSS: body.category-wpapi { /* code here */ }, etc.</li>
<li>If not, add the <code>body_class()</code> function to the &lt;body&gt; tag in your theme, probably located in header.php. It works like this:<br />
&lt;body &lt;?php body_class(); ?&gt;&gt;</li>
</ul>
<a href="http://images.wordpressapi.com/How-to-use-category-wise-background-images-in-wordpress.jpg"><img class="size-full wp-image-7144" alt="How to use category wise background images in wordpress" src="http://images.wordpressapi.com/How-to-use-category-wise-background-images-in-wordpress.jpg" width="500" height="500" /></a> How to use category wise background images in wordpress
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/NHiwzlkKzik" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/25/how-to-use-category-wise-background-images-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/25/how-to-use-category-wise-background-images-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>How to save the meta data in wordpress custom post type</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/moj3HCeY0iM/</link>
		<comments>http://wordpressapi.com/2013/02/21/how-to-save-the-meta-data-in-wordpress-custom-post-type/#comments</comments>
		<pubDate>Thu, 21 Feb 2013 16:45:36 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[custom post type]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7137</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/21/how-to-save-the-meta-data-in-wordpress-custom-post-type/Custom post type are very important in wordpress. There are some nice plugins for creating the post type but I recommend custom code in function.php file. I already written about custom post type. If you want to know about custom &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/21/how-to-save-the-meta-data-in-wordpress-custom-post-type/<p>Custom post type are very important in wordpress. There are some nice plugins for creating the post type but I recommend custom code in function.php file.</p>
<p>I already written about custom post type. If you want to know about custom post type in detail then you can use following articles.</p>
<ul>
<li><strong><a title="create custom post type with permalink" href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" target="_blank">Create custom post type with permalink</a></strong></li>
<li><strong><a title="How to add the custom post type with associated tags and category" href="http://wordpressapi.com/2011/11/28/how-to-add-the-custom-post-type-with-associated-tags-and-category/" target="_blank">How to add the custom post type with associated tags and category</a></strong></li>
<li><strong><a title="How to use the custom post type in wordpress " href="http://wordpressapi.com/2010/11/22/how-to-use-the-custom-post-type-in-wordpress-3-0/" target="_blank">How to use the custom post type in wordpress </a></strong></li>
<li><strong><a title="add tags support in custom post type" href="http://wordpressapi.com/2011/03/02/add-tags-support-custom-post-type/" target="_blank">Add tags support in custom post type</a></strong></li>
<li><strong><a title="File upload with add_meta_box or custom_post_type in wordpress" href="http://wordpressapi.com/2010/11/22/file-upload-with-add_meta_box-or-custom_post_type-in-wordpress/" target="_blank">File upload with add_meta_box or custom_post_type in wordpress</a></strong></li>
</ul>
<p>Here in this tutorial I showed How to save the meta data for your custom post type.</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'add_meta_boxes', 'job_detail_box' );

function job_detail_box() {
add_meta_box(
'job_detail_box',
__( 'job Detail', 'myplugin_textdomain' ),
'job_detail_box_content',
'job',
'normal',
'high'
);
}

function job_detail_box_content( $post ) {
// No need to globalise a post that is an argument on this callback
$meta_p = get_post_meta($post-&gt;ID, &quot;jobs_price&quot;, true);
$meta_l = get_post_meta($post-&gt;ID, &quot;jobs_location&quot;, true);

echo '&lt;input type=&quot;hidden&quot; name=&quot;jobs-nonce&quot; id=&quot;jobs-nonce&quot; value=&quot;' . wp_create_nonce( 'jobs-nonce' ) . '&quot; /&gt;';

?&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;label&gt;job Price&lt;/label&gt;&lt;input name=&quot;jobs_price&quot; value=&quot;&lt;?php echo $meta_p; ?&gt;&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;label&gt;job Location&lt;/label&gt;&lt;input name=&quot;jobs_location&quot; size=&quot;50&quot; value=&quot;&lt;?php echo $meta_l; ?&gt;&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;?php
}

add_action ('save_post', 'save_jobs');

// The save_post hook provides the post id to the return function
function save_jobs( $post_id ){

if ( !wp_verify_nonce( $_POST['jobs-nonce'], 'jobs-nonce' )) {
return $post_id;
}

if ( !current_user_can( 'edit_post', $post_id ))
return $post_id;

update_post_meta($post_id, &quot;jobs_price&quot;, $POST['jobs_price'] );
update_post_meta($post_id, &quot;jobs_location&quot;, $POST['jobs_location'] );
}

</pre>
<a href="http://images.wordpressapi.com/How-to-save-the-meta-data-in-wordpress-custom-post-type.jpg"><img class="size-full wp-image-7138" alt="How to save the meta data in wordpress custom post type" src="http://images.wordpressapi.com/How-to-save-the-meta-data-in-wordpress-custom-post-type.jpg" width="450" height="324" /></a> How to save the meta data in wordpress custom post type
<pre>

</pre>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/moj3HCeY0iM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/21/how-to-save-the-meta-data-in-wordpress-custom-post-type/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/21/how-to-save-the-meta-data-in-wordpress-custom-post-type/</feedburner:origLink></item>
		<item>
		<title>How to protect from wordpress spam comments words and increase the SEO</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/sAQNY4W9S5s/</link>
		<comments>http://wordpressapi.com/2013/02/20/how-to-protect-from-wordpress-spam-comments-words-and-increase-seo/#comments</comments>
		<pubDate>Wed, 20 Feb 2013 16:26:50 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[spam comments]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7130</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/20/how-to-protect-from-wordpress-spam-comments-words-and-increase-seo/Spam comments is really major issue with wordpress. Spam comments will effect your site SEO. You should delete the spam word comments from wordpress site. For SEO of your site deleting spam word comments is good. Here are some steps &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/20/how-to-protect-from-wordpress-spam-comments-words-and-increase-seo/<p>Spam comments is really major issue with wordpress. Spam comments will effect your site SEO.<br />
You should delete the spam word comments from wordpress site.</p>
<p>For SEO of your site deleting spam word comments is good.</p>
<p><strong>Here are some steps for protecting your wordpress site.</strong></p>
<p>You may copy and paste the following list to the Comment Moderation box in your wp-admin/options-discussions.php page:</p>
<ul>
<li>-online</li>
<li>4u</li>
<li>adipex</li>
<li>advicer</li>
<li>baccarrat</li>
<li>blackjack</li>
<li>bllogspot</li>
<li>booker</li>
<li>byob</li>
<li>car-rental-e-site</li>
<li>car-rentals-e-site</li>
<li>carisoprodol</li>
<li>casino</li>
<li>casinos</li>
<li>chatroom</li>
<li>cialis</li>
<li>coolcoolhu</li>
<li>coolhu</li>
<li>credit-card-debt</li>
<li>credit-report-4u</li>
<li>cwas</li>
<li>cyclen</li>
<li>cyclobenzaprine</li>
<li>dating-e-site</li>
<li>day-trading</li>
<li>debt-consolidation</li>
<li>debt-consolidation-consultant</li>
<li>discreetordering</li>
<li>duty-free</li>
<li>dutyfree</li>
<li>equityloans</li>
<li>fioricet</li>
<li>flowers-leading-site</li>
<li>freenet-shopping</li>
<li>freenet</li>
<li>gambling-</li>
<li>hair-loss</li>
<li>health-insurancedeals-4u</li>
<li>homeequityloans</li>
<li>homefinance</li>
<li>holdem</li>
<li>holdempoker</li>
<li>holdemsoftware</li>
<li>holdemtexasturbowilson</li>
<li>hotel-dealse-site</li>
<li>hotele-site</li>
<li>hotelse-site</li>
<li>incest</li>
<li>insurance-quotesdeals-4u</li>
<li>insurancedeals-4u</li>
<li>jrcreations</li>
<li>levitra</li>
<li>macinstruct</li>
<li>mortgage-4-u</li>
<li>mortgagequotes</li>
<li>online-gambling</li>
<li>onlinegambling-4u</li>
<li>ottawavalleyag</li>
<li>ownsthis</li>
<li>palm-texas-holdem-game</li>
<li>paxil</li>
<li>penis</li>
<li>pharmacy</li>
<li>phentermine</li>
<li>poker-chip</li>
<li>poze</li>
<li>pussy</li>
<li>rental-car-e-site</li>
<li>ringtones</li>
<li>roulette</li>
<li>shemale</li>
<li>shoes</li>
<li>slot-machine</li>
<li>texas-holdem</li>
<li>thorcarlson</li>
<li>top-site</li>
<li>top-e-site</li>
<li>tramadol</li>
<li>trim-spa</li>
<li>ultram</li>
<li>valeofglamorganconservatives</li>
<li>viagra</li>
<li>vioxx</li>
<li>xanax</li>
<li>zolus</li>
</ul>
<p>There are some nice plugins also which is helpful for protecting your site from spam comments.<br />
You should activate the Akismet wordpress plugin.<br />
Akismet is quite possibly the best way in the world to protect your blog from comment and trackback spam. It keeps your site protected from spam even while you sleep.</p>
<p>You should check the following option from wordpress:</p>
<p>Before a comment appears: (Options)</p>
<ol>
<li>Before a comment appears An administrator must always approve the comment</li>
<li>Comment author must have a previously approved comment</li>
</ol>
<p><strong>If you have many spam word comments in your site then you should use sql query for delete the spam comments.</strong></p>
<pre class="brush: php; title: ; notranslate">
DELETE FROM wp_comments WHERE comment_content LIKE '%&lt;a%';
DELETE FROM wp_comments WHERE comment_author LIKE '%&lt;a%';
DELETE FROM wp_comments WHERE comment_author_url LIKE '%health%';
</pre>
<p>You should replace the spam comments words in SQL query. Using above sql query you can delete the all spam word comments.</p>
<p>For SEO purpose following options are very important.</p>
<a href="http://images.wordpressapi.com/How-to-protect-from-wordpress-spam-comments-words-and-increase-the-SEO.jpg"><img class="size-full wp-image-7131" alt="How to protect from wordpress spam comments words and increase the SEO" src="http://images.wordpressapi.com/How-to-protect-from-wordpress-spam-comments-words-and-increase-the-SEO.jpg" width="600" height="600" /></a> How to protect from wordpress spam comments words and increase the SEO
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/sAQNY4W9S5s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/20/how-to-protect-from-wordpress-spam-comments-words-and-increase-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/20/how-to-protect-from-wordpress-spam-comments-words-and-increase-seo/</feedburner:origLink></item>
		<item>
		<title>how to display post count of all wordpress tags</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/sxDrNGOXAas/</link>
		<comments>http://wordpressapi.com/2013/02/19/display-post-count-wordpress-tags/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 17:12:13 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress tags]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7127</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/19/display-post-count-wordpress-tags/In wordpress post we use the many post tags. For SEO purpose we can show the post tags. If we want to show the post count related to wordpress tags. You can use following code: Follow us on Twitter WordPress &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/19/display-post-count-wordpress-tags/<p>In wordpress post we use the many post tags. For SEO purpose we can show the post tags.</p>
<p>If we want to show the post count related to wordpress tags.</p>
<p>You can use following code:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
//list all tags that are assigned to posts
$taxonomy = 'post_tag';
$terms = get_terms( $taxonomy, '' );
if ($terms) {
foreach($terms as $term) {
if ($term-&gt;count &gt; 0) {
echo '&lt;p&gt;' . '&lt;a href=&quot;' . esc_attr(get_term_link($term, $taxonomy)) . '&quot; title=&quot;' . sprintf( __( &quot;View all posts in %s&quot; ), $term-&gt;name ) . '&quot; ' . '&gt;' . $term-&gt;name.'&lt;/a&gt; has ' . $term-&gt;count . ' post(s). &lt;/p&gt; ';
}
}
}
?&gt;
</pre>
<p><a href="http://images.wordpressapi.com/how-to-display-post-count-of-wordpress-tags.jpg"><img class="alignnone size-medium wp-image-7128" alt="how-to-display-post-count-of-wordpress-tags" src="http://images.wordpressapi.com/how-to-display-post-count-of-wordpress-tags-300x300.jpg" width="300" height="300" /></a></p>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/sxDrNGOXAas" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/19/display-post-count-wordpress-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/19/display-post-count-wordpress-tags/</feedburner:origLink></item>
		<item>
		<title>How to List the child pages by post slug OR post ID</title>
		<link>http://feedproxy.google.com/~r/wordpressapi/~3/e0yOXnPF_1s/</link>
		<comments>http://wordpressapi.com/2013/02/18/list-child-pages-post-slug-post-id/#comments</comments>
		<pubDate>Mon, 18 Feb 2013 17:14:48 +0000</pubDate>
		<dc:creator>wordpressapi@gmail.com</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[page id]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=7122</guid>
		<description><![CDATA[http://wordpressapi.com/2013/02/18/list-child-pages-post-slug-post-id/First find the page id using page title or page page slug. For post title use following code: For post slug use following code: Now List the child page by post slug Follow us on Twitter WordPress API]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2013/02/18/list-child-pages-post-slug-post-id/<p>First find the page id using page title or page page slug.</p>
<p>For post title use following code:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
$page = get_page_by_title( 'About' );
wp_list_pages( 'exclude=' . $page-&gt;ID );
?&gt;
</pre>
<p>For post slug use following code:</p>
<pre class="brush: php; title: ; notranslate">
 $page = get_page_by_path( 'your-page-slug'
echo $page-&gt;ID;
</pre>
<p>Now List the child page by post slug</p>
<pre class="brush: php; title: ; notranslate">
if ( $page = get_page_by_path( 'your-page-slug' ) ){
  wp_list_pages( 'orderby=name&amp;depth=1&amp;order=DESC&amp;show_count=0&amp;child_of=' .$page-&gt;ID . '&amp;title_li=' );
}
</pre>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p><img src="http://feeds.feedburner.com/~r/wordpressapi/~4/e0yOXnPF_1s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2013/02/18/list-child-pages-post-slug-post-id/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wordpressapi.com/2013/02/18/list-child-pages-post-slug-post-id/</feedburner:origLink></item>
	<media:rating>nonadult</media:rating></channel>
</rss>
