[wcj_product_author_avatar]

Display WooCommerce product author avatar

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 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

[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 3.0.4 and WordPress 4.7.4
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.