<?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; title</title>
	<atom:link href="http://wpfunc.com/tag/title/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>Make Your Titles Shorten Then Now!</title>
		<link>http://wpfunc.com/wordpress/make-your-titles-shorten-then-now.html</link>
		<comments>http://wpfunc.com/wordpress/make-your-titles-shorten-then-now.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 19:13:46 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[long titles]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[short title]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=422</guid>
		<description><![CDATA[Some people use extremly long titles for their blog. Also you can use titles like that. There is a way to make short titles for SEO. I will give to you this quick and simple function to make this. Let&#8217;s begin&#8230;
Here is The Code;
Add this function into your theme&#8217;s functions.php.
After this you can use this [...]]]></description>
			<content:encoded><![CDATA[<p>Some people use extremly long titles for their blog. Also you can use titles like that. There is a way to make short titles for SEO. I will give to you this quick and simple function to make this. Let&#8217;s begin&#8230;<span id="more-422"></span></p>
<h3>Here is The Code;</h3>
<p>Add this function into your<span style="color: #ff0000;"><strong> theme&#8217;s</strong></span> <span style="color: #ff0000;"><strong>functions.php</strong></span>.</p>
<pre class="brush: php; title: ; notranslate">function short_title($after = '', $length) {
	$mytitle = explode(' ', get_the_title(), $length);
	if (count($mytitle)&gt;=$length) {
		array_pop($mytitle);
		$mytitle = implode(&quot; &quot;,$mytitle). $after;
	} else {
		$mytitle = implode(&quot; &quot;,$mytitle);
	}
	return $mytitle;
}</pre>
<p>After this you can use this simple function for show your titles shorten then now. You can add this lines into your <span style="color: #ff0000;"><strong>index.php</strong></span> or where you want!</p>
<pre class="brush: php; title: ; notranslate">&lt;?php
// short_title($after, $length)
echo short_title('...', 10);
?&gt;</pre>
<p>That&#8217;s all. Have a nice day.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/make-your-titles-shorten-then-now.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove Protected and Private from title!</title>
		<link>http://wpfunc.com/wordpress/remove-protected-and-private-from-title.html</link>
		<comments>http://wpfunc.com/wordpress/remove-protected-and-private-from-title.html#comments</comments>
		<pubDate>Fri, 26 Feb 2010 19:00:19 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[protected]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=405</guid>
		<description><![CDATA[Add this code to functions.php in theme directory. This code removes &#8220;protected&#8221; and &#8220;private&#8221; prefixs from your article titles. Let&#8217;s Begin&#8230;

Here is the code;
That&#8217;s All!
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Add this code to <span style="color: #ff0000;"><strong>functions.php</strong></span> in theme directory. This code removes &#8220;<strong>protected</strong>&#8221; and &#8220;<strong>private</strong>&#8221; prefixs from your article titles. Let&#8217;s Begin&#8230;</p>
<p><span id="more-405"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php; title: ; notranslate">function the_title_trim($title) {
	$title = attribute_escape($title);
	$findthese = array(
		'#Protected:#',
		'#Private:#'
	);
	$replacewith = array(
		'', // What to replace &quot;Protected:&quot; with
		'' // What to replace &quot;Private:&quot; with
	);
	$title = preg_replace($findthese, $replacewith, $title);
	return $title;
}
add_filter('the_title', 'the_title_trim');
</pre>
<p>That&#8217;s All!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/remove-protected-and-private-from-title.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change your Post/Page title with a custom field?</title>
		<link>http://wpfunc.com/wordpress/how-to-change-your-post-page-title-with-a-custom-field.html</link>
		<comments>http://wpfunc.com/wordpress/how-to-change-your-post-page-title-with-a-custom-field.html#comments</comments>
		<pubDate>Sun, 20 Sep 2009 23:57:22 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom title]]></category>
		<category><![CDATA[customizable titles]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=176</guid>
		<description><![CDATA[With this tip you can change and make post/page title customizable. That&#8217;s is so simple. Just copy this code and paste your single.php and page.php or where you want to change title. After that you have to create a new custom field which name is &#8220;custom-title&#8220;! After that you can write your custom title in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">With this tip you can change and make post/page title customizable. That&#8217;s is so simple. Just copy this code and paste your <strong>single.php</strong> and <strong>page.php</strong> or where you want to change title. After that you have to create a new custom field which name is &#8220;<strong><span style="color: #ff0000;">custom-title</span></strong>&#8220;! After that you can write your custom title in this field.<span id="more-176"></span></p>
<h2>Here is the code;</h2>
<pre class="brush: plain; title: ; notranslate">&lt;?php $title = get_post_meta($post-&gt;ID, &quot;custom-title&quot;, true);
if ($title != &quot;&quot;) {
echo &quot;&lt;h1&gt;&quot;.$title.&quot;&lt;/h1&gt;&quot;;
} else { ?&gt;
&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
&lt;?php } ?&gt;
</pre>
<p>That&#8217;s All! Have a nice day.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/how-to-change-your-post-page-title-with-a-custom-field.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Did you bored #more in links?</title>
		<link>http://wpfunc.com/wordpress/did-you-bored-more-in-links.html</link>
		<comments>http://wpfunc.com/wordpress/did-you-bored-more-in-links.html#comments</comments>
		<pubDate>Thu, 17 Sep 2009 21:46:16 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[jump link]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[link change]]></category>
		<category><![CDATA[more]]></category>
		<category><![CDATA[more link]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=173</guid>
		<description><![CDATA[When i check my turkish website&#8217;s link i saw &#8220;#more&#8221; in the end of my links. Sometimes this tag change the title of post(s) when you click Read More. I think this is a bad thing. When i search about it i found in WordPress Codex this code. You can aplly for your theme.
Here is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">When i check my turkish website&#8217;s link i saw &#8220;#more&#8221; in the end of my links. Sometimes this tag change the title of post(s) when you click <strong>Read More</strong>. I think this is a bad thing. When i search about it i found in WordPress Codex this code. You can aplly for your theme.<span id="more-173"></span></p>
<h2 style="text-align: justify;">Here is the code;</h2>
<p style="text-align: justify;"><span class="attention">With this code we will change our theme&#8217;s <strong>functions.php</strong>. If you don&#8217;t know about WordPress coding or PHP please don&#8217;t touch this file. </span></p>
<p style="text-align: justify;">Firstly you should make a backup of your theme&#8217;s <strong>functions.php</strong>. After that open the <strong>functions.php</strong> and paste this code;</p>
<pre class="brush: plain; title: ; notranslate">function remove_more_jump_link($link) {
$offset = strpos($link, '#more-');
if ($offset) {
$end = strpos($link, '&quot;',$offset);
}

if ($end) {
$link = substr_replace($link, '', $offset, $end-$offset);
}
return $link;
}

add_filter('the_content_more_link', 'remove_more_jump_link');</pre>
<p style="text-align: justify;"> That&#8217;s All. Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/did-you-bored-more-in-links.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

