Connect with us

How To Show Featured Post Only On Home Page Of Blogger Blog

How To Show Featured Post Only On Home Page On Blogger

Blogger

How To Show Featured Post Only On Home Page Of Blogger Blog

Do you want to show Featured Post only on the homepage of your Blogger blog? You’re in the right place.

Featured Post is used to show the Latest Post or a Specific Post of your choice with large Thumbnail & Title, to make the post prominent from rest of the posts.

In this tutorial you will learn step-by-step on how to show Featured Post only on the homepage of your Blogger blog.

  • Click Theme from the Sidebar.
  • Click the Downward icon located beside CUSTOMIZE button.
Show Featured Post Only On Home Page Of Blogger Blog | Go to Theme
  • Click the Edit HTML link.
Show Featured Post Only On Home Page Of Blogger | Click Edit HTML
  • Click the Jump to widget icon.
Show Featured Post Only On Home Page Of Blogger | Click Jump to widget
  • Click the FeaturedPost1 widget.
  • It will let you to the code of Featured Post, as shown in the next step.
Click the FeaturedPost1

The code of the Featured Post starts from the line:

<b:widget cond='data:view.isHomepage' id='FeaturedPost1' locked='true' title='' type='FeaturedPost' version='2' visible='true'>
  • Go to the line <b:includable id=‘main’ var=‘this’>.
  • Copy the If Condition and Paste below the above line.
<b:if cond='data:blog.url == data:blog.homepageUrl'>
  • Close the If Condition by putting  </b:if> below the </div> before </b:includable>.
</b:if>
Insert Condition to show featured post only on the homepage
  • Click the Save icon to update the changes, located at top-right corner.
  • Go back to your blog and refresh. Open your pages to check whether Featured Post is visible or not.
Save your Blogger template

That’s it. You’re done. If you like this post then don’t forget to share with people. Share your feedback in the comments section below.

  • Read our all tutorials on Blogger Here.
Download Blogger Templates

Recommended Posts

Meer Basit is the founder of Meer’s World. He’s been running the show since launching the blog back in 2018. By background he is a computer scientist. Primarily, he creates content around blogging (WordPress, Blogger, Tumblr), SEO, affiliate programs, earn-online, reviews, eCommerce, & technology. He has got years of professional experience in web programming, computer programming, databases, data warehousing, & transcription. In general, he likes traveling, gardening, watching movies, is a passionate cricketer, creative writer, and a GSD lover.

25 Comments

25 Comments

  1. Ramesh

    May 20, 2020 at 12:43 pm

    Nice Tutorial, Any Idea to get diffrent design. Pls wriite a post on that topic,

    • Meer Basit

      May 21, 2020 at 5:07 am

      Thanks Ramesh. What do you mean by different design? Featured Post Design?

  2. Shaunak

    June 4, 2020 at 12:09 pm

    *Hi. the featured post got removed even from the homepage after using the code*

    • Meer Basit

      June 5, 2020 at 5:09 am

      You must have done some mistake Shaunak. Please check your code again.

  3. Sharon Waugh

    June 17, 2020 at 1:29 pm

    I have triple checked it and it looks exactly as yours in the example but I am getting this error message:
    The widget settings in widget with id AdSense1 is not valid. An internal error occurred. Please try again.

  4. Sharon Waugh

    June 17, 2020 at 2:49 pm

    I'm not sure if it's relevant but I am using the 'Essential' theme.

    • Meer Basit

      June 18, 2020 at 5:10 am

      Here is the solution Sharon: The Widget Settings In Widget With Id AdSense Is Not Valid. An internal error occurred. Please try again(https://www.meersworld.net/2020/06/an-internal-error-occurred-please-try-again.html) … This error comes because of AdSense widgets in your theme. Remove all the AdSense widgets from your Blogger Layout, you will get rid of this error. Go to your theme add the condition on Featured Post. Once you are done with editing you theme, Save the theme. Now add your AdSense widgets from Layout. I have explained thoroughly in the article.

  5. Sharon Waugh

    July 1, 2020 at 1:48 pm

    Thanks for your reply, but the Adsense widgets in my theme (Essential) don't seem to be optional. They are already not visible on my blog but I can't find a way to delete them from the layout. Am I missing something?

    • Meer Basit

      July 2, 2020 at 5:11 am

      You’re welcome Sharon. Ok I got your problem. Your AdSense widgets are by default locked. Go to your theme and unlock your AdSense widgets. Go back to your Layout, open the AdSense widgets, you will see a Remove Option . Click Remove.

      Follow this tutorial: **** https://www.meersworld.net/2020/02/how-to-unlock-gadgets-on-blogger.html **** . Hope your problem will be solved. If you need further help do tell us.

  6. Sharon Waugh

    July 6, 2020 at 8:25 pm

    That worked. Thanks so much.

  7. Sandeep

    August 9, 2020 at 9:14 am

    thanks for sharing this wonderful post. Recently i started my new blogging website on blogger. its really helped me. thank you

  8. Liz⎪Bunico Director

    August 18, 2020 at 8:18 am

    Hi! This no longer works because blogger updated its HTML code. Is there possibly another way to solve this problem? I can't find anything other than this

    Thank you so much 🙂

  9. VedantA

    September 6, 2020 at 6:29 am

    hey,thanks,it helped me a lot. But I have a small problem. After I made the changes as you suggested,the featured blog widget only appears on the home page,but on other pages,you can still see the black rectangular box where the features post widget once was. Please help.
    My Blogspot: https://introverseinfinite.blogspot.com

    • Meer Basit

      September 7, 2020 at 5:15 am

      It is because of the CSS which is still applying style via ” #page_body .FeaturedPost, .Blog .blog-posts .post-outer-container”

      To Remove this styling and hide that box . Add this CSS code on your CSS File.

      #FeaturedPost1
      {
      display: none !important;
      }

  10. VedantA

    September 7, 2020 at 4:04 am

    hey,thanks for the reply. But seems like this code is completely removing the Featured post widget. Do I have to add the code to the Add CSS option in Theme Designer or do I have to manually add it in the HTML code

    • Meer Basit

      September 8, 2020 at 5:16 am

      Welcome. Yes, add this code to your “Add CSS” option.

  11. MEDICAL ERA

    October 27, 2020 at 9:12 am

    This for this helpful post. How can i increase speed of my blog? Please help

    • Meer Basit

      October 28, 2020 at 5:17 am

      Come On! Your blog is extremely fast. Why do you think your blog is slow?

  12. Chris

    February 20, 2021 at 2:44 pm

    thanks alot. it 100% worked

  13. Nat

    August 13, 2021 at 7:28 pm

    Hi! Thanks but it didn’t work, could you tell me what I should do? Message is:
    org.xml.sax.SAXParseException; lineNumber: 3575; columnNumber: 36; Open quote is expected for attribute “cond” associated with an element type “b:if”.

  14. Nat

    August 13, 2021 at 7:38 pm

    I just did this and it worked:

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Blogger

To Top