How to show post titles in label page in Blogger


Go to Dashboard and click on Template menu and  then click on Edit HTML.

Use search option by Ctrl+F

Find this line shown below:

<b:include data='post' name='post'/>

Now replace the above code with the below one.

<!--List up post titles-->
<b:if cond='data:blog.homepageUrl !=data:blog.url'><b:if cond='data:blog.pageType != &quot;item&quot;'><a expr:href='data:post.url'><li/><data:post.title/></a><br/><br/><b:else/><b:include data='post' name='post'/>
<b:else/><b:include data='post' name='post'/></b:if>
<!--List up post titles end-->

Now Save the template and check the changes.

No comments:

Post a Comment