• natalieheather

    (@natalieheather)


    On the homepage, in the post excerpts, there’s a random “> between the # of comments and “comments”. It’s right below the post titles.
    However, in categories, or searches, the “> is not there – it is only on the homepage.
    It should be noted that I use Disqus. I don’t know if that is causing the problem, but I just wanted to put that out there.
    For reference: https://ivoryavenue.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    are you using a tooltip plugin?

    try to temporarily deactivate that (or otherwise all plugins) to see if that solves the problem.

    Thread Starter natalieheather

    (@natalieheather)

    Hi alchymyth, thanks for your help.

    I’ve deactivated and reactivated all plugins, and the problem persists. Any other suggestions?

    Michael

    (@alchymyth)

    the tooltip part comes from the theme, however disqus is injecting some html into the comments numbers which breaks the output.

    ideally, let your theme’s developers discus this with the disqus plugin’s developer.

    however for a quick fix for you right now, try to edit /wp-content/themes/virtue/templates/home/blog-home.php;
    find:
    <span class="postcommentscount" data-toggle="tooltip" data-placement="top" data-original-title="<?php comments_number( '0', '1', '%' ); ?>">

    and change the line to:
    <span class="postcommentscount" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo esc_attr(strip_tags(get_comments_number( '0', '1', '%' ))); ?>">

    also possibly post that in the disqus plugin’s form to see if there is some setting in the plugin to avoid this problem(?)

    Michael

    (@alchymyth)

    [I am closing this duplicate topic – please continue at https://www.ads-software.com/support/topic/random-between-of-comments-and-comments-1?replies=2 where you already have the theme’s developers attention.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Random "> between # of comments and "comments"’ is closed to new replies.