Remove the "Blog Comments Off" text from Main Blog page

Discussion in 'Squirrel WordPress Theme' started by rosy, Feb 18, 2013.

Thread Status:
Not open for further replies.
  1. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    Hello,
    Following advice from other support forum postings I have removed the "Blog Comments Off" text from individual blog posts but I can't find the place to remove the code for the main blog page. I've searched through the old and new forums and tried the suggestions for removing from the blog php - please help!
    Blog page: comments.JPG
    Individual Post Page - gone:
    gone.JPG
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Go to blog.php present in your theme directory and remove the code given below

    Code:
    <li class="postc_comment"><span> Blog</span>&nbsp;<?php comments_popup_link('No Comments.', '1 Comment.', '% Comments.'); ?></li>
    Sending image for reference

    [​IMG]
     
  3. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    Thanks Gourav,
    I had removed that code from the single post php and it worked on the individual blog post pages as shown above. BUT, I also had tried removing that code in the blog.php but it did not work - the comment off header is still displayed. Is there code in another file I need to remove also?
    Thanks!
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    No, There is no other code to show the comment in blog page, There is a cache problem in your site, Deactivate Wp-cache plugin from your website, This will solve your issue.
     
  5. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    Hi again Gourav,
    I don't have a plugin "WP Cache"?! what else could cause a cache problem?
    Here are the plugins I have installed in this site:

    plugins.JPG
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Please provide the following information listed below.

    Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    Send this information on our email at [email protected]
    We will check and resolve your issue.
     
  7. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    I've sent you the info requested - Please let me know what course of action you take to remove this so I can manage it myself in future.
    Thanks for your help!
     
  8. rosy

    rosy Member

    Joined:
    Sep 17, 2012
    Messages:
    73
    Likes Received:
    2
    So the solution is to put the following code in appearance, theme options, styling options, Custom CSS textbox :

    .page-content .content-bar .post .post_meta .postc_comment {​
    display: none;​
    }​


    thanks again for your help!
    RESOLVED
     
Thread Status:
Not open for further replies.

Share This Page