<?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>Open Script Solution &#187; Atahualpa</title>
	<atom:link href="http://www.openscriptsolution.com/tag/atahualpa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openscriptsolution.com</link>
	<description>... where solutions for script programming are found ...</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:48:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Display Pods Data Properly Using Atahualpa Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/07/23/how-to-display-pods-data-properly-using-atahualpa-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/07/23/how-to-display-pods-data-properly-using-atahualpa-theme-of-wordpress/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 04:34:40 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Pods CMS]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1239</guid>
		<description><![CDATA[If you use Pods CMS plugin with Atahualpa theme for your WordPress-based site, then this following modification is for you, indeed. It will show you how to display the Pods data properly by using Atahualpa theme in WordPress site. Atahualpa is one of the best WordPress theme that I have been using for this last [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a href="http://podscms.org" title="Pods CMS" target="_blank">Pods CMS</a> plugin with <a href="http://wordpress.bytesforall.com/" title="Atahulpa theme" target="_blank">Atahualpa</a> theme for your <a href="http://wordpress.org" title="WordPress" target="_blank">WordPress</a>-based site, then this following modification is for you, indeed. It will show you how to display the Pods data properly by using Atahualpa theme in WordPress site. Atahualpa is one of the best WordPress theme that I have been using for this last one year. It is a very powerful theme. However, for some beginners, this theme looks too complicated, especially if you want to hard-code the source in order to put your own content into its sidebar. For example, in this case that we are talking about, when you add your own Pods data into the middle-area of your site, the sidebars are messed-up. Then, after for several hours exploring this theme, I found the trick how you can add your Pods data easily by modifying one of the theme&#8217;s files, afterwards adding your own template files and put them inside the Atahualpa theme directory. Yay! That&#8217;s so simple, huh? <span id="more-1239"></span></p>
<ol>
<li>
Open your <strong>wp-content/themes/{youratahualpathemename}/bfa_get_options.php</strong> file, and find this code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></div></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_pod_page<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// modified by Masino Sinaga, July 2010</span></pre></div></div>

<p>That modification means that the Pods page will be treated with the same way when WordPress display the posts based on their categories.
</li>
<li>
Create your own template file that compatible with the WordPress, for example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Template Name: YourTemplateName
*/</span>
&nbsp;
<span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span>TEMPLATEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/functions/bfa_get_options.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
get_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// your code to display Pods data goes here ...</span>
&nbsp;
get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>then save it as (for example): <strong>my-first-template.php</strong> file, and put this file inside your Atahualpa theme directory.</p>
<p>Please note that you have to always put the include statement just like above in order to include the <strong>bfa_get_options.php</strong> file, in order to tell the theme to always check whether the current page is a pod page or not as shown in the first step above.
</li>
</ol>
<p>Have a nice code!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/07/23/how-to-display-pods-data-properly-using-atahualpa-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Avoid Error Message When Your Visitor Trying to Display Your Atahualpa 3.5.1 Theme Directory in WordPress</title>
		<link>http://www.openscriptsolution.com/2010/07/07/how-to-avoid-error-message-when-your-visitor-trying-to-display-your-atahualpa-3-5-1-theme-directory-in-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/07/07/how-to-avoid-error-message-when-your-visitor-trying-to-display-your-atahualpa-3-5-1-theme-directory-in-wordpress/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 02:49:19 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[avoid]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[directory listing]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[menghindari]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1217</guid>
		<description><![CDATA[Today I found something that annoying me when I tried to test the security hole by displaying the theme directory for one of my website that using Atahualpa theme version 3.5.1. Some error messages appeared when I tried to access such address: h++p://www.mydomain.com/wp-content/themes/atahualpa351/ . This error message caused by the using of unknown TEMPLATEPATH constant [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found something that annoying me when I tried to test the security hole by displaying the theme directory for one of my website that using <a href="http://wordpress.bytesforall.com/" title="Atahualpa theme" target="_blank">Atahualpa</a> theme version 3.5.1. Some error messages appeared when I tried to access such address: h++p://www.mydomain.com/wp-content/themes/atahualpa351/ . This error message caused by the using of unknown TEMPLATEPATH constant if this file accessed directly without from the index of the website itself. So, here is the modification I created to display &#8220;Access denied&#8221; message instead of error message that displaying the path of the theme directory in my web server. <span id="more-1217"></span></p>
<p>Open your <strong>wp-content/themes/{youratahualpadirectoryname}/index.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span>TEMPLATEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/functions/bfa_get_options.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>before that line of code, please insert this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">file_exists</span><span style="color: #009900;">&#40;</span>TEMPLATEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/functions/bfa_get_options.php'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sorry, access denied for displaying this directory!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>then save the changes.</p>
<p>That&#8217;s it! Now you should see the better error message than before if your visitor trying to display your theme directory. <img src='http://www.openscriptsolution.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/07/07/how-to-avoid-error-message-when-your-visitor-trying-to-display-your-atahualpa-3-5-1-theme-directory-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Translate &#8220;Powered by&#8221; Text in Atahualpa 3.4.6 Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/05/02/how-to-translate-powered-by-text-in-atahualpa-3-4-6-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/05/02/how-to-translate-powered-by-text-in-atahualpa-3-4-6-theme-of-wordpress/#comments</comments>
		<pubDate>Sun, 02 May 2010 01:51:09 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.4.6]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[Powered by]]></category>
		<category><![CDATA[teks]]></category>
		<category><![CDATA[terjemahan]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[tulisan]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1179</guid>
		<description><![CDATA[Another text that has not been translated yet in Atahualpa 3.4.6 theme of WordPress is &#8220;Powered by&#8221; text. I have successfully created the modification in order to translate this text to another language if your site uses multi language content using related plugin, such as WPML, by adding the __() function to the related text. [...]]]></description>
			<content:encoded><![CDATA[<p>Another text that has not been translated yet in Atahualpa 3.4.6 theme of WordPress is &#8220;Powered by&#8221; text. I have successfully created the modification in order to translate this text to another language if your site uses multi language content using related plugin, such as <a href="http://www.wpml.org">WPML</a>, by adding the __() function to the related text. This following modification has the relationship with another modification that I wrote in <strong><a href="http://www.openscriptsolution.com/2010/04/30/how-to-translate-copyright-text-in-footer-of-atahualpa-3-4-6-theme-of-wordpress/" target="_blank">How to Translate Copyright Text in Footer of Atahualpa 3.4.6 Theme of WordPress</a></strong>. <span id="more-1179"></span></p>
<p>Open your <strong>/wp-content/themes/{youratahualpadirectory}/functions.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>139
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$footer_content</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;br /&gt;Powered by &lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress&lt;/a&gt; &amp; the &lt;a href=&quot;http://wordpress.bytesforall.com/&quot; title=&quot;Customizable WordPress themes&quot;&gt;Atahualpa Theme&lt;/a&gt; by &lt;a href=&quot;http://www.bytesforall.com/&quot; title=&quot;BFA Webdesign&quot;&gt;BytesForAll&lt;/a&gt;. Discuss on our &lt;a href=&quot;http://forum.bytesforall.com/&quot; title=&quot;Atahualpa &amp; WordPress&quot;&gt;WP Forum&lt;/a&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>139
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$footer_content</span> <span style="color: #339933;">.=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;br /&gt;Powered by &lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress&lt;/a&gt; &amp; the &lt;a href=&quot;http://wordpress.bytesforall.com/&quot; title=&quot;Customizable WordPress themes&quot;&gt;Atahualpa Theme&lt;/a&gt; by &lt;a href=&quot;http://www.bytesforall.com/&quot; title=&quot;BFA Webdesign&quot;&gt;BytesForAll&lt;/a&gt;. Discuss on our &lt;a href=&quot;http://forum.bytesforall.com/&quot; title=&quot;Atahualpa &amp; WordPress&quot;&gt;WP Forum&lt;/a&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'atahualpa'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/05/02/how-to-translate-powered-by-text-in-atahualpa-3-4-6-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Translate &#8220;Home&#8221; Text in Atahualpa 3.4.6 Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/05/01/how-to-translate-home-text-in-atahualpa-3-4-6-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/05/01/how-to-translate-home-text-in-atahualpa-3-4-6-theme-of-wordpress/#comments</comments>
		<pubDate>Sat, 01 May 2010 01:02:29 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.4.6]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[multi-language]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1174</guid>
		<description><![CDATA[Another modification that needed to be applied if you are running Atahualpa theme in a website that support for multi language powered by the certain plugin is to add the translation function to the Home text. As we know, in Atahualpa version 3.4.6, this string has not been translated properly yet, neither in the page [...]]]></description>
			<content:encoded><![CDATA[<p>Another modification that needed to be applied if you are running Atahualpa theme in a website that support for multi language powered by the certain plugin is to add the translation function to the <strong>Home</strong> text. As we know, in Atahualpa version 3.4.6, this string has not been translated properly yet, neither in the page menu bar and in the category menu bar. So here is the modification that I have already successfully done. <span id="more-1174"></span></p>
<p>Open your <strong>/wp-content/themes/{youratahualpathemedirectory}/functions/bfa_header_config.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>32
33
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$page_menu_bar</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'get_option_home'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/&quot; title=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bloginfo_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> 
		<span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'home_page_menu_bar'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;&lt;/li&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>32
33
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$page_menu_bar</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'get_option_home'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bloginfo_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> 
		__<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'home_page_menu_bar'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'atahualpa'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;&lt;/li&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That modification above intended for the home text in page menu bar. After that, we need also to modify the similar code for the home text in category menu bar.</p>
<p>Find again this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>80
81
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$cat_menu_bar</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'get_option_home'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/&quot; title=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bloginfo_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> 
	<span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'home_cat_menu_bar'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;&lt;/li&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>80
81
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$cat_menu_bar</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&quot;&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'get_option_home'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bloginfo_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> 
	__<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'home_cat_menu_bar'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'atahualpa'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;&lt;/li&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s all, folks! Hopefully this will help you.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/05/01/how-to-translate-home-text-in-atahualpa-3-4-6-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Translate Copyright Text in Footer of Atahualpa 3.4.6 Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/04/30/how-to-translate-copyright-text-in-footer-of-atahualpa-3-4-6-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/04/30/how-to-translate-copyright-text-in-footer-of-atahualpa-3-4-6-theme-of-wordpress/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 00:05:35 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.4.6]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[multi-language]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1169</guid>
		<description><![CDATA[For those of you who are using Atahualpa version 3.4.6 theme and your site also running WPML plugin, you have to modify the certain code in footer.php file inside your Atahualpa directory theme in order to translate the copyright text properly. Here is the simple modification that I have successfully done and you also need [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who are using <a href="http://wordpress.org/extend/themes/atahualpa" target="_blank">Atahualpa</a> version 3.4.6 theme and your site also running <a href="http://wordpress.org/extend/plugins/sitepress-multilingual-cms/" target="_blank">WPML</a> plugin, you have to modify the certain code in <strong>footer.php</strong> file inside your Atahualpa directory theme in order to translate the copyright text properly. Here is the simple modification that I have successfully done and you also need to do. <span id="more-1169"></span></p>
<p>Open your <strong>/wp-content/themes/{youratahualpadirectorytheme}/footer.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>78
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> bfa_footer<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'footer_style_content'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>78
79
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">// Modified by Masino Sinaga, April 29, 2010, in order to translate the copyright text ?&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> bfa_footer<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'footer_style_content'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'atahualpa'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Save the changes, and refresh or reload your site. Now the copyright text in your footer site should be translated according to the selected language.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/04/30/how-to-translate-copyright-text-in-footer-of-atahualpa-3-4-6-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improving Translation of Continue Reading in Atahualpa 3.4.6 Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/04/29/improving-translation-of-continue-reading-in-atahualpa-3-4-6-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/04/29/improving-translation-of-continue-reading-in-atahualpa-3-4-6-theme-of-wordpress/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:02:40 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.4.6]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[multi-language]]></category>
		<category><![CDATA[multilingual]]></category>
		<category><![CDATA[Read More]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1165</guid>
		<description><![CDATA[There is a little modification that needs to be added to the Atahualpa theme in order to support for multi language of the string: Continue reading %post-title%. As we know, this string has the same function with Read More tag in WordPress. You can see its demo from this website that support for English and [...]]]></description>
			<content:encoded><![CDATA[<p>There is a little modification that needs to be added to the Atahualpa theme in order to support for multi language of the string: <strong>Continue reading %post-title%</strong>. As we know, this string has the same function with <strong>Read More</strong> tag in WordPress. You can see its demo from <a href="http://www.ilovewordpress.org" target="_blank">this website</a> that support for <a href="http://www.ilovewordpress.org" target="_blank">English</a> and <a href="http://www.ilovewordpress.org/id/" target="_blank">Indonesian</a> language. So, in order to translate that string to another language, especially if your site supports for multi language, then you have to modify this following code. Please note that this modification applied to Atahualpa version 3.4.6. <span id="more-1165"></span></p>
<p>Open your <strong>/themes/{youratahualpathemedirectory}/bfa_post_parts.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>121
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$bfa_ata_more_tag_final</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;%post-title%&quot;</span><span style="color: #339933;">,</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'more_tag'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>121
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$bfa_ata_more_tag_final</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;%post-title%&quot;</span><span style="color: #339933;">,</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> __<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'more_tag'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'atahualpa'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The conclusion of this modification is that you have to add the __() function to the <strong>$bfa_ata['more_tag']</strong> string, become: <strong>__($bfa_ata['more_tag'], &#8216;atahualpa&#8217;) </strong>. Hopefully this will help you.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/04/29/improving-translation-of-continue-reading-in-atahualpa-3-4-6-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Navigate Posts Only in The Current Category using Smarter Navigation Plugin and Atahualpa Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/01/16/how-to-navigate-posts-only-in-the-current-category-using-smarter-navigation-plugin-and-atahualpa-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/01/16/how-to-navigate-posts-only-in-the-current-category-using-smarter-navigation-plugin-and-atahualpa-theme-of-wordpress/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 09:14:58 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[next]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[previous]]></category>
		<category><![CDATA[smart]]></category>
		<category><![CDATA[Smarter Navigation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1095</guid>
		<description><![CDATA[If you want to change the existing navigation in Atahualpa Theme of your WordPress website that navigate all post based on the order of the general Post ID no matter which category you choose, become the smarter technique which will navigate based on the current category that selected by user, then this following modification is [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to change the existing navigation in Atahualpa Theme of your WordPress website that navigate all post based on the order of the general Post ID no matter which category you choose, become the smarter technique which will navigate based on the current category that selected by user, then this following modification is for you! As we know, Atahualpa theme has provided the previous/next link when we display the certain post in the top of the post page. Unfortunately, by default, when we choose the certain category, then we navigate through that navigation post link, it will avoid the selected category. Now, after you implement this following modification, you will be able to navigate only through the posts that located in the certain category that you have choosen. Isn&#8217;t smarter, huh? <span id="more-1095"></span></p>
<ol>
<li>
Download the <a href="http://wordpress.org/extend/plugins/smarter-navigation/">Smarter Navigation</a> plugin.
</li>
<li>
Upload this plugin to your <strong>/wp-content/plugins/</strong> and then extract it.
</li>
<li>
Activate this plugin from your wp-admin.
</li>
<li>
Open your <strong>/wp-content/themes/{youratahualpaname}/functions/bfa_next_previous_links.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>137
138
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		previous_post_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_older'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> 
		next_post_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_newer'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>137
138
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		previous_post_smart<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_older'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// previous_post_link replaced by previous_post_smart in order to navigate only in the current category using Smarter Navigation plugin, modified by Masino Sinaga, Januari 16, 2010</span>
		next_post_smart<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_newer'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// next_post_link replaced by next_post_smart in order to navigate only in the current category using Smarter Navigation plugin, modified by Masino Sinaga, Januari 16, 2010</span></pre></td></tr></table></div>

<p>Find again this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>147
148
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		next_post_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_newer'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> 
		previous_post_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_older'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then replace with this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>147
148
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		next_post_smart<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_newer'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// next_post_link replaced by next_post_smart in order to navigate only in the current category using Smarter Navigation plugin, modified by Masino Sinaga, Januari 16, 2010</span>
		previous_post_smart<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'single_next_prev_older'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// previous_post_link replaced by previous_post_smart in order to navigate only in the current category using Smarter Navigation plugin, modified by Masino Sinaga, Januari 16, 2010</span></pre></td></tr></table></div>

</li>
</ol>
<p>The conclusion: All you need to do is simply replace the <strong>link</strong> with <strong>smart</strong> in the <strong>previous_post_link</strong> and <strong>next_post_link</strong> function call in <strong>bfa_next_previous_links.php</strong> file belongs to <strong>Atahualpa</strong> theme. Afterwards, you can navigate through the posts only that located in the certain category you chose.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/01/16/how-to-navigate-posts-only-in-the-current-category-using-smarter-navigation-plugin-and-atahualpa-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Add Google Search in Top of Post and Page in Atahualpa Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2009/12/19/how-to-add-google-search-in-top-of-post-and-page-in-atahualpa-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2009/12/19/how-to-add-google-search-in-top-of-post-and-page-in-atahualpa-theme-of-wordpress/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 14:54:56 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1049</guid>
		<description><![CDATA[If you want to add the Google Search in each of post or page of Atahualpa theme of WordPress, then this modification is for you! By using this modification, your visitor will have the ability to search any information from your blog to Google, and the search result will be displayed in a new window [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to add the <strong>Google Search</strong> in each of post or page of Atahualpa theme of WordPress, then this modification is for you! By using this modification, your visitor will have the ability to search any information from your blog to Google, and the search result will be displayed in a new window of your browser. <span id="more-1049"></span></p>
<ol>
<li>
Open your <strong>wp-content/themes/atahualpa/header.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>99
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #339933;">&lt;</span>td id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;middle&quot;</span><span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>then after that line, please insert this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;widget&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #000088;">$my_domain</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;visualbasicindonesia.com&quot;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// &lt;-- put your domain here!</span>
<span style="color: #000088;">$text_color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;000000&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$results_bg</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;FFFFFF&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$header_bg</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;FFFFFF&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$border</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;336699&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$logo_height</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;50&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$logo_width</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;313&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$my_logo</span> <span style="color: #339933;">=</span> site_url<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/wp-content/themes/atahualpa/images/google.gif&quot;</span><span style="color: #339933;">;</span> 
<span style="color: #000088;">$my_logo_link</span> <span style="color: #339933;">=</span> site_url<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/wp-content/themes/atahualpa/images/yourlogo.jpg&quot;</span><span style="color: #339933;">;</span>                   
<span style="color: #000088;">$visited_link</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;663399&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$title_color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0000FF&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$url_color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;008000&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$faint_color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0000FF&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/************************************************************************/</span>
<span style="color: #666666; font-style: italic;">/************************************************************************/</span>
<span style="color: #666666; font-style: italic;">/*                   DO NOT EDIT BELOW HERE                             */</span>
<span style="color: #666666; font-style: italic;">/************************************************************************/</span>
<span style="color: #666666; font-style: italic;">/************************************************************************/</span>
<span style="color: #666666; font-style: italic;">// show the content of the block</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;!-- SiteSearch Google --&gt;
&lt;form method=GET action='http://www.google.com/custom' target=_blank&gt;
&lt;center&gt;&lt;a href='http://www.google.com/'&gt;&lt;img src='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_logo</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'
border='0' alt='Google'&gt;&lt;/a&gt;
&lt;input type=hidden name=domains value='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_domain</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;&lt;input type=text name=q size=15 maxlength=255 value=''&gt;&amp;nbsp;
&lt;input type=submit name=sa value='Search'&gt;&lt;/center&gt;
&lt;center&gt;&lt;font size=-1&gt;&lt;input type=radio name=sitesearch value='' checked&gt;Web
&lt;input type=radio name=sitesearch value='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_domain</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;www.&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_domain</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/center&gt;&lt;/font&gt;
&lt;input type=hidden name=client value='pub-4127448471140412'&gt;
&lt;input type=hidden name=forid value='1'&gt;
&lt;input type=hidden name=ie value='ISO-8859-1'&gt;
&lt;input type=hidden name=oe value='ISO-8859-1'&gt;
&lt;input type=hidden name=cof value='GALT:#&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;GL:1;DIV:#&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$border</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;VLC:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$visited_link</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;AH:center;BGC:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$results_bg</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;LBGC:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$header_bg</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;ALC:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$title_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;LC:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$title_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;T:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$text_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;GFNT:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$faint_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;GIMP:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$faint_color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;LH:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$logo_height</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;LW:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$logo_width</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;L:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_logo</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;S:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$my_logo_link</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;;FORID:1;'&gt;
&lt;input type=hidden name=hl value='en'&gt;
&lt;/form&gt;
&lt;!-- Sitesearch  Google --&gt;
&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;</pre></td></tr></table></div>

</li>
<li>
<div id="attachment_1051" class="wp-caption alignnone" style="width: 82px"><a href="http://www.openscriptsolution.com/wp-content/uploads/2009/12/google.gif"><img src="http://www.openscriptsolution.com/wp-content/uploads/2009/12/google.gif" alt="Google Logo" title="google" width="72" height="24" class="size-full wp-image-1051" />Download this file</a><p class="wp-caption-text">Google Logo</p></div>, then put this file in your <strong>/wp-content/themes/atahualpa/images/</strong> sub directory.
</li>
</ol>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/12/19/how-to-add-google-search-in-top-of-post-and-page-in-atahualpa-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Highlight The Current Category Parent Menu in Atahualpa Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2009/11/30/how-to-highlight-the-current-category-parent-menu-in-atahualpa-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2009/11/30/how-to-highlight-the-current-category-parent-menu-in-atahualpa-theme-of-wordpress/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 03:17:31 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[selected]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=930</guid>
		<description><![CDATA[After modifying the page menu in Atahualpa theme of WordPress in order to display the highlighted or selected page parent menu at this article: How to Highlight The Current Page Parent Menu in Atahualpa Theme of WordPress, then this following modification will also do the same thing, but for the category menu. As we have [...]]]></description>
			<content:encoded><![CDATA[<p>After modifying the page menu in <strong>Atahualpa</strong> theme of WordPress in order to display the highlighted or selected page parent menu at this article: <a href="http://www.openscriptsolution.com/2009/11/29/how-to-highlight-the-current-page-parent-menu-in-atahualpa-theme-of-wordpress/" target="_blank">How to Highlight The Current Page Parent Menu in Atahualpa Theme of WordPress</a>, then this following modification will also do the same thing, but for the category menu. As we have known, both page and category can be included in the header menu of the WordPress theme. Therefore, in order to implement this modification, then we simply edit the <strong>css.php</strong> file belongs to the theme above. <span id="more-930"></span></p>
<p>Open your <strong>\wp-content\themes\atahualpa\css.php</strong> file, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2449
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">div<span style="color: #666666; font-style: italic;">#menu2 ul.rMenu li.current-cat &gt; a:link,</span></pre></td></tr></table></div>

<p>then before that line, please insert this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2448
2449
2450
2451
2452
2453
2454
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">div#menu2 ul.rMenu li.current-cat-parent &gt; a:link, 
div#menu2 ul.rMenu li.current-cat-parent &gt; a:active, 
div#menu2 ul.rMenu li.current-cat-parent &gt; a:hover, 
div#menu2 ul.rMenu li.current-cat-parent &gt; a:visited {
	background-color: #<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cat_menu_bar_background_color_hover'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>;
	color: #<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cat_menu_bar_link_color_hover'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>;
	}</pre></td></tr></table></div>

<p>Now each time the child category menu being selected, then its parent category menu also will be highlighted or selected.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/11/30/how-to-highlight-the-current-category-parent-menu-in-atahualpa-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Highlight The Current Page Parent Menu in Atahualpa Theme of WordPress</title>
		<link>http://www.openscriptsolution.com/2009/11/29/how-to-highlight-the-current-page-parent-menu-in-atahualpa-theme-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2009/11/29/how-to-highlight-the-current-page-parent-menu-in-atahualpa-theme-of-wordpress/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 11:39:30 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[selected]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=926</guid>
		<description><![CDATA[If you are currently using Atahualpa theme, then this modification is for you! This following code will highlight your current page parent menu based on the selected child page menu that being selected. This is useful for those of you who have so many page menus which have the page child menu, and you want [...]]]></description>
			<content:encoded><![CDATA[<p>If you are currently using <strong>Atahualpa</strong> theme, then this modification is for you! This following code will highlight your current page parent menu based on the selected child page menu that being selected. This is useful for those of you who have so many page menus which have the page child menu, and you want to know which page parent menu is currently having the selected page child menu. Of course, your website visitor also will feel so comfortable since they will be able to know that they have selected the certain menu based on that selected page parent menu. <span id="more-926"></span></p>
<p>Open your <strong>\wp-content\themes\atahualpa\css.php</strong>, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2423
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* &quot;current&quot; page and hover, first part old version */</span></pre></td></tr></table></div>

<p>before that line, please insert this following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2422
2423
2424
2425
2426
2427
2428
2429
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">/* &quot;current&quot; page parent and hover, first part old version */
div#menu1 ul.rMenu li.current_page_parent &gt; a:link, 
div#menu1 ul.rMenu li.current_page_parent &gt; a:active, 
div#menu1 ul.rMenu li.current_page_parent &gt; a:hover, 
div#menu1 ul.rMenu li.current_page_parent &gt; a:visited {
	background-color: #<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'page_menu_bar_background_color_hover'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>;
	color: #<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$bfa_ata</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'page_menu_bar_link_color_hover'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>;
	}</pre></td></tr></table></div>

<p>Now each time you select or click the certain child page menu, then its parent will be automatically highlighted.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/11/29/how-to-highlight-the-current-page-parent-menu-in-atahualpa-theme-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
