• Resolved barceloch

    (@barceloch)


    I’m trying to use the shortcode in the author template on my web page, the problem is that when accessing /author/pepe the image of the user for whom I am authenticated is displayed and not that of “pepe”…

    I want it to function the same as the profile page so that if visits /profile/pepe, the images that are displayed are those of that user.

    how can i achieve that?

    
    ...
    <div class="author_page">
    	<?php echo do_shortcode("[uwp_profile_header]"); ?>
    	<div class="author_page_sidebar">
    		<?php do_action( 'el_author_info' ); ?>
    	</div>
    ...
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using shortcode in my author template’ is closed to new replies.