Saturday, June 02, 2012
Show Only Post Title i mean here is a condition where a visitor on your site clicks on a specific lable or even perform a search through your "Custom Search" and then a new page is shown, where there are some articles display as the result. By default, your site (blogger blog) will load both title and post summary as its description, but with this trick you can manage it to load only the title. - By making this, you somehow facilitate your readers to explore your articles. For instance, when a reader wants to check your articles on a specific label, he'll undoubtedly try to go by clicking on the label, won't?. If the label has only a few articles that may be fine, but if it has hundreds or maybe thoushands articles it will probably bash him up, and he could leaves your site and tries to find what he's looking for on other site. Yet, he could stay up and hardly try to find what he's looking for through its label, too.

Let's talk about how to make it.

1. Login to your Blogger.
2. Design.
3. Edit Html and check the "Expand Widget Template" box. Maybe you wanna back up the template before you edit anything.
4. Find this code in your template: <b:include data='post' name='post'/> .
5. Replace the above code with the below.

The code above looks like the below.

<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'><data:post.title/></a><br/>
<b:else/>
<b:include data='post' name='post'/></b:if>
<b:else/>
<b:include data='post' name='post'/></b:if>


That's all guys. Good luck..

1 comments:

  1. Titles plays one of major role in driving traffic into your pages. To get well optimize your titles make them keyword rich and ensure the title explains what the page is about. Thanks for good read.
    website design

    ReplyDelete