How to add other related news on blogger

To add related news on Blogger, you can use the "Related posts" feature, which is a built-in feature in Blogger. Here's how to do it:

Method 1: Using the "Related posts" feature

  1. Log in to your Blogger account and go to the dashboard.
  2. Click on the "Settings" icon (looks like a gear) next to your blog's name.
  3. Click on "Posts and comments" from the drop-down menu.
  4. Scroll down to the "Related posts" section.
  5. Check the box next to "Show related posts" to enable the feature.
  6. Choose the number of related posts you want to display (1-5).
  7. Click "Save changes" at the bottom of the page.

Method 2: Using a third-party widget

  1. Go to the Blogger dashboard and click on "Layout" from the left-hand menu.
  2. Click on the "Add a gadget" button.
  3. Search for "related posts" in the gadget directory.
  4. Choose a gadget that suits your needs (e.g., "Related Posts" by Blogger or "Related Posts" by FeedBurner).
  5. Configure the gadget settings as desired (e.g., choose the number of related posts to display).
  6. Click "Save" to add the gadget to your blog.

Method 3: Using a custom code

  1. Go to the Blogger dashboard and click on "Template" from the left-hand menu.
  2. Click on the "Edit HTML" button.
  3. Search for the <data:post.body> tag in the template code.
  4. Add the following code above the <data:post.body> tag:
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <h2>Related News</h2>
    <b:loop values='data:blog.search.results' var='post'>
     <h3><a expr:href='data:post.url'><data:post.title/></a></h3>
    </b:loop>
    </b:if>
  5. Replace the data:blog.search.results with the URL of the news feed you want to display (e.g., a Google News feed).
  6. Click "Save" to update the template.

Note: The above code is just an example and may need to be modified to fit your specific needs.

By following these methods, you can add related news to your Blogger blog and provide your readers with more relevant and engaging content.