<?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</title>
	<atom:link href="http://wordpressapi.com/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>Mon, 07 Nov 2011 17:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Show the posts that were tagged with a some keywords</title>
		<link>http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/</link>
		<comments>http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 17:23:41 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress tutorials]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6917</guid>
		<description><![CDATA[http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/We can show the five posts with certain tags. We can use following code for showing the posts. Just use the following code. Incoming search terms:wordpress multisite nginxFollow us on Twitter WordPress API]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/<p>We can show the five posts with certain tags. We can use following code for showing the posts.</p>
<p>Just use the following code.</p>
<pre class="brush: php; title: ; notranslate">
&lt;pre&gt;&lt;code&gt;&lt;?php &lt;/code&gt;
&lt;code&gt;$args = array( 'numberposts' =&gt; 5, 'order'=&gt; 'DESC', 'orderby' =&gt; 'post_date', 'tag_slug__in' =&gt; array( 'wordpress, tag1,tag2' ) ); &lt;/code&gt;
&lt;code&gt;$postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post); ?&gt;&lt;/code&gt;
&lt;code&gt; &lt;?php the_time('F j, Y'); ?&gt; &lt;/code&gt;
&lt;code&gt;&lt;a href=&quot;&lt;?php echo get_permalink(); ?&gt;&quot;&gt; &lt;/code&gt;
&lt;code&gt;&lt;?php the_title(); ?&gt;&lt;/code&gt;
&lt;code&gt; &lt;/a&gt; &lt;?php the_excerpt(); ?&gt;&lt;/code&gt;
&lt;code&gt; &lt;?php endforeach; ?&gt;&lt;/code&gt;
&lt;code&gt;</pre>
<p></code></pre>
<div id="attachment_6918" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/facebook-like-wordpress-plugin1-305x143/" rel="attachment wp-att-6918"><img class="size-full wp-image-6918" title="Show the posts that were tagged with a some keywords" src="http://images.wordpressapi.com/facebook-like-wordpress-plugin1-305x143.jpg" alt="Show the posts that were tagged with a some keywords" width="305" height="143" /></a><p class="wp-caption-text">Show the posts that were tagged with a some keywords</p></div>
<pre><code>
</code></pre>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/" title="wordpress multisite nginx">wordpress multisite nginx</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/2011/11/07/show-the-posts-that-were-tagged-with-a-some-keywords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limit excerpt length by characters in wordpress</title>
		<link>http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/</link>
		<comments>http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 18:46:59 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[free wp theme]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6911</guid>
		<description><![CDATA[http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/I already written about this in following article. But some people need the more advanced excerpt. http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/ First open your functions.php file and put following code in that file. Use this function if you&#8217;re planning on using it more than &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/<p>I already written about this in following article. But some people need the more advanced excerpt.</p>
<p><a href="http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/">http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/</a></p>
<p>First open your functions.php file and put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">
function get_excerpt($count){
  $permalink = get_permalink($post-&gt;ID);
  $excerpt = get_the_content();
  $excerpt = strip_tags($excerpt);
  $excerpt = substr($excerpt, 0, $count);
  $excerpt = substr($excerpt, 0, strripos($excerpt, &quot; &quot;));
  $excerpt = $excerpt.'... &lt;a href=&quot;'.$permalink.'&quot;&gt;more&lt;/a&gt;';
  return $excerpt;
}
</pre>
<p>Use this function if you&#8217;re planning on using it more than once with a different amount of characters.</p>
<p>Call the function plus the amount of characters -</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php echo get_excerpt(125); ?&gt;
</pre>
<div id="attachment_6912" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/wordpress-excerpt-short/" rel="attachment wp-att-6912"><img class="size-full wp-image-6912" title="Limit excerpt length by characters in wordpress" src="http://images.wordpressapi.com/wordpress-excerpt-short.jpg" alt="Limit excerpt length by characters in wordpress" width="190" height="220" /></a><p class="wp-caption-text">Limit excerpt length by characters in wordpress</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="wordpress excerpt length">wordpress excerpt length</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="wordpress limit excerpt length">wordpress limit excerpt length</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="excerpt length characters">excerpt length characters</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="excerpt wordpress">excerpt wordpress</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="limit excerpt length plugin">limit excerpt length plugin</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="limit excerpt length wordpress">limit excerpt length wordpress</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="limiting the character amount in excerpt wordpress">limiting the character amount in excerpt wordpress</a></li><li><a href="http://wordpressapi.com/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/" title="wordpress limit excerpt length by characters">wordpress limit excerpt length by characters</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/2011/11/04/limit-excerpt-length-by-characters-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create the breadcrumbs in wordpress</title>
		<link>http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/</link>
		<comments>http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 18:05:14 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[breadcrumbs]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6905</guid>
		<description><![CDATA[http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/In many sits we need to show the breadcrumbs in site. For pages and category we can create the breadcrumbs. We need to put following code in functions.php file. After that put following code in header.php file. After putting above &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/<p>In many sits we need to show the breadcrumbs in site. For pages and category we can create the breadcrumbs.<br />
We need to put following code in functions.php file.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
function wordpress_breadcrumbs() {

  $delimiter = '&amp;raquo;';
  $name = 'Home'; //text for the 'Home' link
  $currentBefore = '&lt;span class=&quot;current&quot;&gt;';
  $currentAfter = '&lt;/span&gt;';

  if ( !is_home() &amp;&amp; !is_front_page() || is_paged() ) {

    echo '&lt;div id=&quot;crumbs&quot;&gt;';

    global $post;
    $home = get_bloginfo('url');
    echo '&lt;a href=&quot;' . $home . '&quot;&gt;' . $name . '&lt;/a&gt; ' . $delimiter . ' ';

    if ( is_category() ) {
      global $wp_query;
      $cat_obj = $wp_query-&gt;get_queried_object();
      $thisCat = $cat_obj-&gt;term_id;
      $thisCat = get_category($thisCat);
      $parentCat = get_category($thisCat-&gt;parent);
      if ($thisCat-&gt;parent != 0) echo(get_category_parents($parentCat, TRUE, ' ' . $delimiter . ' '));
      echo $currentBefore . 'Archive by category &amp;#39;';
      single_cat_title();
      echo '&amp;#39;' . $currentAfter;

    } elseif ( is_day() ) {
      echo '&lt;a href=&quot;' . get_year_link(get_the_time('Y')) . '&quot;&gt;' . get_the_time('Y') . '&lt;/a&gt; ' . $delimiter . ' ';
      echo '&lt;a href=&quot;' . get_month_link(get_the_time('Y'),get_the_time('m')) . '&quot;&gt;' . get_the_time('F') . '&lt;/a&gt; ' . $delimiter . ' ';
      echo $currentBefore . get_the_time('d') . $currentAfter;

    } elseif ( is_month() ) {
      echo '&lt;a href=&quot;' . get_year_link(get_the_time('Y')) . '&quot;&gt;' . get_the_time('Y') . '&lt;/a&gt; ' . $delimiter . ' ';
      echo $currentBefore . get_the_time('F') . $currentAfter;

    } elseif ( is_year() ) {
      echo $currentBefore . get_the_time('Y') . $currentAfter;

    } elseif ( is_single() ) {
      $cat = get_the_category(); $cat = $cat[0];
      echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');
      echo $currentBefore;
      the_title();
      echo $currentAfter;

    } elseif ( is_page() &amp;&amp; !$post-&gt;post_parent ) {
      echo $currentBefore;
      the_title();
      echo $currentAfter;

    } elseif ( is_page() &amp;&amp; $post-&gt;post_parent ) {
      $parent_id  = $post-&gt;post_parent;
      $breadcrumbs = array();
      while ($parent_id) {
        $page = get_page($parent_id);
        $breadcrumbs[] = '&lt;a href=&quot;' . get_permalink($page-&gt;ID) . '&quot;&gt;' . get_the_title($page-&gt;ID) . '&lt;/a&gt;';
        $parent_id  = $page-&gt;post_parent;
      }
      $breadcrumbs = array_reverse($breadcrumbs);
      foreach ($breadcrumbs as $crumb) echo $crumb . ' ' . $delimiter . ' ';
      echo $currentBefore;
      the_title();
      echo $currentAfter;

    } elseif ( is_search() ) {
      echo $currentBefore . 'Search results for &amp;#39;' . get_search_query() . '&amp;#39;' . $currentAfter;

    } elseif ( is_tag() ) {
      echo $currentBefore . 'Posts tagged &amp;#39;';
      single_tag_title();
      echo '&amp;#39;' . $currentAfter;

    } elseif ( is_author() ) {
       global $author;
      $userdata = get_userdata($author);
      echo $currentBefore . 'Articles posted by ' . $userdata-&gt;display_name . $currentAfter;

    } elseif ( is_404() ) {
      echo $currentBefore . 'Error 404' . $currentAfter;
    }

    if ( get_query_var('paged') ) {
      if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ' (';
      echo __('Page') . ' ' . get_query_var('paged');
      if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')';
    }

    echo '&lt;/div&gt;';

  }
}
?&gt;
</pre>
<p>After that put following code in header.php file.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php if (function_exists('wordpress_breadcrumbs')) wordpress_breadcrumbs(); ?&gt;
</pre>
<p>After putting above code we can see the breadcrumbs as following;</p>
<p>Home » Parent Page » Sub Page1 » Sub Page2</p>
<p>Home » Category » Subcategory » Post Name</p>
<div id="attachment_6907" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/breadcrumbs_frontend/" rel="attachment wp-att-6907"><img class="size-full wp-image-6907" title="How to create the breadcrumbs in wordpress" src="http://images.wordpressapi.com/Breadcrumbs_frontend.jpg" alt="How to create the breadcrumbs in wordpress" width="446" height="311" /></a><p class="wp-caption-text">How to create the breadcrumbs in wordpress</p></div>
<p>Code has been taken from above <a title="wordpress breadcrumbs" href="http://www.wavesdream.com/how-to-create-simple-wordpress-breadcrumbs/" target="_blank">Source</a></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/" title="wordpress 3 3 the_post_thumbnail">wordpress 3 3 the_post_thumbnail</a></li><li><a href="http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/" title="$parentcat = get_category($thiscat-&gt;parent); sub category">$parentcat = get_category($thiscat-&gt;parent); sub category</a></li><li><a href="http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/" title="how to design a breadcrumb wordpress">how to design a breadcrumb wordpress</a></li><li><a href="http://wordpressapi.com/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/" title="wordpress development and tricks tips">wordpress development and tricks tips</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/2011/11/02/how-to-create-the-breadcrumbs-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>create custom post type with permalink</title>
		<link>http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/</link>
		<comments>http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 16:39:45 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[custom post type]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6898</guid>
		<description><![CDATA[http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/Here I am creating the Product post type with permalink. Please open the functions.php file and put following code in that file. If you have any issues or problem with permalink then please write to me. Incoming search terms:wordpress permalink &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/<p>Here I am creating the Product post type with permalink. Please open the functions.php file and put following code in that file.</p>
<pre class="brush: php; title: ; notranslate">
&lt;pre&gt;/*
 * product custom post type added with new permalink
 */
function productposttype_with_custom_permalinks() {
register_post_type('product', array(
'label' =&gt; __('My product'),
 'singular_label' =&gt; __('product'),
 'show_ui' =&gt; true,
 'capability_type' =&gt; 'post',
 'hierarchical' =&gt; false,
 &quot;supports&quot; =&gt; array(&quot;title&quot;, &quot;editor&quot;, &quot;thumbnail&quot;, &quot;author&quot;, &quot;comments&quot;),
 'taxonomies' =&gt; array('category', 'post_tag'), // this is IMPORTANT
'rewrite' =&gt; array('slug' =&gt; 'product'),
 'public' =&gt; true
    ));

//register_taxonomy( 'product-category', 'product', array ('hierarchical' =&gt; true, 'label' =&gt; __('product Categories'), 'rewrite' =&gt; array( 'slug' =&gt; 'product-category', 'with_front' =&gt; false ),));  // portfolio categories

add_rewrite_tag('%product%', '([^/]+)');
$extra_post_types = get_post_types(array('_builtin' =&gt; false, 'publicly_queryable' =&gt; true));
if (empty($extra_post_types))
return;
add_rewrite_tag('%post_type%', '(' . implode('|', $extra_post_types) . ')');
add_permastruct('product', '/%post_type%/%year%/%monthnum%/%day%/%product%/', true, 1);
}

/*
 * Funcation onload added the product custom post type
 */
add_action( 'init', 'productposttype_with_custom_permalinks' );

/*
 * product custom post added the permalink hook for enable the custom permalink
 * product custom post type
 */
function productposttype_with_product_permalink( $link, $post, $leavename, $sample ){
  if( 'product' != $post-&gt;post_type )
    return $link;
  $rewritecode = array(
    '%year%',
    '%monthnum%',
    '%day%',
    '%hour%',
    '%minute%',
    '%second%',
    $leavename? '' : '%postname%',
    '%post_id%',
    '%post_type%',
    $leavename? '' : '%pagename%',
    $leavename? '' : '%product%',
  );
  $unixtime = strtotime($post-&gt;post_date);
  $date = explode(' ', date('Y m d H i s', $unixtime));
  $replace_array = array(
    $date[0],
    $date[1],
    $date[2],
    $date[3],
    $date[4],
    $date[5],
    $post-&gt;post_name,
    $post-&gt;ID,
    $post-&gt;post_type,
    $post-&gt;post_name,
    $post-&gt;post_name,
  );
  $path = str_replace($rewritecode, $replace_array, $link);
  return $path;
}

add_action( 'post_type_link', 'productposttype_with_product_permalink', 10, 4 );
</pre>
<p>If you have any issues or problem with permalink then please write to me.</p>
<div id="attachment_6900" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/wp-tips-141x122/" rel="attachment wp-att-6900"><img class="size-full wp-image-6900" title="custom post type with permalink" src="http://images.wordpressapi.com/wp-tips-141x122.png" alt="custom post type with permalink" width="141" height="122" /></a><p class="wp-caption-text">custom post type with permalink</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress permalink api">wordpress permalink api</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress 3 2 permalinks custom post type">wordpress 3 2 permalinks custom post type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="post type permalink">post type permalink</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="remote post wordpress xml-rpc">remote post wordpress xml-rpc</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress 3 2 1 custom post types tutorial">wordpress 3 2 1 custom post types tutorial</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress 3 3 custom post type">wordpress 3 3 custom post type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress create custom post type">wordpress create custom post type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress custom post html permalink">wordpress custom post html permalink</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress custom post type permalink html">wordpress custom post type permalink html</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress how create permalink">wordpress how create permalink</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress permalink">wordpress permalink</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="wordpress permalink custom post type">wordpress permalink custom post type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="/%postname godaddy wordpress">/%postname godaddy wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="permalink post_type">permalink post_type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="create custom permalink function wordpress">create custom permalink function wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="create custom post type wordpress 3 3">create custom post type wordpress 3 3</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="creating custome post type">creating custome post type</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="custom post type permalink category">custom post type permalink category</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="custom post type permalink html">custom post type permalink html</a></li><li><a href="http://wordpressapi.com/2011/10/27/create-custom-post-type-with-permalink/" title="custom post type permalinks">custom post type permalinks</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/2011/10/27/create-custom-post-type-with-permalink/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPressapi launched new plugin called Selective Tags</title>
		<link>http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/</link>
		<comments>http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 05:55:48 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6889</guid>
		<description><![CDATA[http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/We are very happy to launch the new wordpress plugin called Selective Tags. Some time people want to show the only selective tags from all site. Through this widget you can select the post tags which you want to show &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/<p>We are very happy to launch the new wordpress plugin called Selective Tags.</p>
<p>Some time people want to show the only selective tags from all site. Through this widget you can select the post tags which you want to show on your site.</p>
<p>More information about Plugin as follows:</p>
<p>Selective Tag WordPress Plugin, provides sidebar widgets which can be used to display tags in the sidebar.</p>
<h3>Features</h3>
<h4>Sidebar Widget</h4>
<p>Selective Tag WordPress Plugin, provides sidebar widgets which can be used to display tags in the sidebar. You can have multiple widgets with different set of tags configured for each one of them.</p>
<p>Each widget allows you to choose</p>
<ul>
<li>The set of tags dsplayed which is selected by admin</li>
</ul>
<div>You can download the plugin from following location.</div>
<div><a href="http://wordpress.org/extend/plugins/selective-tags/">http://wordpress.org/extend/plugins/selective-tags/</a></div>
<div></div>
<h2>Screenshot</h2>
<p><a href="http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/screenshot-4/" rel="attachment wp-att-6890"><img class="alignnone size-full wp-image-6890" title="screenshot" src="http://images.wordpressapi.com/screenshot2.png" alt="" width="267" height="245" /></a></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/" title="facebook comments new api wordpress">facebook comments new api wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/" title="wordpress plugin selective search">wordpress plugin selective search</a></li><li><a href="http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/" title="free photo search plugin for wordpress">free photo search plugin for wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/" title="show selective tags">show selective tags</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/2011/10/26/wordpressapi-launched-new-plugin-called-selective-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wordpress theme wysiwyg editor default css</title>
		<link>http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/</link>
		<comments>http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 18:42:53 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[wysiwyg editor]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6881</guid>
		<description><![CDATA[http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/Many wordpress developers are creating wordpress theme. But many times when you are writing through editor and applying the formatting. Formatting is not exactly coming in theme. Some time image alignment and photo caption is not coming properly. When you &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/<p>Many wordpress developers are creating wordpress theme. But many times when you are writing through editor and applying the formatting. Formatting is not exactly coming in theme.</p>
<p>Some time image alignment and photo caption is not coming properly.</p>
<p>When you are creating creating new wordpress theme or taking theme from anyone put following CSS code in style.css file. Make sure following CSS code is present in your wordpress theme.</p>
<pre class="brush: css; title: ; notranslate">
 /* =WordPress Core
 -------------------------------------------------------------- */
 .alignnone {
 margin: 5px 20px 20px 0;
 }

.aligncenter, div.aligncenter {
 display:block;
 margin: 5px auto 5px auto;
 }

.alignright {
 float:right;
 margin: 5px 0 20px 20px;
 }

.alignleft {
 float:left;
 margin: 5px 20px 20px 0;
 }

.aligncenter {
 display: block;
 margin: 5px auto 5px auto;
 }

a img.alignright {
 float:right;
 margin: 5px 0 20px 20px;
 }

a img.alignnone {
 margin: 5px 20px 20px 0;
 }

a img.alignleft {
 float:left;
 margin: 5px 20px 20px 0;
 }

a img.aligncenter {
 display: block;
 margin-left: auto;
 margin-right: auto
 }

.wp-caption {
 background: #fff;
 border: 1px solid #f0f0f0;
 max-width: 96%; /* Image does not overflow the content area */
 padding: 5px 3px 10px;
 text-align: center;
 }

.wp-caption.alignnone {
 margin: 5px 20px 20px 0;
 }

.wp-caption.alignleft {
 margin: 5px 20px 20px 0;
 }

.wp-caption.alignright {
 margin: 5px 0 20px 20px;
 }

.wp-caption img {
 border: 0 none;
 height: auto;
 margin:0;
 max-width: 98.5%;
 padding:0;
 width: auto;
 }

.wp-caption p.wp-caption-text {
 font-size:11px;
 line-height:17px;
 margin:0;
 padding:0 4px 5px;
 }

&amp;nbsp;
</pre>
<p>Above CSS code is very important for every wordpress theme.</p>
<div id="attachment_6884" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/wordpress-write-post/" rel="attachment wp-att-6884"><img class="size-full wp-image-6884" title="wordpress-default css for wordpress theme" src="http://images.wordpressapi.com/wordpress-write-post.jpg" alt="wordpress-default css for wordpress theme" width="500" height="238" /></a><p class="wp-caption-text">wordpress-default css for wordpress theme</p></div>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress wysiwyg theme editor">wordpress wysiwyg theme editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="best wordpress wysiwyg editor">best wordpress wysiwyg editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress theme development tricks tips">wordpress theme development tricks tips</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress theme editor">wordpress theme editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress theme editor wysiwyg">wordpress theme editor wysiwyg</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress theme wysiwyg">wordpress theme wysiwyg</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress wysiwig add button and css styles -tinymce">wordpress wysiwig add button and css styles -tinymce</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress wysiwyg editor">wordpress wysiwyg editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress wysiwyg layout">wordpress wysiwyg layout</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="automotive theme css">automotive theme css</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg css">wysiwyg css</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg css wordpress">wysiwyg css wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg for wordpress theme editor 2011 top ten">wysiwyg for wordpress theme editor 2011 top ten</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg wordpress">wysiwyg wordpress</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg wordpress template editor">wysiwyg wordpress template editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wysiwyg wordpress theme editor">wysiwyg wordpress theme editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress css show in wysiwyg editor">wordpress css show in wysiwyg editor</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="wordpress css editor wysiwyg">wordpress css editor wysiwyg</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="best wordpress editor wysiwyg vs 2011">best wordpress editor wysiwyg vs 2011</a></li><li><a href="http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/" title="best wordpress wysiwyg">best wordpress wysiwyg</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/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wordpress 3.3 version is now ready for testing</title>
		<link>http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/</link>
		<comments>http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 19:28:59 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress news]]></category>
		<category><![CDATA[beta tester]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6877</guid>
		<description><![CDATA[http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/WordPress 3.3 is ready for testers. Following changes has been fixed in wordpress 3.3 version. Updated the Blue theme Fixed IE7 and RTL support Improved flyout menu styling and fixed several glitches Finished the Pointers implementation Landed the dashboard Welcome &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/<p>WordPress 3.3 is ready for testers. Following changes has been fixed in wordpress 3.3 version.</p>
<ul>
<li>Updated the Blue theme</li>
<li>Fixed IE7 and RTL support</li>
<li>Improved flyout menu styling and fixed several glitches</li>
<li>Finished the Pointers implementation</li>
<li>Landed the dashboard Welcome box for new installs</li>
<li>Improved contextual help styling</li>
<li>Tweaked the admin bar a little more</li>
<li>Fixed a bunch of bugs</li>
<li>Media uploader</li>
<li>Improved admin bar</li>
<li>Fly out admin menus</li>
</ul>
<p>As always, this is software still in development and <strong>we don’t recommend that you run it on a production site</strong> — set up a test site just to play with the new version. If you break it (find a bug), please report it, and if you’re a developer, try to help us fix it.</p>
<p>If all goes well, we hope to release WordPress 3.3 by the end of November. The more help we get with testing and fixing bugs, the sooner we will be able to release the final version. If you want to be a beta tester,</p>
<p>Download <a href="http://wordpress.org/wordpress-3.3-beta2.zip">3.3 Beta 2</a>.</p>
<div id="attachment_6878" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/wordpress-3-3/" rel="attachment wp-att-6878"><img class="size-full wp-image-6878" title="wordpress-3-3" src="http://images.wordpressapi.com/wordpress-3-3.jpg" alt="wordpress-3-3" width="400" height="400" /></a><p class="wp-caption-text">wordpress-3-3</p></div>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress 3 3 blue theme">wordpress 3 3 blue theme</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress api search">wordpress api search</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress 3 3 api">wordpress 3 3 api</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress blue theme">wordpress blue theme</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress api for metadata">wordpress api for metadata</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress 3 3 Improved API’s for Metadata Settings">wordpress 3 3 Improved API’s for Metadata Settings</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="api wordpress 3 3">api wordpress 3 3</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress 3 3">wordpress 3 3</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="install memcached wp">install memcached wp</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="blue theme wp 3 3">blue theme wp 3 3</a></li><li><a href="http://wordpressapi.com/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/" title="wordpress revisions 3 3">wordpress revisions 3 3</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/2011/10/20/wordpress-3-3-version-is-now-ready-for-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove first image from wordpress post</title>
		<link>http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/</link>
		<comments>http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 16:00:32 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[first image]]></category>
		<category><![CDATA[wordpress hack]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6871</guid>
		<description><![CDATA[http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/In many wordpress old site they used the first image as post or featured image so while showing the single post they not want to show the first image which is uploaded. Using following code you can remove the first &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/<p>In many wordpress old site they used the first image as post or featured image so while showing the single post they not want to show the first image which is uploaded.</p>
<div id="attachment_6866" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/cancel/" rel="attachment wp-att-6866"><img class="size-full wp-image-6866" title="remove first image from wordpress post" src="http://images.wordpressapi.com/remove.jpg" alt="remove first image from wordpress post" width="347" height="346" /></a><p class="wp-caption-text">remove first image from wordpress post</p></div>
<p>Using following code you can remove the first image from wordpress post. Please put following code in to functions.php file (you will find this file in your theme folder)</p>
<pre class="brush: php; title: ; notranslate">

function remove_first_image ($content) {
if (!is_page() &amp;&amp; !is_feed() &amp;&amp; !is_feed() &amp;&amp; !is_home()) {
$content = preg_replace(&quot;/&lt;img[^&gt;]+\&gt;/i&quot;, &quot;&quot;, $content, 1);
} return $content;
}
add_filter('the_content', 'remove_first_image');
</pre>
<p>when you see the single page of blog then you will not see the first image from blog post.</p>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress api post">wordpress api post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="show first image post wordpress">show first image post wordpress</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress delete post and image">wordpress delete post and image</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress exclude first image">wordpress exclude first image</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress exclude first image from post">wordpress exclude first image from post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress find first image in post remove">wordpress find first image in post remove</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress get image from post remove">wordpress get image from post remove</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress hide first image">wordpress hide first image</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress hide first image from post">wordpress hide first image from post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress hide first image in post">wordpress hide first image in post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="add_filter( \the_content\ \remove_first_image\ );">add_filter( \the_content\ \remove_first_image\ );</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="wordpress api delete post">wordpress api delete post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="delete first image in post wordpress">delete first image in post wordpress</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="do not show first image single wordpress">do not show first image single wordpress</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="do not show first image single wordpress category">do not show first image single wordpress category</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="do not show first image single wordpress catergorie">do not show first image single wordpress catergorie</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="download images from wordpress com">download images from wordpress com</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="First Image From Post wordpress">First Image From Post wordpress</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="remove featured image from post">remove featured image from post</a></li><li><a href="http://wordpressapi.com/2011/08/30/remove-first-image-from-wordpress-post/" title="remove the first image in wordpress">remove the first image 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/2011/08/30/remove-first-image-from-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove images from wordpress post</title>
		<link>http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/</link>
		<comments>http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:02:01 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress hacks]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6865</guid>
		<description><![CDATA[http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/Some time we want to remove the images from wordpress post. I got following code for removing the images from post. you can use following code in single.php or page.php file. Incoming search terms:powered by wordpress intitle : phpFollow us &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/<p>Some time we want to remove the images from wordpress post. I got following code for removing the images from post. you can use following code in single.php or page.php file.</p>
<div id="attachment_6866" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/cancel/" rel="attachment wp-att-6866"><img class="size-full wp-image-6866" title="remove image from wordpress post" src="http://images.wordpressapi.com/remove.jpg" alt="remove image from wordpress post" width="347" height="346" /></a><p class="wp-caption-text">remove image from wordpress post</p></div>
<pre class="brush: php; title: ; notranslate">

&lt;?php
ob_start();
the_content('Read the full post',true);
$postOutput = preg_replace('/&lt;img[^&gt;]+./','', ob_get_contents());
ob_end_clean();
echo $postOutput;
?&gt;
</pre>
<h4>Incoming search terms:</h4><ul><li><a href="http://wordpressapi.com/2011/08/30/remove-images-from-wordpress-post/" title="powered by wordpress intitle : php">powered by wordpress intitle : php</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/2011/08/30/remove-images-from-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add the Comment Preview to Comment box without WordPress Plugin</title>
		<link>http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/</link>
		<comments>http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 01:42:10 +0000</pubDate>
		<dc:creator>Wordpress API</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress api]]></category>
		<category><![CDATA[wordpress tutorials]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://wordpressapi.com/?p=6861</guid>
		<description><![CDATA[http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/Many times comments preview will be useful for visitors to see how comments will be looking. Using google Jquery or wordpress jquery you can add the comment preview to your wordpress blog. In this tutorial I am using the wordpress &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/<p>Many times comments preview will be useful for visitors to see how comments will be looking. Using google Jquery or wordpress jquery you can add the comment preview to your wordpress blog.</p>
<p>In this tutorial I am using the wordpress inbuild jquery.  First open your header. php file from your theme folder and after head tag following code.</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php wp_enqueue_script(&lt;/code&gt;&lt;code&gt;'jquery'&lt;/code&gt;&lt;code&gt;); ?&gt;
&lt;?php if (is_single()) { ?&gt;

&lt;script type=&quot;text/javascript&quot;&gt;

jQuery(document).ready(function(){

	jQuery(&quot;&quot;).add(&quot;&lt;h3 id='preview-title'&gt;Comment Preview&lt;/h3&gt;&lt;div id='comment-preview'&gt;&lt;/div&gt;&quot;).appendTo(document.body);
	jQuery(&quot;#comment-preview, #preview-title&quot;).insertAfter(&quot;#comment&quot;);

	var $comment = '';
	jQuery('#comment').keyup(function() {
		$comment = jQuery(this).val();
		$comment = $comment.replace(/\n\n+/g, '&lt;br /&gt;&lt;br /&gt;').replace(/\n/g, &quot;&lt;br /&gt;&quot;);
		jQuery('#comment-preview').html( $comment );
	});

});

&lt;/script&gt;
&lt;?php } ?&gt;
</pre>
<p>Then Open Your style.css file from your theme folder put the following code in that file.</p>
<pre class="brush: php; title: ; notranslate">
#comment-preview {
	border: 1px solid #ccc;
	padding: 5px 15px 15px 15px;
	}
h3#preview-title {
	margin-bottom: 5px
	}
</pre>
<p>After that upload the modified files on server. you will see following functionality for your wordpress commnets section.</pre>
<div id="attachment_6862" class="wp-caption alignnone<a href="http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/wordpress-comments-preview/" rel="attachment wp-att-6862"><img class="size-full wp-image-6862" title="wordpress-comments-preview" src="http://images.wordpressapi.com/wordpress-comments-preview.jpg" alt="wordpress-comments-preview" width="550" height="366" /></a><p class="wp-caption-text">wordpress-comments-preview</p></div>
<p>&nbsp;</p>
<p>If you are not wordpress developer then please dont try this.</p>
<p>Follow us on Twitter <a href="http://twitter.com/wordpressapi">WordPress API</a></p>]]></content:encoded>
			<wfw:commentRss>http://wordpressapi.com/2011/07/27/add-the-comment-preview-to-comment-box-without-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: wordpressapi.com @ 2011-11-10 15:05:03 by W3 Total Cache -->
