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

Author box on portfolio

Home / Forums / Virtue Theme / Author box on portfolio

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 24, 2017 at 2:50 pm

Hi Ben, Hannah

I wanted to add an author box to content-singleportfolio, so I took it from a blog page template. But it doesn’t work this way.

<?php $authorbox = get_post_meta( $post->ID, '_kad_blog_author', true );
if(empty($authorbox) || $authorbox == 'default') { if(isset($virtue_premium['post_author_default']) && ($virtue_premium['post_author_default'] == 'yes')) { virtue_author_box(); }}
else if($authorbox == 'yes'){ virtue_author_box(); } ?>
</div>

What do I have to change?

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