<?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; content</title>
	<atom:link href="http://wpfunc.com/tag/content/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>Add a Subscribe to my RSS message after every post</title>
		<link>http://wpfunc.com/wordpress/add-a-subscribe-to-my-rss-after-every-post.html</link>
		<comments>http://wpfunc.com/wordpress/add-a-subscribe-to-my-rss-after-every-post.html#comments</comments>
		<pubDate>Sat, 20 Feb 2010 20:51:03 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[subscribe]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=402</guid>
		<description><![CDATA[You can add a simple message after your every post. This is a simple code. Just open your single.php and add this code. That&#8217;s All!

Here is the code;
Open single.php and add this code after content code;
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can add a simple message after your every post. This is a simple code. Just open your single.php and add this code. That&#8217;s All!</p>
<p><span id="more-402"></span></p>
<h3>Here is the code;</h3>
<p>Open <span style="color: #ff0000;"><strong>single.php</strong></span> and add this code after<span style="color: #ff0000;"><strong> content</strong></span> code;</p>
<pre class="brush: php; title: ; notranslate">&lt;div style=&quot;padding:5px; border:1px solid #999999; margin-top:10px; background-color:#FFF8AF;&quot;&gt;
If you enjoyed this post, make sure you subscribe to my &lt;a href=&quot;&lt;?php bloginfo('rss2_url'); ?&gt;&quot;&gt;RSS Feed&lt;/a&gt;
&lt;/div&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/add-a-subscribe-to-my-rss-after-every-post.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Related Posts With Thumbnails</title>
		<link>http://wpfunc.com/wordpress/related-posts-with-thumbnails.html</link>
		<comments>http://wpfunc.com/wordpress/related-posts-with-thumbnails.html#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:51:20 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[Related posts]]></category>
		<category><![CDATA[tim thumb]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=396</guid>
		<description><![CDATA[We can add our related posts with thumnails after our content. There is a lot of plugin for that but we can do this without any plugin. But we need Tim Tumb for thumbnails. Let&#8217;s begin&#8230;
Here is The Code;
Add this code after content. Look at Tim Thumb at here. Have a nice day!
]]></description>
			<content:encoded><![CDATA[<p>We can add our related posts with thumnails after our content. There is a lot of plugin for that but we can do this without any plugin. But we need Tim Tumb for thumbnails. Let&#8217;s begin&#8230;<span id="more-396"></span></p>
<h3>Here is The Code;</h3>
<pre class="brush: php; title: ; notranslate">&lt;?php
$original_post = $post;
$tags = wp_get_post_tags($post-&gt;ID);
if ($tags) {
  echo '&lt;h2&gt;Related Posts&lt;/h2&gt;';
  $first_tag = $tags[0]-&gt;term_id;
  $args=array(
    'tag__in' =&gt; array($first_tag),
    'post__not_in' =&gt; array($post-&gt;ID),
    'showposts'=&gt;4,
    'caller_get_posts'=&gt;1
   );
  $my_query = new WP_Query($args);
  if( $my_query-&gt;have_posts() ) {
    echo &quot;&lt;ul&gt;&quot;;
    while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
      &lt;li&gt;&lt;img src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/timthumb/timthumb.php?src=&lt;?php echo get_post_meta($post-&gt;ID, &quot;post-img&quot;, true); ?&gt;&amp;h=40&amp;w=40&amp;zc=1&quot; alt=&quot;&quot; /&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;?php endwhile;
    echo &quot;&lt;/ul&gt;&quot;;
  }
}
$post = $original_post;
wp_reset_query();
?&gt;</pre>
<p>Add this code after <strong>content</strong>. Look at <a href="http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/" target="_blank">Tim Thumb</a> at here. Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/related-posts-with-thumbnails.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buble Tooltips!</title>
		<link>http://wpfunc.com/wordpress/buble-tooltips.html</link>
		<comments>http://wpfunc.com/wordpress/buble-tooltips.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 18:18:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[CSS&Javascript]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[bubletooltips]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=366</guid>
		<description><![CDATA[You can use this tooltips with your WordPress Blog! Very simple and collect href and href&#8217;s title areas for write bubles. This tooltip script has a verysimple, very nice code and easy install&#38;use! Let&#8217;s Begin!
Here is the code;
This script have a nice coding. You add a javascript file into header.php with a simple code. This [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can use this tooltips with your WordPress Blog! Very simple and collect href and href&#8217;s title areas for write bubles. This tooltip script has a verysimple, very nice code and easy install&amp;use! Let&#8217;s Begin!<span id="more-366"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;">This script have a nice coding. You add a javascript file into header.php with a simple code. This javascript calls the content area and class and added tooltip to every link!</p>
<p>1. Add some code into <em><strong><span style="color: #ff0000;">header.php</span></strong></em></p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;BubbleTooltips.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
window.onload=function(){enableTooltips()};
&lt;/script&gt;</pre>
<p style="text-align: justify;">Add this code before the <strong>wp_head </strong>tag. Also you define an id for the special tooltip area. For an example i write &#8220;<strong>content</strong>&#8221; into enable <a class="highslide img_2" href="http://www.wpfunc.com/wp-content/uploads/2010/01/tooltip.png" onclick="return hs.expand(this)"><img class="alignright size-medium wp-image-367" style="margin: 1px;" title="tooltip" src="http://www.wpfunc.com/wp-content/uploads/2010/01/tooltip-300x86.png" alt="" width="300" height="86" /></a>Tooltips area. But in fact i use this function in my Turkish blog site with a special area. <strong>The social bookmarks&amp;follow area. </strong>Here is the some pictures from there. If you want to visit and test the tooltip <em><strong><a href="http://www.kaisercrazy.com" target="_blank">click here</a></strong></em>. There an example with special area. You have to select your <strong>div id&#8217;s</strong> Go to next step!</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;BubbleTooltips.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
window.onload=function(){enableTooltips(&quot;social&quot;)};
&lt;/script&gt;</pre>
<p>2. Add this css code into your <em><span style="color: #ff0000;"><strong>style.css</strong></span></em></p>
<pre class="brush: css; title: ; notranslate">.tooltip{
width: 200px; color:#000;
font:lighter 11px/1.3 Arial,sans-serif;
text-decoration:none;text-align:center}

.tooltip span.top{padding: 30px 8px 0;
    background: url(bt.gif) no-repeat top}

.tooltip b.bottom{padding:3px 8px 15px;color: #548912;
    background: url(bt.gif) no-repeat bottom}</pre>
<p style="text-align: justify;">That&#8217;s all now upload this files and <strong>.js</strong> and<strong> bt.gif</strong> image. Also you can download this tooltip codes from this post! <a href="http://web-graphics.com/mtarchive/001717.php" target="_blank">The original post!<br />
</a> Note: There is a file embedded within this post, please visit this post to download the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/buble-tooltips.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert a text to text editor automatically!</title>
		<link>http://wpfunc.com/wordpress/insert-a-text-to-text-editor-automatically.html</link>
		<comments>http://wpfunc.com/wordpress/insert-a-text-to-text-editor-automatically.html#comments</comments>
		<pubDate>Thu, 24 Sep 2009 21:47:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[Tinymce]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=213</guid>
		<description><![CDATA[Have you any attention or remind words have to add for your readers. If you have this code will help you. Because this code/function automatically add the text which you entered with this code.
First one you will change your theme&#8217;s functions.php. make a backup please. After backup you can open and paste this code below;
Here [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Have you any attention or remind words have to add for your readers. If you have this code will help you. Because this code/function automatically add the text which you entered with this code.<span id="more-213"></span></p>
<p style="text-align: justify;">First one you will change your <strong>theme&#8217;s functions.php</strong>. make a backup please. After backup you can open and paste this code below;</p>
<h3 style="text-align: justify;">Here is the code;</h3>
<pre class="brush: plain; title: ; notranslate">&lt;?php

add_filter( 'default_content', 'my_editor_content' );

function my_editor_content( $content ) {

$content = &quot;This is some custom content I'm adding to the post editor because I hate re-typing it.&quot;;

return $content;
}

?&gt;</pre>
<p style="text-align: justify;">After you add this code to your <strong>functions.php</strong>, this code automatically add the text which you write.</p>
<p style="text-align: justify;">That&#8217;s All. Have a nice day. Thanks to<a href="http://justintadlock.com/archives/2009/04/05/how-to-preset-text-in-the-wordpress-post-editor" target="_blank"> Justin Tadlock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/insert-a-text-to-text-editor-automatically.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

