Displaying Post Title Only On Page Search


Usually if there are visitors who are looking for our blog articles either by label or the search box or search box. So that appears is the title of post and its contents. Try to imagine if the content contains the keywords you want to search visitors reached 50-100 articles. How long does it take the viewer to search for items of interest.Moreover, items of interest are posted on the back of the visitor might be blurred before finding content. thus you will need to deal with it show the title post it on the search page. Examples like the picture. Which appears only title posting only. Ok then how to implement it? 1. Log in to blogger. Open the menu Edit HTML 2.Backup your template and then check the " Expand Widget Templates " 3. Findthe code that below

post title







<b:include data='post' name='post'/>
4. Replace the code above with the code below

<B: if cond = 'data: blog.homepageUrl
! = date: 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>
5. If you already click Save Template . Please try results

0 comments:

Post a Comment