[wcj_product_author_link_all_posts]

Display WooCommerce product author link to all author's posts

Description

[wcj_product_author_link_all_posts] shortcode displays WooCommerce product author link to all author’s posts. While [wcj_product_author_link] shortcode will display link to author’s products only, [wcj_product_author_link_all_posts] will display link to all posts (including products) created by author.

Args

product_id
(optional) The integer ID for an product.

Default: The current product ID, if exists
before
(optional) Text to place before the content. If content is empty this argument is ignored.

Default: None
after
(optional) Text to place after the content. If content is empty this argument is ignored.

Default: None

Examples

Author: <a href="">[wcj_product_author]</a>
Accessible through:
  • [wcj_product_author_link_all_posts]
Tested on WooCommerce 3.1.1 and WordPress 4.8
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

No comments yet.