<?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>WpFunc &#187; Wordpress</title>
	<atom:link href="http://wpfunc.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Thu, 01 Dec 2011 01:17:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Catch the First Image (Upgraded)</title>
		<link>http://wpfunc.com/wordpress/catch-the-first-image-upgraded.html</link>
		<comments>http://wpfunc.com/wordpress/catch-the-first-image-upgraded.html#comments</comments>
		<pubDate>Sat, 12 Nov 2011 00:42:34 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[catch the first image]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[first image]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[latest]]></category>
		<category><![CDATA[single.php]]></category>
		<category><![CDATA[thumb]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[upgraded]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=509</guid>
		<description><![CDATA[Brian asked me here about Catch the First image function can be upgrade. I was coded this function for my Turkish blog for Home Page thumbs. If you set no image about post (not the wordpress post thumb feature, if you dont upload any image) this function get custom (default) image for this. Let&#8217;s Begin&#8230;
The [...]]]></description>
			<content:encoded><![CDATA[<p>Brian asked me <a href="http://www.wpfunc.com/wordpress/catch-the-first-image.html/comment-page-1#comment-949" target="_blank">here</a> about <a href="http://www.wpfunc.com/wordpress/catch-the-first-image.html" title="Catch the First Image" target="_blank">Catch the First image function</a> can be upgrade. I was coded this function for my Turkish blog for Home Page thumbs. If you set no image about post (not the wordpress post thumb feature, if you dont upload any image) this function get custom (default) image for this. Let&#8217;s Begin&#8230;<span id="more-509"></span></p>
<h4>The Code;</h4>
<p>You will edit your theme&#8217;s <strong>functions.php</strong>. Because of this you should <strong>backup</strong> before. File&#8217;s path is <strong>/wp-content/themes/your-theme/functions.php</strong></p>
<pre class="brush: php; title: ; notranslate">// Get Image Attachments
function sa_get_image($postid=0, $size='thumbnail') { //it can be thumbnail or full
	if ($postid&lt;1)
	$postid = get_the_ID();
	$thumb = get_post_meta($postid, &quot;thumb&quot;, TRUE); // Declare the custom field for the image
	if ($thumb != null or $thumb != '') {
		echo $thumb;
	}
	elseif ($images = get_children(array( //If you upload an image function gets first image
		'post_parent' =&gt; $postid,
		'post_type' =&gt; 'attachment',
		'numberposts' =&gt; '1',
		'post_mime_type' =&gt; 'image', )))
		foreach($images as $image) {
			$thumbnail=wp_get_attachment_image_src($image-&gt;ID, $size);
			?&gt;
	&lt;?php echo $thumbnail[0]; ?&gt;
	&lt;?php }
		else { //If you don't upload or declare as thumb custom field func. gets custom (default) image
		echo get_bloginfo ( 'template_directory' ); //same as wp-content/themes/your-theme/
		echo '/images/image-pending.gif'; // Put this image into your themes images folder and set the path here
	}
}</pre>
<p>You can use this function with your several files like index.php, single.php or anything. </p>
<pre class="brush: php; title: ; notranslate">&lt;img src=&quot;&lt;?php sa_get_image($post-&gt;ID, 'thumbnail'); ?&gt;&quot; /&gt;</pre>
<p>If you set your thumbnail size 100*100 from wordpress you can get a thumbnail image where you want. Also you can use another function with that. You can style your image&#8217;s div or you can use timthumb.</p>
<h4>Without Timthumb;</h4>
<pre class="brush: php; title: ; notranslate">// Show Post Thumbnails
function sa_show_thumb_tim() {
?&gt;
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;img class=&quot;thumb&quot; width=&quot;100&quot; height&quot;100&quot; src=&quot;&lt;?php sa_get_image($post-&gt;ID, 'full'); ?&gt;&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;&lt;/a&gt;
&lt;?php
}</pre>
<p>You can use this like this directly. Because we coded function with <code>img</code> tag.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php sa_show_thumb(); ?&gt;</pre>
<h4>With Timthumb;</h4>
<pre class="brush: php; title: ; notranslate">// Show Post Thumbnails With TimThumb
function sa_show_thumb_tim() {
?&gt;
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;img class=&quot;thumb&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/timthumb.php?src=&lt;?php sa_get_image($post-&gt;ID, 'full'); ?&gt;&amp;amp;h=100&amp;amp;w=100&amp;amp;zc=1&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;&lt;/a&gt;
&lt;?php
}</pre>
<p>You can use this like this directly. Because we coded function with <code>img</code> tag and we add timthumb function. You can get the latest version of timhtumb <a href="http://code.google.com/p/timthumb/" target="_blank">here</a>. And you have to put <strong>timthumb.php</strong> into your theme&#8217;s folder.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php sa_show_thumb_tim(); ?&gt;</pre>
<p>Best Regards</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/catch-the-first-image-upgraded.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show link with page names</title>
		<link>http://wpfunc.com/wordpress/show-link-with-page-names.html</link>
		<comments>http://wpfunc.com/wordpress/show-link-with-page-names.html#comments</comments>
		<pubDate>Thu, 10 Nov 2011 00:59:13 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[linkname]]></category>
		<category><![CDATA[target]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=504</guid>
		<description><![CDATA[You can show links with Pages names. That means target pages name. Let&#8217;s begin&#8230;
The code
Add this code into functions.php which file in your theme&#8217;s. After that you can use this shortcode with your posts.
The Sample is here (Turkish) Click
Simple isn&#8217;t it :)
]]></description>
			<content:encoded><![CDATA[<p>You can show links with Pages names. That means target pages name. Let&#8217;s begin&#8230;<span id="more-504"></span></p>
<h3>The code</h3>
<pre class="brush: php; title: ; notranslate">//Show link with name
function link_ismi_getir($atts) { //Fonksiyon başlangıcı :)
	extract(shortcode_atts(array(
          'url' =&gt; '', //url=&quot;adress(with http://)&quot;
     ), $atts));
	 $str = file_get_contents($url);
    if(strlen($str)&gt;0){ //if $str is bigger than &quot;0&quot;
        preg_match(&quot;/\&lt;title \&gt;(.*)\&lt; \/title\&gt;/&quot;,$str,$title); //Target page's header.
	$linkaname = '&lt;a href=&quot;'.$url.'&quot; target=&quot;_blank&quot; title=&quot;'.$title[1].'&quot;&gt;'.$title[1].'&lt;/a&gt;'; //Link
        return $linkaname; //Get link with $linkaname
		}
}
add_shortcode('linkname', 'link_ismi_getir');
//Shortcode maker :)</pre>
<p>Add this code into functions.php which file in your theme&#8217;s. After that you can use this shortcode with your posts.</p>
<pre class="brush: php; title: ; notranslate">[linkname url=&quot;http://yourtargeturl.com&quot;]</pre>
<p>The Sample is here (Turkish) <a href="http://www.kaisercrazy.com/cms-sistemleri/wordpress/linklerin-isimleriyle-gostermek.html" target="_blank">Click</a></p>
<p>Simple isn&#8217;t it :)</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/show-link-with-page-names.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Attachments 0.2.7!</title>
		<link>http://wpfunc.com/wordpress/auto-attachments-0-2-7.html</link>
		<comments>http://wpfunc.com/wordpress/auto-attachments-0-2-7.html#comments</comments>
		<pubDate>Wed, 29 Jun 2011 21:53:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[0.2.7]]></category>
		<category><![CDATA[auto attachments]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[version update]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=499</guid>
		<description><![CDATA[I released a new version of Auto Attachments plugin. You can use gallery function with colorbox javascript. If you want you can disable this option too.
I will a picture about this. If you see a demo click here (turkish).
You can download plugin here.
Have a nice day.
]]></description>
			<content:encoded><![CDATA[<p>I released a new version of Auto Attachments plugin. You can use gallery function with colorbox javascript. If you want you can disable this option too.<span id="more-499"></span></p>
<p>I will a picture about this. If you see a demo <a title="Auto Attachments 0.2.7!" href="http://www.kaisercrazy.com/cms-sistemleri/wordpress/auto-attachments-0-2-7.html" target="_blank">click here</a> (turkish).</p>
<p>You can download plugin<a title="Auto Attachments &gt;&gt; WordPress Plugins" href="http://wordpress.org/extend/plugins/auto-attachments/" target="_blank"> here</a>.</p>
<p>Have a nice day.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/auto-attachments-0-2-7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Attachments Updated to 0.2.6</title>
		<link>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-6.html</link>
		<comments>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-6.html#comments</comments>
		<pubDate>Fri, 03 Jun 2011 11:39:06 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[auto attachments]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=490</guid>
		<description><![CDATA[As you know i released Auto Attacments Plugin. The plugin determine your article&#8217;s attachment files, make a download area for files and embed a player for mp3 and video files.
Now the plugin has more effective admin area and you can decide some options. You can enable or disable rar upload support and decide to show [...]]]></description>
			<content:encoded><![CDATA[<p>As you know i released Auto Attacments Plugin. The plugin determine your article&#8217;s attachment files, make a download area for files and embed a player for mp3 and video files.<span id="more-490"></span></p>
<p>Now the plugin has more effective admin area and you can decide some options. You can enable or disable rar upload support and decide to show audio and video file header text display. And plugin now multilingual.</p>
<p>I added Facebook like and share buttons for WorpdPress Auto Attachments Plugin Page. You can share with your friends now :)</p>
<p>You can download plugin from here: <a title="Auto Attachments WordPress.org plugin page" href="http://wordpress.org/extend/plugins/auto-attachments/" target="_blank">WordPress &gt; Auto Attachments </a></p>
<p>And you can acces other auto attachments info articles <a title="Auto Attachments Plugin!" href="http://www.wpfunc.com/wordpress/auto-attachments-plugin.html" target="_blank">here</a> and <a title="Auto Attachments Updated to 0.2.4" href="http://www.wpfunc.com/wordpress/auto-attachments-updated-to-0-2-4.html" target="_blank">here</a></p>
<p>The admin area interface; TURKISH | ENGLISH</p>
<p><a class="highslide img_3" href="http://www.wpfunc.com/wp-content/uploads/2011/06/aa-admin.png" onclick="return hs.expand(this)"><img class="size-medium wp-image-492 alignleft" title="aa-admin" src="http://www.wpfunc.com/wp-content/uploads/2011/06/aa-admin-300x203.png" alt="" width="300" height="203" /></a><a class="highslide img_4" href="http://www.wpfunc.com/wp-content/uploads/2011/06/screenshot.png" onclick="return hs.expand(this)"><img class="aligncenter size-medium wp-image-495" title="screenshot" src="http://www.wpfunc.com/wp-content/uploads/2011/06/screenshot-300x236.png" alt="" width="300" height="236" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-6.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto Attachments Updated to 0.2.4</title>
		<link>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-4.html</link>
		<comments>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-4.html#comments</comments>
		<pubDate>Thu, 26 May 2011 17:43:41 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[admin area]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[doc]]></category>
		<category><![CDATA[odf]]></category>
		<category><![CDATA[ods]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[settings page]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=487</guid>
		<description><![CDATA[I was released Auto Attachments plugin. After that i upgrade code and some css files. Now i add a admin area settings page for this plugin. You can decide or localize audio and video file header texts.

Check plugins new version on WordPress.org Plugins area.
Click Here
]]></description>
			<content:encoded><![CDATA[<p>I was released <a title="Auto Attachments Plugin!" href="http://www.wpfunc.com/wordpress/auto-attachments-plugin.html" target="_blank">Auto Attachments plugin</a>. After that i upgrade code and some css files. Now i add a admin area settings page for this plugin. You can decide or localize audio and video file header texts.</p>
<p><span id="more-487"></span></p>
<p>Check plugins new version on WordPress.org Plugins area.</p>
<p><a href="http://wordpress.org/extend/plugins/auto-attachments/" target="_blank">Click Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/auto-attachments-updated-to-0-2-4.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Share, Like, Send and other social buttons&#8230;</title>
		<link>http://wpfunc.com/wordpress/share-like-send-and-other-social-buttons.html</link>
		<comments>http://wpfunc.com/wordpress/share-like-send-and-other-social-buttons.html#comments</comments>
		<pubDate>Fri, 20 May 2011 21:27:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=479</guid>
		<description><![CDATA[You can add social buttons with this litte function. Let&#8217;s begin&#8230;
Here is the code;
Add this code in your theme&#8217;s functions.php 
You have to change  areas for your theme &#38; site. Download this javascript files and upload into your theme.

Sample Image

]]></description>
			<content:encoded><![CDATA[<p>You can add social buttons with this litte function. Let&#8217;s begin&#8230;<span id="more-479"></span></p>
<h3>Here is the code;</h3>
<p>Add this code in your theme&#8217;s <strong>functions.php</strong> </p>
<pre class="brush: php; title: ; notranslate">//Like &amp; Share &amp; Send etc.
//Add After the_content
add_filter('the_content', cagirbeni);
function cagirbeni($content) {
$sayfalink = get_permalink();

//Importanat Area
$fappId = &quot;126927697318171&quot;; //Your Facebook AppID or same with this.
$twittervia = &quot;kaisercrazy&quot;; //Write your twitter username.
$temaklasoru =&quot;kaisercrazy/javascripts&quot;; //Path of your javascript files in your theme.
//Importanat Area

	if(is_single()) {
	$content .= $button = '&lt;div style=&quot;height:21px;margin-bottom:10px;&quot;&gt;&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script src=&quot;http://connect.facebook.net/en_US/all.js#appId='.$fappId.'&amp;amp;xfbml=1&quot;&gt;&lt;/script&gt;&lt;fb:like href=&quot;'.$sayfalink.'&quot; send=&quot;true&quot; width=&quot;170&quot; show_faces=&quot;false&quot; layout=&quot;button_count&quot; font=&quot;segoe ui&quot;&gt;&lt;/fb:like&gt;&lt;div style=&quot;float:right;height:20px;margin-bottom:15px;&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-count=&quot;horizontal&quot; data-via=&quot;'.$twittervia.'&quot;&gt;Tweet&lt;/a&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/wp-content/themes/'.$temaklasoru.'/twitter.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src =&quot;/wp-content/themes/'.$temaklasoru.'/buttons.js&quot;&gt;&lt;/script&gt;&lt;a class=&quot;DiggThisButton DiggCompact&quot; rev=&quot;news, technology&quot;&gt;&lt;/a&gt;&lt;div id=&quot;fb_share_1&quot; style=&quot;float:right;margin-left: 10px;&quot;&gt;&lt;a name=&quot;fb_share&quot; type=&quot;button_count&quot; share_url=&quot;'.$sayfalink.'&quot; href=&quot;http://www.facebook.com/sharer.php&quot;&gt;Paylaş&lt;/a&gt; &lt;/div&gt;&lt;script src=&quot;/wp-content/themes/'.$temaklasoru.'/FB.Share.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;/div&gt;';
}
	return $content ;
}
//Like &amp; Share &amp; Send etc.</pre>
<p>You have to change  areas for your theme &amp; site. Download this javascript files and upload into your theme.<br />
Note: There is a file embedded within this post, please visit this post to download the file.<br />
</p>
<h3>Sample Image</h3>
<p><a class="highslide img_6" href="http://www.wpfunc.com/wp-content/uploads/2011/05/social-area.png" onclick="return hs.expand(this)"><img src="http://www.wpfunc.com/wp-content/uploads/2011/05/social-area.png" alt="" title="social-area" width="655" height="32" class="alignnone size-full wp-image-480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/share-like-send-and-other-social-buttons.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Attachments Plugin!</title>
		<link>http://wpfunc.com/wordpress/auto-attachments-plugin.html</link>
		<comments>http://wpfunc.com/wordpress/auto-attachments-plugin.html#comments</comments>
		<pubDate>Thu, 19 May 2011 14:15:25 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[MP4]]></category>
		<category><![CDATA[mpg]]></category>
		<category><![CDATA[odf]]></category>
		<category><![CDATA[ods]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tar.gz]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=472</guid>
		<description><![CDATA[Auto Attachments make your attachmens more effective. When you add an attachment to your article, this plugin detect attachment&#8217;s type and create a file list and a download area after the_content. And if you add some audioand video files the plugin add a player for this file.
And VIDEO SUPPORT. The plugin now works with FLV, [...]]]></description>
			<content:encoded><![CDATA[<p>Auto Attachments make your attachmens more effective. When you add an attachment to your article, this plugin detect attachment&#8217;s type and create a file list and a download area after <strong>the_content</strong>. And if you add some audioand video files the plugin add a player for this file.<span id="more-472"></span></p>
<p>And <strong>VIDEO SUPPORT</strong>. The plugin now works with FLV, MP4 and other vidoe file types (what supports by JW player).</p>
<p>This plugin supports only this file attachment types: <strong><span style="color: #ff0000;">Pdf, MS Word, Ms Excel, MS PowerPoint, ODS, ODF, zip, rar, tar, tar.gz, mp3, flv, mp4 and other video files</span></strong>.</p>
<p><strong><a title="Auto Attachments Updated to 0.2.6" href="http://www.wpfunc.com/wordpress/auto-attachments-updated-to-0-2-6.html" target="_blank">For Update Information Please Click Here!</a></strong></p>
<p><strong><span style="color: #ff0000;">For Turkish Please </span><a href="http://www.kaisercrazy.com/cms-sistemleri/wordpress/yeni-plugin-yazdim-auto-attachments.html" target="_blank"><span style="color: #0000ff;">Click Here</span></a><span style="color: #0000ff;">!</span></strong></p>
<h3>Download From WordPress.org Plugins Area!</h3>
<h3><strong><a title="Auto Attachments &amp;laquo; WordPress Plugins" href="http://wordpress.org/extend/plugins/auto-attachments/" target="_blank">Download!</a></strong></h3>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/auto-attachments-plugin.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Category Cloud!</title>
		<link>http://wpfunc.com/wordpress/category-cloud.html</link>
		<comments>http://wpfunc.com/wordpress/category-cloud.html#comments</comments>
		<pubDate>Tue, 15 Mar 2011 12:07:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[tag cloud]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=470</guid>
		<description><![CDATA[You can make category cloud like tag cloud with this function.

Here is the code;
Insert this code into your theme&#8217;s functions.php;
And use this code where you want;
Have a nice day!
]]></description>
			<content:encoded><![CDATA[<p>You can make category cloud like tag cloud with this function.<br />
<span id="more-470"></span></p>
<h3>Here is the code;</h3>
<p>Insert this code into your theme&#8217;s <span style="color: #ff0000;"><strong>functions.php</strong></span>;</p>
<pre class="brush: php; title: ; notranslate">//Category cloud
function nube(){
  $categories=  get_categories('child_of=0&amp;type=post&amp;orderby=name&amp;number=500rand&amp;order=asc');
  foreach ($categories as $category) {
	  $font=@intval($category-&gt;category_count/2);

	  $color=&quot;#000000&quot;;
	  if($font&lt;10){
		  $font=10;
		  $color=&quot;#AAAAAA&quot;;
	  }
	  if($font&gt;15 &amp;&amp; $font&lt;30){
		  $font=15;
		  $color=&quot;#8CC7FF&quot;;
	  }
	if($font&gt;=30){
		$font=30;
		$color=&quot;#ff0000&quot;;
	}

	if($category-&gt;category_count&gt;4){
  	$resp .= '&lt;a title=&quot;Total Article: '.$category-&gt;category_count.'&quot;style=&quot;font-size:'.$font.'px;color:'.$color.'&quot; href=&quot;/category/'.$category-&gt;category_nicename.'&quot;&gt;'.$category-&gt;cat_name.'&lt;/a&gt; ';
			}
  }
  return $resp;
}
//Category Cloud</pre>
<p>And use this code where you want;</p>
<pre class="brush: php; title: ; notranslate">&lt;?php echo nube(); ?&gt;</pre>
<p>Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/category-cloud.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.1 is Out!</title>
		<link>http://wpfunc.com/wordpress/wordpress-3-1-is-out.html</link>
		<comments>http://wpfunc.com/wordpress/wordpress-3-1-is-out.html#comments</comments>
		<pubDate>Wed, 23 Feb 2011 17:05:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[3.1]]></category>
		<category><![CDATA[new release]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=468</guid>
		<description><![CDATA[Yeah! At least WordPress 3.1 is out! Check out this new things.
This release features a lightning fast redesigned linking workflow which makes it easy to link to your existing posts and pages, an admin bar so you’re never more than a click away from your most-used dashboard pages, a streamlined writing interface that hides many [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah! At least WordPress 3.1 is out! Check out this new things.<span id="more-468"></span></p>
<blockquote><p>This release features a lightning fast redesigned linking workflow which makes it easy to link to your existing posts and pages, an admin bar so you’re never more than a click away from your most-used dashboard pages, a streamlined writing interface that hides many of the seldom-used panels by default to create a simpler and less intimidating writing experience for new bloggers (visit Screen Options in the top right to get old panels back), and a refreshed blue admin scheme available for selection under your personal options.</p>
<p>There’s a bucket of candy for developers as well, including our new Post Formats support which makes it easy for themes to create portable tumblelogs with different styling for different types of posts, new CMS capabilities like archive pages for custom content types, a new Network Admin, an overhaul of the import and export system, and the ability to perform advanced taxonomy and custom fields queries.</p>
<p>With the 3.1 release, WordPress is more of a CMS than ever before. The only limit to what you can build is your imagination.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/wordpress-3-1-is-out.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic Meta Description</title>
		<link>http://wpfunc.com/wordpress/dynamic-meta-description.html</link>
		<comments>http://wpfunc.com/wordpress/dynamic-meta-description.html#comments</comments>
		<pubDate>Fri, 17 Dec 2010 09:04:46 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[header.php]]></category>
		<category><![CDATA[meta description]]></category>
		<category><![CDATA[meta tags]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=465</guid>
		<description><![CDATA[WordPress using blog description with meta description. But we want to sync. with search terms and posts. We can do that without a plugin. Let&#8217;s begin.
We can make this via functions.php. If we make a function about this we can use posts excerpt with meta tag description.
Here is the code;
Make a copy of your theme&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress using blog description with meta description. But we want to sync. with search terms and posts. We can do that without a plugin. Let&#8217;s begin.</p>
<p><span id="more-465"></span>We can make this via functions.php. If we make a function about this we can use posts excerpt with meta tag description.</p>
<h3>Here is the code;</h3>
<p>Make a copy of your <strong><span style="color: #0000ff;">theme&#8217;s</span></strong> <span style="color: #ff0000;"><strong>functions.php</strong></span> and add this code before <strong><span style="color: #ff0000;">?&gt;</span></strong></p>
<pre class="brush: php; title: ; notranslate">
function dynamic_meta_description() {
	$rawcontent = 	get_the_content();
	if(empty($rawcontent)) {
		$rawcontent = htmlentities(bloginfo('description'));
	} else {
		$rawcontent = apply_filters('the_content_rss', strip_tags($rawcontent));
		$rawcontent = preg_replace('/\[.+\]/','', $rawcontent);
		$chars = array(&quot;&quot;, &quot;\n&quot;, &quot;\r&quot;, &quot;chr(13)&quot;,  &quot;\t&quot;, &quot;&#92;&#48;&quot;, &quot;\x0B&quot;);
		$rawcontent = htmlentities(str_replace($chars, &quot; &quot;, $rawcontent));
	}
	if (strlen($rawcontent) &lt; 155) {
		echo $rawcontent;
	} else {
		$desc = substr($rawcontent,0,155);
		return $desc;
	}
}
</pre>
<p>Save functions.php and place it to your theme&#8217;s folder. In this code we use <strong><span style="color: #ff0000;">get_the_contet()</span></strong> function for call our post.<br />
After that you can use this code into your header.php for meta descripton.</p>
<pre class="brush: php; title: ; notranslate">&lt;meta name=&quot;description&quot; content=&quot;&lt;?php echo dynamic_meta_description(); ?&gt;&quot; /&gt;</pre>
<p>That&#8217;s All.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/dynamic-meta-description.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

