fbpx

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 a 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 5.5.1 and WordPress 5.7.2