• Resolved djavco

    (@djavco)


    The comment counts on the post templates are not working when there are comments and simply displays the ‘%’ placeholder, not the number of comments.

    Interestingly though when viewing the custom layout in the dashboard the comment numbers are displaying correctly. However on the actual webpage where I have included the custom layout shortcode it reverts to ‘% comment’.

    • This topic was modified 3 years, 5 months ago by djavco.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Code Amp

    (@codeamp)

    Hey @djavco

    I just took a look and can see it happens when there is 1 comment, but when there is more than 1 it seems to work ok – can you confirm this is what you see?

    Thanks

    Thread Starter djavco

    (@djavco)

    Hi @codeamp
    You are quite right if there are 2 comments it displays correctly.

    Thanks for looking

    Plugin Author Code Amp

    (@codeamp)

    Hey @djavco

    So I’ve fixed this in our beta (which will likely be released in the next week or two).

    However, an easy fix would be to replace the % with a 1

    Its the singular label, which will always be 1, so I think that’s why the % was not initially supported!

    Best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Templates Comment count not working’ is closed to new replies.