<?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>Techarraz</title> <atom:link href="http://www.techarraz.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.techarraz.com</link> <description>Saving technophobes since 2008</description> <lastBuildDate>Sun, 25 Mar 2012 06:52:45 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <!-- google_ad_section_end --><!-- google_ad_section_start(weight=ignore) --> <item><title>How to Change a PayPal Password?</title><link>http://www.techarraz.com/tips-tricks/how-to-change-paypal-password/</link> <comments>http://www.techarraz.com/tips-tricks/how-to-change-paypal-password/#comments</comments> <pubDate>Mon, 12 Mar 2012 03:30:24 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Quick Tip]]></category> <category><![CDATA[PayPal]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2996</guid> <description><![CDATA[To change a PayPal password, login to your account. This will bring up the dashboard. Now, the funny thing is, there is not suggestive link where you can go to change your password.]]></description> <content:encoded><![CDATA[<p>With time, PayPal has emerged as the easiest way to send money to people online. It creates an alternative fund transfer system and has been extremely popular, especially because of its ease of use and the flexibility it offers in sending and receiving funds, between people across countries.</p><p>With that important a function, PayPal forms an important part of our daily finances, and we should be extra cautious about our PayPal account. Today, we will see how to change a PayPal password.</p><p>To change a PayPal password, login to your account. This will bring up the dashboard. Now, the funny thing is, there is not suggestive link where you can go to change your password. There is a link called &#8220;profile&#8221; all right, but it gives a menu with options to add bank account, credit card and likewise.</p><p><strong>Where is the option to change the password or security question in PayPal?</strong></p><p>So, where is the change password option? Well, you do not just have to hover over Profile. You need to click on it, and it will bring up a profile page. Tada! Nice UX PayPal!</p><p><img
class="aligncenter size-full wp-image-3030" title="paypal-change-password" src="http://www.techarraz.com/wp-content/uploads/paypal-change-password.jpg" alt="paypal-change-password" width="587" height="298" /></p><p>So, now that you are at the profile page, look for the section that says Password. Beside that section, you will find a link to change the password. Click on it.</p><p><img
class="aligncenter size-full wp-image-3031" title="paypal-change-password-link" src="http://www.techarraz.com/wp-content/uploads/paypal-change-password-link.jpg" alt="paypal-change-password-link" width="570" height="214" /></p><p>Now, clicking on change lets you change both the security question and thee password. Select the first option for password or the second option for security questions, and click Edit.</p><p><img
class="aligncenter size-full wp-image-3032" title="paypal-change-password-security-question" src="http://www.techarraz.com/wp-content/uploads/paypal-change-password-security-question.jpg" alt="paypal-change-password-security-question" width="509" height="251" /></p><p>Next, it will ask for your bank information to verify your identity. Finally, after confirming your identity, you will get a link to change the password in your email.</p><p>That is all there is to changing a PayPal password. The next time you want to change your PayPal password, do not hesitate to use this guide.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/tips-tricks/how-to-change-paypal-password/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Buy the HTC One X Contract Free Worldwide, on Pre-Order from Clove UK</title><link>http://www.techarraz.com/mobile/buy-htc-one-x-pre-order-clove-uk-contract-free/</link> <comments>http://www.techarraz.com/mobile/buy-htc-one-x-pre-order-clove-uk-contract-free/#comments</comments> <pubDate>Sun, 04 Mar 2012 04:00:42 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[HTC]]></category> <category><![CDATA[One X]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=3013</guid> <description><![CDATA[The One X is HTC's flagship phone for this year and it puts the once popular handset manufacturer back on the Android radar. I have been an HTC fan myself, and I would love to see this device restore HTC's position, and offer Samsung some tough competition.]]></description> <content:encoded><![CDATA[<p>Out of all the phones that were shown at MWC this year, only one has caught my attention. This is because we have been hearing so much about the Galaxy SIII and it is still missing in action. The best time for it to be launched was MWC, but Samsung wants to pitch it against the iPhone 5 and hence, release it later around June. In the meanwhile, HTC came in and filled the void with its <a
target="_blank" href="http://www.youtube.com/watch?v=tFdInvU1w4Y">One X</a> and oh boy! I am sold.</p><p><img
class="aligncenter size-full wp-image-3014" title="htc-one-x" src="http://www.techarraz.com/wp-content/uploads/htc-one-x.jpg" alt="htc-one-x" width="470" height="355" /></p><p>This is the official video of the HTC One X.</p><p><object
style="height: 390px; width: 640px;" width="640" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://www.youtube.com/v/tFdInvU1w4Y?version=3&amp;feature=player_detailpage" /><param
name="allowfullscreen" value="true" /><param
name="allowscriptaccess" value="always" /><embed
style="height: 390px; width: 640px;" width="640" height="360" type="application/x-shockwave-flash" src="http://www.youtube.com/v/tFdInvU1w4Y?version=3&amp;feature=player_detailpage" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" allowscriptaccess="always" /></object></p><p>Enough has already been said about the HTC One X and I am not much of a cellphone reviewer myself, so I will <a
target="_blank" href="http://www.gsmarena.com/htc_one_x-4320.php">let this specs sheet</a> do the talking. With a Quad Core 1.5 GHz processor on an NVidia Tegra 3 chipset and a 720*1280-pixel 4.7-inch display, the only reason not to buy this phone is the absence of an SD card slot, but is that reason enough? This is an open question and it is for you to decide.</p><p>GSM Arena gives a hands-on review of the HTC One X <a
target="_blank" href="http://www.youtube.com/watch?v=t09LHXDjGb4">in this video</a>.</p><p><object
style="height: 390px; width: 640px;" width="640" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://www.youtube.com/v/t09LHXDjGb4?version=3&amp;feature=player_detailpage" /><param
name="allowfullscreen" value="true" /><param
name="allowscriptaccess" value="always" /><embed
style="height: 390px; width: 640px;" width="640" height="360" type="application/x-shockwave-flash" src="http://www.youtube.com/v/t09LHXDjGb4?version=3&amp;feature=player_detailpage" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" allowscriptaccess="always" /></object></p><h3>Where can I buy this phone?</h3><p><img
class="aligncenter size-full wp-image-3019" title="htc-one-x-clove" src="http://www.techarraz.com/wp-content/uploads/htc-one-x-clove.jpg" alt="htc-one-x-clove" width="512" height="356" /></p><p>In the meanwhile, if you are tempted to buy this phone, there is good news. <a
target="_blank" href="http://www.clove.co.uk/smartphones/htc-smartphones">Clove Technology</a> from UK is taking pre-orders for the HTC One X and they are shipping in almost all major countries across the globe, including India. Therefore, if you need a contract-free HTC One X, go place a pre-order to ensure you get it when it arrives, before they run out of stock.</p><p><strong>What is the price of HTC One X, One V and One S in India?</strong></p><p>The HTC One X has a price tag of £492 or USD 781 inclusive of vat. There is an extra shipping charge, and the eventual price comes to around £520.</p><p>Although not launched in India, you can still get the HTC One X shipped to India, from Clove UK. This would mean an expenditure of around Rs. 39,000 (give or take Rs. 1000). The price of this phone is a bit steep, but given its beastly features, it does deserve to be priced obscenely high.</p><p>The One S and One V are priced at  £450 and £264 respectively.</p><p>The One X is HTC&#8217;s flagship phone for this year and it puts the once popular handset manufacturer back on the Android radar. I have been an HTC fan myself, and I would love to see this device restore HTC&#8217;s position, and offer Samsung some tough competition.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/mobile/buy-htc-one-x-pre-order-clove-uk-contract-free/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Airtel 3G Internet Plans Revised with Attractive Tariff Rates</title><link>http://www.techarraz.com/mobile/airtel-3g-internet-plan-rates/</link> <comments>http://www.techarraz.com/mobile/airtel-3g-internet-plan-rates/#comments</comments> <pubDate>Sat, 03 Mar 2012 14:47:59 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[3G]]></category> <category><![CDATA[Airtel]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=3002</guid> <description><![CDATA[Finally, after seeing low conversions, Airtel has decided to bring down the rates for its once overpriced 3G internet service. According to the new tariff plans, the pricing slabs are the same although, the data offered on them have been (more than) doubled.]]></description> <content:encoded><![CDATA[<p>India has over 90 million internet users. Out of them, only around 9 million are 3G mobile internet users. Although the statistics is not impressive at only 10% of total Indian internet users being on 3G, reasonable pricing and good coverage, will surely improve these numbers.<br
/> <iframe
src="http://www.google.co.in/publicdata/embed?ds=d5bncppjof8f9_&amp;ctype=l&amp;strail=false&amp;bcs=d&amp;nselm=h&amp;met_y=it_net_user&amp;scale_y=lin&amp;ind_y=false&amp;rdim=region&amp;idim=country:IND:CHN&amp;ifdim=region&amp;tstart=952021800000&amp;tend=1267554600000&amp;hl=en&amp;dl=en&amp;icfg&amp;iconSize=0.5" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="400" height="325"></iframe></p><p>Finally, after seeing low conversions, Airtel has decided to bring down the rates for its once <a
title="Airtel 3G Internet Plans and Activation Process" href="http://www.techarraz.com/mobile/airtel-3g-internet-tariff-activation/">overpriced 3G internet service</a>. According to the new 3G internet plans in Airtel, the price slabs are the same although, the data offered on them have been (more than) doubled.</p><p><em>Initially, while the private players were busy with their aggressive 3G ad-campaigns, <a
title="A Drill Down Of 3G in India, Looking For the Best 3G Internet Service" href="http://www.techarraz.com/mobile/best-3g-internet-india-service/">BSNL made impressive attempts at reasonable 3G internet plan offerings</a> and we covered it extensively.</em></p><p><img
class="aligncenter" src="http://www.techarraz.com/wp-content/uploads/airtel-logo.jpg" alt="" width="188" height="62" /></p><p>This is a snapshot of 3G plans in Airtel, as they used to be at Bengaluru a year ago.</p><p><img
class="aligncenter" src="http://www.techarraz.com/wp-content/uploads/airtel-3g.jpg" alt="" width="580" height="462" /></p><p>The recent revision in rates has introduced some new plans and improved old ones. The Rs. 200 plan now offers 500 MB instead of 200 MB, and the Rs.450 plan offers 1.2 GB instead of 600 MB. If you are an Airtel postpaid user, Rs. 750 gives you a 5 GB plan, as compared to 4 GB for prepaid users. However, they have also talked about a service charge over the bill amount for Postpaid users, which will even out all differences eventually.</p><h3>Enough talk. Where are the revised plan details?</h3><p>The new charges are shown in the image below.</p><p><img
class="aligncenter size-full wp-image-3004" title="airtel-new-3g-rates" src="http://www.techarraz.com/wp-content/uploads/airtel-new-3g-rates.jpg" alt="airtel-new-3g-rates" width="569" height="556" /></p><p><img
class="aligncenter size-full wp-image-3005" title="airtel-new-3g-rates-flexi-shield" src="http://www.techarraz.com/wp-content/uploads/airtel-new-3g-rates-flexi-shield.jpg" alt="airtel-new-3g-rates-flexi-shield" width="569" height="386" /></p><p><strong>Update</strong>: <em>Someone at Airtel forgot to update this page correctly, so you can see the right talking about a 5 GB plan, when this is clearly a 10 GB revised plan.</em></p><p>If you are the &#8220;let me see what this 3G is all about&#8221;, there is a plan for Rs. 10 too. There are only so many things you can get at Rs. 10 nowadays, and this is a good deal for those who want to load a map on Google maps and open a website to test how well 3G works in certain areas.</p><h3>Which is the best Airtel 3G plan now?</h3><p>It totally depends on what you intend to do with 3G. If you come back home, plug your smartphone to the computer and use it for surfing the Internet on your computer, you should go for at least a 10 GB pack, priced at Rs. 1250. However, if you want to load up that Google Map really fast or be on a Skype call while travelling, the Rs. 675 plan offering 2.5 GB for 30 days is absolutely worth it.</p><p>For all these plans, standard 2G browsing charges will apply once you cross the data usage limit. Airtel has also listed video calling rates separately at 5 p/sec. I am not sure how or whether this will apply in a Skype call.</p><p>To subscribe to 3G, simply call 12134 or SMS &#8220;3G&#8221; to 121. Visit <a
target="_blank" href="http://www.airtel.in/wps/wcm/connect/Airtel3G/airtel3g/3g-services/tariffs/pg_tariffs">this page</a> for exact prices and offerings for your circle.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/mobile/airtel-3g-internet-plan-rates/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Is India Losing Its Sense of Humor?</title><link>http://www.techarraz.com/google/india-google-facebook-censorship-order/</link> <comments>http://www.techarraz.com/google/india-google-facebook-censorship-order/#comments</comments> <pubDate>Tue, 07 Feb 2012 19:28:19 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Personal]]></category> <category><![CDATA[Censorship]]></category> <category><![CDATA[Facebook]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2987</guid> <description><![CDATA[Mr. Rai is a person who does not understand the damage and ridicule he has brought down on our nation.  Religion has always been a sensitive issue in India, and there are strong laws guarding religious interests. However, this is the first time that these laws are being used as an excuse to censor the Internet in India. In some crude way, religion is playing the part of the media industry in the US, in India's move towards censorship (remember SOPA/PIPA?)]]></description> <content:encoded><![CDATA[<p>India is the largest democracy in the world and we know this for a fact, but what does it mean to us? Is our democracy defined only by our freedom to cast a vote? Is that all there is to this democracy? I am not a politician, and I do not know any legal definition of a democracy. Nevertheless, I understand it well enough to know that whatever is going on in India about censorships is just wrong.</p><p>As a country, we have always been sensitive towards any form of criticism. Our country has still not gotten over the fact that we were a British colony, until a few (over fifty!) years ago. Any criticism of the Government is not taken in a positive light. However, our politicians can merrily watch pornographic videos on their cellphones inside the house, and read the foreign policy of the Portuguese Foreign Minister for a good long three minutes, without knowing something is wrong.</p><p><img
class="aligncenter size-full wp-image-2991" title="censorship-india" src="http://www.techarraz.com/wp-content/uploads/censorship-india.jpg" alt="censorship-india" width="466" height="346" /></p><p>In this court case against Google and Facebook, the Indian Government has also ignored our own India’s I.T. Act Amendments, which clearly states that any intermediary shall not be held responsible for third party information. What is the point of having an IT Law, which does not hold any value? After all, this law was formulated by eminent people who understand the industry!</p><p>Until now, India was seen as potential market for online business. India has one of the fastest growing online populations, with 9% of growth in the IT sector alone. However, this intolerant attitude of the Government will be counterproductive, and will pose a big hindrance for upcoming online businesses.</p><p><iframe
src="http://www.ndtv.com/common/videos/embedPlayer.php?id=221000&amp;autoplay=0&amp;pWidth=418&amp;pHeight=385&amp;category=embed" frameborder="0" scrolling="no" width="418" height="385"></iframe></p><p>According to this proponent of censorship, Mr. Vinay Rai, who is solely responsible for this publicity stunt,</p><blockquote><p>Such content can create communal riots across the country.</p></blockquote><p>On why he did not contact the companies directly-</p><blockquote><p> I did not deem it appropriate to approach foreign companies myself. I put my point across to the government who, in my view, is the best body to pursue this with multinationals.</p></blockquote><p>In my opinion, Mr. Rai is a person who does not understand the damage and ridicule he has brought down on our nation.  Religion has always been a sensitive issue in India, and there are strong laws guarding religious interests. However, this is the first time that these laws are being used as an excuse to censor the Internet in India. In some crude way, religion is playing the part of the media industry in the US, in India&#8217;s move towards censorship (remember SOPA/PIPA?)! With so many religions and regional sentiments, as a country, we have too many masters to serve.</p><p>Are we expecting too much from the fact that we are a democracy? Is this democracy going to grace general knowledge books as the largest democracy, without actually giving democratic freedom to its people?</p><p>This situation reminds me of a movie, I saw a few days ago.<br
/> <object
style="height: 390px; width: 640px;" width="640" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://www.youtube.com/v/dAif2VfvF1U?version=3&amp;feature=player_detailpage" /><param
name="allowfullscreen" value="true" /><param
name="allowscriptaccess" value="always" /><embed
style="height: 390px; width: 640px;" width="640" height="360" type="application/x-shockwave-flash" src="http://www.youtube.com/v/dAif2VfvF1U?version=3&amp;feature=player_detailpage" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" allowscriptaccess="always" /></object></p><p>(<em><a
target="_blank" href="http://3.bp.blogspot.com/-nqC_GXCp8No/TrhUEyXZTvI/AAAAAAAAMQw/zlJHM2BusQI/s1600/censorship.jpg">Image via</a></em>)</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/google/india-google-facebook-censorship-order/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Show Ads Anywhere Inside a Post Body in Hybrid WordPress Theme</title><link>http://www.techarraz.com/blogging-tips/show-ad-inside-posts-hybrid-theme/</link> <comments>http://www.techarraz.com/blogging-tips/show-ad-inside-posts-hybrid-theme/#comments</comments> <pubDate>Mon, 06 Feb 2012 17:03:55 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Hybrid]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Wordpress Theme]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2967</guid> <description><![CDATA[Placing Adsense ads inside a blog post is harder than it appears. Firstly, you have to know which file to edit. Secondly, you have to know what kind of code to use, so that your blog post does not appear broken. In Hybrid theme, you can edit the file called singular.php found in your Hybrid folder, for making changes to single posts.]]></description> <content:encoded><![CDATA[<p>Hybrid Theme has many customizable options, and I have enjoyed exploring them so far. Although the learning curve of Hybrid is a bit steep (with all the child-theme and framework geekery), once you master them and figure out which file does exactly what, it gets easier and meaningful too. I have added <a
href="http://www.techarraz.com/blogging-tips/link-ad-unit-under-menu-hybrid-wordpress-theme/" title="How to add Google Link Ad Unit Under the Menu, on Hybrid WordPress Theme" alt="link-ad-unit-under-menu">link ads under my menu</a>, added <a
href="http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/" title="How to Insert Advertisements Below the Post Title, on Hybrid Theme for WordPress"  alt="adsense-under-post-title">adense ads under post title</a>, replaced full posts with excerpts on homepage and <a
href="http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/" title="How to Remove Duplicate Meta Tags in Hybrid WordPress Theme Framework"  alt="remove-duplicate-meta-tags">removed duplicate meta tags</a>.</p><p>The primary source of income for a merry blogger like me, is a CPC advertisement like Google Adsense. Today, we will see how to place Google adsense advertisements inside a blog post.</p><p><img
class="aligncenter size-full wp-image-2972" title="hybrid-theme-adsense-inside-post" src="http://www.techarraz.com/wp-content/uploads/hybrid-theme-adsense-inside-post.jpg" alt="hybrid-theme-adsense-inside-post" width="559" height="234" /></p><p>Placing Adsense ads inside a blog post is harder than it appears. Firstly, you have to know which file to edit. Secondly, you have to know what kind of code to use, so that your blog post does not appear broken.</p><h3>How to Show Ads After the First Paragraph in a blog Post?</h3><p>In Hybrid theme, you can edit the file called <em>singular.php</em> found in your Hybrid folder, for making changes to single posts. However, there are two codes, which you can use to show ads inside post body. The first one checks for a certain number of characters, and places an ad after that. Though, this is not a practical solution at all. Who would want to see ads pop up between words!</p><p>The second one brings in some reason, and places ads after paragraphs. Even in this code, the number of paragraphs has to be specified by the user, and it is a constant. So, when using this code, make sure it suits your blog&#8217;s paragraph styling and the formatting of your posts.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;entry-content&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span> ?php
<span style="color: #000088;">$paragraphAfter</span><span style="color: #339933;">=</span> <span style="color: #cc66cc;">4</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//shows the ad after paragraph 1</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> get_the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;/p&gt;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span>count <span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$paragraphAfter</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;!--</span> START OF AD CODE <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>
google_ad_client <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ca-pub-6740844476322233&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* Banner-Between-Post */</span>
google_ad_slot <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;3186213048&quot;</span><span style="color: #339933;">;</span>
google_ad_width <span style="color: #339933;">=</span> <span style="color: #cc66cc;">468</span><span style="color: #339933;">;</span>
google_ad_height <span style="color: #339933;">=</span> <span style="color: #cc66cc;">60</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//--&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span>
<span style="color: #339933;">&lt;!--</span> <span style="color: #990000;">END</span> OF AD CODE <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span> ?php
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/p&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span> ?php wp_link_pages<span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'before'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;p class=&quot;page-links pages&quot;&gt;'</span> <span style="color: #339933;">.</span> __<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> hybrid_get_textdomain<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'after'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/p&gt;'</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>
<span style="color: #339933;">&lt;/</span>count<span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;&lt;!--</span> <span style="color: #339933;">.</span>entry<span style="color: #339933;">-</span>content <span style="color: #339933;">--&gt;</span></pre></div></div><p>Now, where shold you put this code? Wherever you find the line</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;entry-content&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div><p>replace everything including that line up to the line before</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php do_atomic<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'after_entry'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// hybrid_after_entry ?&gt;</span></pre></div></div><p>That is all you need to do. With this hack, you will get advertisements inside post. However, you have to control the number of paragraphs, after which the ad will show.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/blogging-tips/show-ad-inside-posts-hybrid-theme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to add Google Link Ad Unit Under the Menu, on Hybrid WordPress Theme</title><link>http://www.techarraz.com/blogging-tips/link-ad-unit-under-menu-hybrid-wordpress-theme/</link> <comments>http://www.techarraz.com/blogging-tips/link-ad-unit-under-menu-hybrid-wordpress-theme/#comments</comments> <pubDate>Wed, 01 Feb 2012 03:15:40 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Hybrid]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Wordpress Theme]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2933</guid> <description><![CDATA[Link ad units are like a list of links. They do not have any descriptive text, byline or images. All they have is one or two words, and they are available in vertical and horizontal layouts. As you can see in the image below, I have marked the link ad unit.]]></description> <content:encoded><![CDATA[<p>Over the last few days, you must have seen a slew of posts on Techarraz on the Hybrid Theme. Hybrid Theme is extremely customizable, and the availability of child themes makes it full of options, when it comes to the blog layout. However, there are some common tweaks that apply to all themes, like <a
title="How to Insert Advertisements Below the Post Title, on Hybrid Theme for WordPress" href="http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/" alt="hybrid-theme-adsense-under-post-title">showing adsense advertisements below post titles</a>, <a
title="How to Remove Duplicate Meta Tags in Hybrid WordPress Theme Framework" href="http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/" alt="hybrid-theme-duplicate meta-description">using AIO SEO Pack with Hybrid</a> and removing duplicate meta tags, <a
title="How to Show Excerpts Instead of Full Posts on Homepage, in Hybrid WordPress Theme Framework" href="http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/" alt="hybrid-theme-excerpt-homepage">replacing posts with excerpts on homepage</a> and likewise. Today, a new trick gets added to the list as we will see how to add link-ad units under the menu.</p><h3>What are link ad units, and where should they be placed ideally?</h3><p>Link ad units are like a list of links. They do not have any descriptive text, byline or images. All they have is one or two words, and they are available in vertical and horizontal layouts. As you can see in the image below, I have marked the link ad unit.</p><p><img
class="aligncenter size-full wp-image-2948" title="link-ad-unit" src="http://www.techarraz.com/wp-content/uploads/link-ad-unit.jpg" alt="link-ad-unit" width="568" height="163" /></p><h3>How to Insert Link ads under Menu on Hybrid Theme?</h3><p>To insert link ads under the menu, we have to know where in the code the menu comes into the picture. Let us start with the <em>header.php </em>present in the Hybrid directory (not in the child theme). In <em>header.php</em>, you will see an opening <em>div</em> tag with an id of &#8220;container&#8221;. If you have worked in web-development for long enough, you might have noticed how this id is used for the content area, below the header. So, everything prior to this is our header.</p><p>Right before this div tag, we can place our link ad code. I have used the same css for the link ad, as found on the menu. The color of the link unit should also match the color of the menu bar. Enclose your adsense code between div tags and finally, your code should look like this.</p><blockquote><p>&lt;/div&gt;&lt;!&#8211; #header-container &#8211;&gt;</p><p>&lt;?php do_atomic( &#8216;after_header&#8217; ); // hybrid_after_header ?&gt;<br
/> &lt;div align=&#8221;center&#8221; id=&#8221;primary-menu&#8221; class=&#8221;menu-container&#8221;&gt;<br
/> &lt;script type=&#8221;text/javascript&#8221;&gt;&lt;!&#8211;<br
/> google_ad_client = &#8220;ca-pub-6740844476322233&#8243;;<br
/> /* Link_ad-Under-Navigation */<br
/> google_ad_slot = &#8220;5116863245&#8243;;<br
/> google_ad_width = 728;<br
/> google_ad_height = 15;<br
/> //&#8211;&gt;<br
/> &lt;/script&gt;<br
/> &lt;script type=&#8221;text/javascript&#8221;<br
/> src=&#8221;http://pagead2.googlesyndication.com/pagead/show_ads.js&#8221;&gt;<br
/> &lt;/script&gt;<br
/> &lt;/div&gt;<br
/> &lt;div id=&#8221;container&#8221;&gt;</p></blockquote><p>That is all you need to do  to display ads below the menu, on the <a
title="Hybrid is the Most Customizable and Elegant WordPress Theme Framework Ever" href="http://www.techarraz.com/blogging-tips/hybrid-best-wordpress-theme-framework-child-themes/" alt="hybrid-theme-best-wordpress-theme">Hybrid Theme</a>. Do not copy the code given in this example as it is. Replace the link unit code with your own adsense link unit.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/blogging-tips/link-ad-unit-under-menu-hybrid-wordpress-theme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Remove Duplicate Meta Tags in Hybrid WordPress Theme Framework</title><link>http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/</link> <comments>http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/#comments</comments> <pubDate>Tue, 31 Jan 2012 03:15:49 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Hybrid]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Wordpress Theme]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2909</guid> <description><![CDATA[The Hybrid Theme Framework has its own SEO features. However, many people prefer using All in One SEO (AIO) Pack. This can create duplicate meta tags. The unfortunate thing is, although Hybrid has methods to check if another SEO Plugin is installed, it somehow did not work on my Hybrid News Theme installation. Thus, I was getting two Meta tags for "description" and "keywords".]]></description> <content:encoded><![CDATA[<p>I have recently switched to the <a
title="Hybrid is the Most Customizable and Elegant WordPress Theme Framework Ever" href="http://www.techarraz.com/blogging-tips/hybrid-best-wordpress-theme-framework-child-themes/">Hybrid WordPress theme</a>, and as you can see, it is a clutter free and elegant looking WordPress theme. However, it has a steep learning curve, and needs slight tweaks for optimal customization. We have seen how to <a
title="How to Show Excerpts Instead of Full Posts on Homepage, in Hybrid WordPress Theme Framework" href="http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/" alt="hybrid-news-homepage-excerpt">show excerpts instead of post</a> content on the homepage, how to <a
title="How to Insert Advertisements Below the Post Title, on Hybrid Theme for WordPress" href="http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/" alt="hybrid-advertisement-below-title">display AdSense advertisements below the post title</a>, and today, we will see how to remove duplicate meta descriptions for posts.</p><p><strong>What is the problem with duplicate Meta tags?</strong></p><p>A duplicate meta tag is like giving two descriptions for your page. It confuses your search engine, and generally, the search engine picks up the first occurrence of the meta tag. This can prove to be fatal in search rankings, and can have an adverse effect on your page SEO.</p><p><strong>What causes duplicate Meta tags in the Hybrid Theme?</strong></p><p>The Hybrid Theme Framework has its own SEO features. However, many people prefer using All in One SEO (AIO) Pack. This can create duplicate meta tags. The unfortunate thing is, although Hybrid has methods to check if another SEO Plugin is installed, it somehow did not work on my Hybrid News Theme installation. Thus, I was getting two Meta tags for &#8220;description&#8221; and &#8220;keywords&#8221;. I had to find a way of turning off Hybrid&#8217;s SEO!</p><p><strong>How to turn off Hybrid SEO?</strong></p><p>Hybrid SEO is a core feature. To turn it off, we have to tweak the way Hybrid is activated on your blog. However, don&#8217;t be scared by all that. In reality, you have to add a single line of code to your <em>functions.php</em> file on the child theme.</p><p>Look for the line that says, <em>function hybrid_[your_theme_name]_setup()</em>. Now, go to the end of the function, which should be the place where you find the first closing brace ( &#8221;}&#8221; ) on a single line.</p><blockquote><p>/*removes hybrid core SEO */<br
/> remove_theme_support( &#8216;hybrid-core-seo&#8217; );</p></blockquote><p>That is all. Now, Hybrid SEO will not interfere with your own SEO plugin, and you will see single tags for <em>meta description</em> and <em>meta keywords</em>.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Insert Advertisements Below the Post Title, on Hybrid Theme for WordPress</title><link>http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/</link> <comments>http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/#comments</comments> <pubDate>Mon, 30 Jan 2012 03:00:02 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Adsense]]></category> <category><![CDATA[Hybrid]]></category> <category><![CDATA[Wordpress Theme]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2914</guid> <description><![CDATA[Generally, in other themes, you edit the posts.php file to get your custom content under the title. However, with Hybrid, there is no posts.php file. So, how exactly do we do it? Let us see.]]></description> <content:encoded><![CDATA[<p>Hybrid Theme is an excellent WordPress theme and it never fails to impress me. However, the steep learning curve of the theme can be a huge turn off, for people who are not that familiar with the different aspects of WordPress and its themes. Even having that knowledge is of minimal help, as Hybrid has a totally different structure than other themes. This time, I will help you setup AdSense ads on your blog, and make them appear below the title.</p><p>We have sen how you can <a
title="Hybrid is the Most Customizable and Elegant WordPress Theme Framework Ever" href="http://www.techarraz.com/blogging-tips/hybrid-best-wordpress-theme-framework-child-themes/" alt="hybrid-wordpress-theme-news-child">setup the Hybrid Theme</a> on your blog, and how to <a
title="How to Show Excerpts Instead of Full Posts on Homepage, in Hybrid WordPress Theme Framework" href="http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/" alt="hybrid-show-excerpt-homepage">show excerpts instead of full posts</a> on your blog homepage, when using <a
title="Hybrid WordPress Theme" href="http://www.techarraz.com/blogging-tips/hybrid-wordpress-theme/">Hybrid theme</a>. We have also seen how to <a
href="http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/" title="How to Insert Advertisements Below the Post Title, on Hybrid Theme for WordPress" alt="hybrid-theme-show-advertisement-below-title">add advertisements under a post title</a>, <a
href="http://www.techarraz.com/blogging-tips/duplicate-meta-description-keyword-hybrid-theme-wordpress/" title="How to Remove Duplicate Meta Tags in Hybrid WordPress Theme Framework" alt="hybrid-theme-duplicate-meta-tags">remove duplicate meta tags</a> and how to <a
href="http://www.techarraz.com/blogging-tips/link-ad-unit-under-menu-hybrid-wordpress-theme/" title="How to add Google Link Ad Unit Under the Menu, on Hybrid WordPress Theme" alt="show-link-ad-under-menu">show link adverts under the menu</a>.</p><p>The main source of revenue for a blog like mine is Google AdSense. Google ads on a WordPress blog need to be well placed for maximum clicks, yet be non-obtrusive to respect the user&#8217;s reading preferences. I usually tend to follow Google&#8217;s AdSense ad placement guide, when it comes to monetizing my blog. If there is one destination where Google wants us to put advertisements, it is under the title. This has a high visibility, and does not block the content of the post.</p><h3>Add Google Ads under post Title in Hybrid Theme</h3><p><img
class="aligncenter size-full wp-image-2928" title="google-adsense-below-title" src="http://www.techarraz.com/wp-content/uploads/google-adsense-below-title.jpg" alt="google-adsense-below-title-hybrid" width="486" height="435" /></p><p>Generally, in other themes, you edit the <em>posts.php</em> file to get your custom content under the title. However, with Hybrid, there is no <em>posts.php</em> file. So, how exactly do we do it? Let us see.</p><p>With the Hybrid Theme, it is not easy to edit files here and there. So, initially, I tried a plugin to put ads under the title, but it was messing with my theme! Good SEO practice requires us to have our Title in H1, but the plugin was creating confusion, removing the H1 tag from my post title.</p><p>Then, I moved on to edit my theme files. I searched for a call to <em>the_content()</em>, as that is the function used to display post  contents and it should be on one of the files that format the post.</p><p>Surprisingly, I found it in many pages, along with the <em>singular.php</em> file. Now, all you have to do, is paste the AdSense code right between</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>em<span style="color: #339933;">&gt;&amp;</span>lt<span style="color: #339933;">;</span>?php do_atomic<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'before_entry'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// hybrid_before_entry ?&amp;gt;&lt;/em&gt;</span></pre></div></div><p>and</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>em<span style="color: #339933;">&gt;&amp;</span>lt<span style="color: #339933;">;</span>?php the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&lt;/</span>em<span style="color: #339933;">&gt;</span></pre></div></div><p>With the code in place, your Google ads will start appearing on all posts, below the title. You can see an example of what I am talking about, in this post.</p><p>If you have a more efficient way of doing this, please leave a comment.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/blogging-tips/adsense-under-post-title-hybrid-theme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Show Excerpts Instead of Full Posts on Homepage, in Hybrid WordPress Theme Framework</title><link>http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/</link> <comments>http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/#comments</comments> <pubDate>Sun, 29 Jan 2012 03:30:16 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Hybrid]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Wordpress Theme]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2911</guid> <description><![CDATA[Hybrid is a Theme Framework, and there are different ways of editing theme files in it. Either you can modify functions to make your desired changes, or, you can replace function calls at respective places. To show excerpts instead of posts, we will modify the theme functions.]]></description> <content:encoded><![CDATA[<p>Hybrid is the best free WordPress theme framework, and if you need proof, this blog is running on Hybrid. Hybrid has many child frameworks, which add more features and different content layouts. Based on the theme that you are using, you might want to show either excerpts of posts or entire posts on your homepage. I prefer to show excerpts of posts, as it lets the visitor get an overview of the entire blog, which should ideally be the purpose of the homepage.</p><p><em>Currently, I am using Hybrid News Child Theme on this blog. You can read my initial review and setup information regarding Hybrid Theme, in <a
title="Hybrid is the Most Customizable and Elegant WordPress Theme Framework Ever" href="http://www.techarraz.com/blogging-tips/hybrid-best-wordpress-theme-framework-child-themes/">this post</a>.</em></p><p>Assuming you already have the Hybrid Theme installed on your blog, and you have a child theme, which is showing full post contents, we will now see how to replace that full post content with post excerpts.</p><h3>How to Replace Post Content with Excerpts on Homepage?</h3><p><img
class="aligncenter size-full wp-image-2921" title="wordpress-excerpt" src="http://www.techarraz.com/wp-content/uploads/wordpress-excerpt.jpg" alt="wordpress-excerpt" width="502" height="294" /></p><p>If there is no option to do this in settings of your Hybrid Theme, you have to edit the theme files manually. Now, Hybrid is a Theme Framework, and there are different ways of editing theme files in it. Either you can modify functions to make your desired changes, or, you can replace function calls at respective places.</p><p>The function to show post excerpts is <em>the_excerpt()</em> and the one that shows the entire content of the post, is <em>the_post()</em>. It is a bit confusing to modify the homepage, since the homepage has no marked out <em>index.php</em> file. Instead, we will modify the <em>functions.php</em> in your Hybrid child theme.</p><p>Go to the directory <em>wp-content/themes/</em>[<strong>your hybrid child theme</strong>] on your webroot. In my case, I am at <em>/public_html/wp-content/themes/hybrid-news</em>.</p><p>Now, open the <em>functions.php</em> file. You have to add <del>the code given below</del> some code to the file, and save it back.</p><p>Firstly, add </p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_excerpts'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p> at the end of this file, before the &#8220;?&gt;&#8221;. This tells WordPress that <em>the-content</em> will now be filtered as <em>my_excerpts</em>. But where is my_excerpts? We have to define that too.</p><p>Just above the last line &#8220;<em>add_filter(&#8216;the_content&#8217;, &#8216;my_excerpts&#8217;)&#8221;</em>, which you added recently, paste this definition for the my_excerpts function.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> my_excerpts<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// If is the home page, an archive, or search results</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_front_page<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_archive<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_search<span style="color: #009900;">&#40;</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;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>post_excerpt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// If an excerpt is set in the Optional Excerpt box</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_excerpt'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// If no excerpt is set</span>
<span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>post_content<span style="color: #339933;">;</span>
<span style="color: #000088;">$excerpt_length</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">55</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$words</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$excerpt_length</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$words</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$excerpt_length</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
<span style="color: #990000;">array_pop</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$words</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">array_push</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$words</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'...'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$words</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$content</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Make sure to return the content</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div><p>Save the file, and come back to your homepage. All your posts on homepage will now show excerpts instead of full-page posts. If you have a caching plugin installed, do not forget to clear your cache before checking for the changes.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/blogging-tips/show-excerpt-on-homepage-hybrid-theme-framework-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Samsung Galaxy i9300 Appears on Samsung UAE Support Website, is It the Galaxy SIII?</title><link>http://www.techarraz.com/mobile/samsung-galaxy-siii-samsung-uae-galaxy-s3/</link> <comments>http://www.techarraz.com/mobile/samsung-galaxy-siii-samsung-uae-galaxy-s3/#comments</comments> <pubDate>Sat, 28 Jan 2012 12:38:08 +0000</pubDate> <dc:creator>Chinmoy</dc:creator> <category><![CDATA[Mobile]]></category> <category><![CDATA[Galaxy SIII]]></category> <category><![CDATA[Samsung]]></category><guid
isPermaLink="false">http://www.techarraz.com/?p=2889</guid> <description><![CDATA[Either Samsung is going to launch the Galaxy SIII at MWC after all, or, this is a new phone that Samsung has been secretive about. Either way, whether this i9300 is the Galaxy SIII or not, there is a huge chance that this phone might appear at MWC and when it does, we will be waiting.]]></description> <content:encoded><![CDATA[<p>Rumors of Samsumg Galaxy SIII are running stronger than ever, now that Samsung has accidentally spilled the beans on a new phone in the i9xxx range. The Galaxy SIII was rumored to launch at MWC earlier, but later, insiders at the Verge and many other publications reported that Samsung is planning to delay the launch of this phone, beyond the mega MWC event. Officially, Samsung has been tight lipped about this entire matter, and has not given the slightest hint of a launch. However, this recent screenshot from the Samsung UAE support website speaks otherwise.</p><p><img
class="aligncenter size-full wp-image-2890" title="samsung-galaxy-s3-rumor" src="http://www.techarraz.com/wp-content/uploads/samsung-galaxy-s3-rumor.jpg" alt="samsung-galaxy-s3-rumor" width="575" height="364" /></p><p>However, I tried the same Global Download Center page from here in India, and saw no trace of that model.<br
/> <img
class="aligncenter size-full wp-image-2892" title="samsung-galaxy-sIII-rumor" src="http://www.techarraz.com/wp-content/uploads/samsung-galaxy-sIII-rumor.jpg" alt="samsung-galaxy-sIII-rumor" width="636" height="305" /></p><p>Accoding to the rumor mills, Samsung Galaxy SIII will have a 4.6 inch screen with Super AMOLED display with a resolution of 720&#215;1280 pixels, and a 1.8 GHz CPU powering it. It will also sport a 12 MP camera, and needless to say, it will run Android 4.0 Ice-cream Sandwich. If everything goes as planned/rumored, this might be Samsung&#8217;s nemesis for the iPhone 5.</p><h3>So, is the Galaxy S3 Coming at MWC?</h3><p>Either Samsung is going to launch the Galaxy SIII at MWC after all, or, this is a new phone that Samsung has been secretive about. Either way, whether this <a
target="_blank" href="http://pocketnow.com/android/galaxy-s-iii-shows-up-on-samsungs-web-page-launch-under-review">i9300 is the Galaxy SIII or not</a>, there is a huge chance that this phone might appear at MWC and when it does, we will be waiting.</p> ]]></content:encoded> <wfw:commentRss>http://www.techarraz.com/mobile/samsung-galaxy-siii-samsung-uae-galaxy-s3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <!-- google_ad_section_end --></channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 897/1040 objects using disk: basic

Served from: www.techarraz.com @ 2012-03-25 15:33:05 -->
