Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Show (and link) Author on product page – How to

Home / Forums / Virtue Theme / Show (and link) Author on product page – How to

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 5, 2014 at 3:13 am

Hello,
as said before I am setting up my book publishing website.
Hence it is very important for me to show the product’s (=book) author and link the name to the author’s archive page.
I already added author support to products which is not done by default with:
add_action('init', 'npt_add_author_to_product', 999 );
function npt_add_author_to_product() {
add_post_type_support( 'product', 'author' );
}

But now I would like to show and link the author on the product page.
Best would be right on top of the category and tags listing with the same style.
Jürgen

  • The forum ‘Virtue Theme’ is closed to new topics and replies.