<?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; del.icio.us</title>
	<atom:link href="http://wpfunc.com/tag/del-icio-us/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>Display Custom Content to Search Engine Visitors!</title>
		<link>http://wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html</link>
		<comments>http://wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html#comments</comments>
		<pubDate>Mon, 28 Dec 2009 10:24:51 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[visitors]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=337</guid>
		<description><![CDATA[With this code you can show a custom message or contet to your search-engine visitors. We will edit funcitons.php and any theme file you want to show your content to search engine vsitors. Let&#8217;s Begin&#8230;
Here is the code;
Backup and open your theme&#8217;s functions.php and insert this code into it.
You can edit or add any search [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">With this code you can show a custom message or contet to your search-engine visitors. We will edit <span style="color: #ff0000;"><strong>funcitons.php </strong></span>and any theme file you want to show your content to search engine vsitors. Let&#8217;s Begin&#8230;<span id="more-337"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;"><strong><span style="color: #ff9900;">Backup</span></strong> and open your theme&#8217;s <span style="color: #ff0000;"><strong>functions.php</strong></span> and insert this code into it.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php function search_engine_visitors() {

	$ref = $_SERVER['HTTP_REFERER'];
	$SE  = array('/search?', 'images.google.', 'web.info.com', 'search.', 'del.icio.us/search', 'soso.com', '/search/', '.yahoo.');

	foreach($SE as $source) {
		if(strpos($ref, $source) !== false) return true;
	}
	return false;
} ?&gt;</pre>
<p style="text-align: justify;">You can edit or add any search engine rules into $SE. After that your function is ready. Insert this code below where you want to show your custom content to visitors.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php if(function_exists('search_engine_visitors')) {
	if (search_engine_visitors()) {

		// INSERT YOUR CODE HERE

	}
} ?&gt;</pre>
<p style="text-align: justify;">That&#8217;s All. Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

