2

I'm trying to move the "Related Blog Posts" on the product page from the bottom of the page into a different section of the page (tabs).

The theme I'm using allows me to add a tab which pulls a static block to create a custom tab. I'd like to use this as a place to store the "Related Blog Posts". The custom tab has an identifier of "block_product_tab1"

I tried moving the "related Blog Post" by replacing "product.info.additional" in wordpress.xml with other "block_product_tab1" but that didn't work.

I'm not sure how to continue.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Christina Rule
  • 463
  • 3
  • 5
  • 18

1 Answers1

4

If in your custom tab extension you can set a static block for a tab, you can add the following code to your static block, which will generate the related posts block:

{{block type="wordpress/post_associated" name="wp.post.related" template="wordpress/post/associated.phtml" title="Related Blog Posts" entity="product" count="5"}}
Ben Tideswell
  • 1,697
  • 2
  • 11
  • 14