fbpx

Description

[wcj_product_author_avatar] shortcode displays WooCommerce product author avatar.

Args


avatar_size
(optional) Avatar size (max is 512).
Default: 96

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

[wcj_product_author_avatar avatar_size="96"]

Products by Author: <a href="" title="">[wcj_product_author_avatar avatar_size="96"]</a>
Accessible through:
  • [wcj_product_author_avatar]
Tested on WooCommerce 8.5.1 and WordPress 6.4.2