Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #221026

    I’m using “I Recommend This” plugin and it shows up on blog posts. I can manually add a short code in the portfolio items, as shown in this portfolio item ( https://envisionaire.com/portfolio-item/american-icon/ ) but would rather have it load automatically like it does in the blog posts.
    The developer includes the line of code. I’m just not sure which file to place it in and where to place it. Any help is much appreciated.

    “To display the recomment/like link other than at the bottom of individual post, you would have to add below code in your template
    <?php if( function_exists(‘dot_irecommendthis’) ) dot_irecommendthis(); ?>”

    Thanks!

    PS. Love this theme and still get compliments on our site. Couldn’t have done it without such a great theme.

    #221108

    Hey SugarRoyale!

    Please edit includes > loop-portfolio-single.php, find this code:

    //display the actual post content
    				echo avia_advanced_hr(false, 'small');
    				the_content(__('Read more  &rarr;','avia_framework')); 
    

    Below, add this code:

    if( function_exists('dot_irecommendthis') ) dot_irecommendthis();
    

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.