I need to display my recent blog post under all selected category landing page and selected products left side.

  • Which extension are you using for blog? – Sukumar Gorai May 29 '18 at 7:45
  • AHEADWORKS EXTENSIONS – zus May 29 '18 at 8:03

You can use the below code to your local.xml. This will show the recent posts and categories of blogs to left side of your product page(if product page layout is 2cloumns-left).

    <reference name="left">
        <block type="blog/menu_sidebar" name="left.blog.menu"  after="-">
            <action method="setTemplate">
            <block type="blog/tags" name="blog_tags" />

You can put condition according to your requirement on blog/menu.phtml or create one new file blog_menu.phtml and put your conditions.

Also if you want to use the same to catagory page then update the handler for category pages

| improve this answer | |
  • you mean app/etc/local.xml file? – zus May 29 '18 at 9:11
  • 1
    No. You can create one local.xml file under your theme layout directory. – Sukumar Gorai May 29 '18 at 9:55
  • I am added code to : app/design/frontend/default/theme/layout/local.xml -> code : justpaste.it/5txvu then i what i need to do. – zus May 29 '18 at 10:15
  • No need to do anything now. Check any product which has 2columns-left layout. The recent blogs will show there. If you have enabled cache then flush the cache. – Sukumar Gorai May 29 '18 at 10:34
  • No, still not working..... May i know the possibilities of error. – zus May 29 '18 at 11:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.