Site logo

Archived topic

Adding an Author Box on Sidebar

3 replies · Started by Edi on April 3, 2017

Viewing posts 1–4 of 4

Hi Tom,

How do I add an author box in my sidebar? Does GP Premium come customized for it? Is there a way to do that without a plugin?

Thanks a lot!

Edi

Hey Tom - I tried to insert the author box here below those related posts:

http://woocommerce-97754-277097.cloudwaysapps.com/rugby-wrestling-fitness-drills/

I can't seem to figure it out though.

Here's what my single.php file looks like:

>
<main id="main" <?php generate_main_class(); ?>>
<?php do_action('generate_before_main_content'); ?>
<?php while ( have_posts() ) : the_post(); ?>

<?php get_template_part( 'content', 'single' ); ?>
<?php if ( function_exists( 'wpsabox_author_box' ) ) echo wpsabox_author_box(); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) : ?>

<?php comments_template(); ?>

<?php endif; ?>
<?php endwhile; // end of the loop. ?>
<?php do_action('generate_after_main_content'); ?>
</main><!-- #main -->

<!-- #primary -->

It looks like Elementor has taken over the page template, which means it's likely that single.php file isn't being used.

This archived topic is closed to new replies.