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.

4

1 回答 1

4

如果在自定义选项卡扩展中您可以为选项卡设置静态块,则可以将以下代码添加到静态块中,这将生成相关的帖子块:

{{block type="wordpress/post_associated" name="wp.post.related" template="wordpress/post/associated.phtml" title="Related Blog Posts" entity="product" count="5"}}
于 2013-07-17T11:46:44.820 回答