New Landing How can we help? Atelier Edit layout of item details of blog mini

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Atelier
  • #229070
    pinponketo
    Member
    Post count: 36

    I would like to:

    1. change the separators between the elements of the details of the post:

    Eg. “By Gorda in Facts / 29/10/2014 / 0 comments” should look like “By Gorda in Facts – 29/10/2014 – 0 comments” or “”By Gorda in Facts / 29.10.2014 / 0 comments”

    To see it live pls have a look at: https://www.tequilaysoledad.com/blog/

    2. I would like to hide the comment count if it is zero. Like above mentioned. -> “/ 0 comments” should not be displayed at all.

    Thanks in advance for your help.

    #229411
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your child theme’s functions.php file: http://pastie.org/10562984

    – Kyle

    #229493
    pinponketo
    Member
    Post count: 36

    Hi Kyle,

    Thanks for the code. The first problem it solved but not the second. The “0 Comments” still appears after the date.

    Perhaps you could double check?

    Thanks again

    #229639
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try to paste this code at functions.php of child theme :- http://pastie.org/10565116.
    Thanks
    Mohammad

    #229640
    pinponketo
    Member
    Post count: 36

    Hi Mohammad,

    still not working :-/

    I mean if there are no comments, the comment count is still shown.

    best

    Alonso

    #229642
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to check and resolve the issue.
    Thanks
    Mohammad

    #229672
    pinponketo
    Member
    Post count: 36
    This reply has been marked as private.
    #229729
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue so please check it now.
    Thanks
    Mohammad

    #229740
    pinponketo
    Member
    Post count: 36

    Brilliant! works perfectly. Was only the functions.php file of the child theme edited?

    Thank you very much.

    #229743
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I only edited functions.php of child theme.
    Thanks
    Mohammad

    #252357
    parcyvall
    Member
    Post count: 143

    Hello,

    I would also like to achieve to disable the comment count. I got it working with the supplied code for the function.php but that seems to be a lot of code, just to get rid of the counter. Is there anyway to achieve this with less code?

    Kind regards,
    Simon

    #252683
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @parcyvall
    – Please provide me specific page url with issue to check and find simple solution.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register