Add Expandable Posts Hack in Blogger!


Add Expandable Posts Hack in Blogger!

Expandable Post summaries are widely used today in every blogs. Using expandable posts or Read More links to blog posts would make your blog more visitor-friendly! This post explains how to add expandable post summaries to Blogger blogs.

Do the following steps:

Please Note: Before Editing your Template, Save a copy of your current template by clicking ‘Download Full Template’ in ‘Edit HTML’ page of the Blogger ‘Layout’ Window and ‘Preview’ the changes before Saving.

  1. Go to Blogger LayoutEdit HTML – and click Expand Widget Templates
    Add Expandable Posts Hack in Blogger!

  2. Search(Ctrl+F) for:
    <div class=’post-body’>

    and paste the following code just after the above line:

    <b:if cond=’data:blog.pageType == “item”‘>
    <style>.fullpost{display:inline;}</style>
    <p><data:post.body/></p>
    <b:else/>
    <style>.fullpost{display:none;}</style>
  3. Again search(Ctrl+F) for:
    <p><data:post.body/></p>

    and paste the following code just after the above line:

    <a expr:href=’data:post.url’><i><p align=’right’>Continue Reading…</p></i></a>
    </b:if>
  4. Finished! Just remember to add these codes in your blog posts:
    (beginning of your post i.e., summary)
    <span class=”fullpost”>
    (remaining part of your blog post)
    </span>

CSS Credit: Blogger Help and Hackosphere
Update Click here to check Blogger’s new Expandable Posts feature. HAPPY BLOGGING!



You May Also Like:

Article by Shafar.
About the Author: Tech Freak, Android Lover, Wordpress Addict, Social Media Junkie and the Founder of TipsBlogger.
To submit guest posts to TipsBlogger, please read the Guidelines.

4 Responsesto “Add Expandable Posts Hack in Blogger!”

  1. Hey Shafar, I’m not familiar with Blogger at all. I think I get the concept though that even with wordpress it’s like the read more….then it makes the reader have to click to another page to read the rest of the post. Do I have it? But it seems like your saying that w/Blogger your able to do a little more than that… How do you manage to get a post out every day and still do your studies? Keep up the good work.

  2. Shafar says:

    @jj-momscashblogHi JJ, you are right! Blogger templates are more customizable than WordPress, but it lacks numerous plug-ins available in WordPress!And about posting, well I think I can’t post an article everyday henceforth for next one month, because my university exams are approaching! But I’ll try for that!Keep in Touch..

  3. Gopal says:

    i want to know how to add expandable sitemap to blogger.www.theconstructor.org

  4. Shafar says:

    @GopalHi Gopal, you can’t add an add expandable sitemap to Blogger. Instead, you can add a Label widget or create an Archives page by referring Blogger Buster’s post HERE.Regards..

Leave a Reply