Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #425382

    Hello!

    On my Blog i show an overview of 9 blogarticels. There is always a little picture, the title, comments and the date. I want that instead of “0 comments” –> “16 likes”. If you click on each article, you can see in the floating bar on the left side the amount of “likes”. For example “16”. I want that amount of likes on the main page instead of “0 comments”. Is this possible?

    Thanks for help.

    #425581

    Hey AlexanderKouba!

    That looks like a plugin your using. It would be best to contact the plugin author about this to see if it’s possible.

    It’s most likely going to take a lot of time and code to implement though so it would have to be considered custom work.

    Or if you want to try and customize it yourself then you can find where that is displayed around line 162 in the /endold/includes/loop-index.php file.

    comments_popup_link(  "0 ".__('Comments','avia_framework'),
    					  "1 ".__('Comment' ,'avia_framework'),
    					  "% ".__('Comments','avia_framework'),'comments-link',
    					  "".__('Comments Disabled','avia_framework'));
    

    Cheers!
    Elliott

    #428279

    Instead of showing the likes, which could be problematic, what you say…

    How is it possible to don’t show the comments in the grid layout. I mean only to show the title, the picture and the date and not the comments.

    Thanks

    #428289

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .slide-meta-comments, .slide-meta-del {
      display: none!important;
    }

    Best regards,
    Yigit

    #428301

    Thanks for helping me!

    Is there also a code for adding the author in that field?

    #429046

    Hi!

    Around line 386 in /endolf/config-templatebuilder/avia-shortcodes/postslider.php you should see this.

    $output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>";
    

    Add this beneath it.

    $output .= "<div class='slide-meta-del'>/</div>" . get_the_author();
    

    Cheers!
    Elliott

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.