WordPress.org

Ready to get started?Download WordPress

Forums

Kvarken
[resolved] [closed] how to remove comments on homepage? (13 posts)

  1. micfo07
    Member
    Posted 8 months ago #

    HI,
    i have uncheked the comment option on the post i created
    using your theme, and while the comment box doesnt
    appear on the post itself(only post on my site, no pages yet),
    theres a comment box on the homepage (the root domain,
    like site.com) and i cant get rid of it?

    How do i remove the comment box that appears on the homepage?
    (at the root of the domain)

    thanks

  2. paulwpxp
    Font hero
    Posted 8 months ago #

    Here is from the index.php in the latest version of this theme
    http://themes.trac.wordpress.org/browser/kvarken/1.09/index.php#L28

    if ( comments_open() ) :
    	comments_popup_link();
    	echo '.';
    endif;

    It's pretty much straightforward. So could it be that you didn't clear browser cache ? Are you using any plugins that might interfere with comments ?

  3. micfo07
    Member
    Posted 8 months ago #

    Hi,
    sorry to be so dumb but...its not straightforward for me.
    Do i find this part of code in the index.php and change
    the "open" for "close" or "closed"?

    thanks : )

  4. paulwpxp
    Font hero
    Posted 8 months ago #

    The code is to show you that there is no way the comment box will appear on the index page (front home listing) of this theme.

    There will be only a text link displaying comment number, when clicked, leads to comment section of its single page. Also, this text link will not be displayed when comment is set to not allowed site-wide or turned off as per post/page setting.

    You can see this behavior live on theme demo page.
    http://wp-themes.com/kvarken/

    and while the comment box doesn't appear on the post itself(only post on my site, no pages yet), theres a comment box on the homepage

    Could it be that the front page of your site is set as static front page ? And that page has allowed comment on its own which will override site-wide settings.

    Turning on Comments for a Single Post or Page
    http://codex.wordpress.org/Comments_in_WordPress#Turning_on_Comments_for_a_Single_Post_or_Page

  5. micfo07
    Member
    Posted 8 months ago #

    Hey,
    one thing solves one other issue:

    turns out the comment box appeared because i was logged in to my site wp when i was viewing my site. so this one thing is solved.

    The remaining issue is at the bottom of my post(on homepage as well, as my post is the only thing on my site), at the bottom of that post there are the mentions:
    Written by author. . No Comments. Category: comment tomber enceinte.

    Can i remove all those mentions?

    thanks so much!
    i so appreciate it : )

  6. paulwpxp
    Font hero
    Posted 8 months ago #

    turns out the comment box appeared because i was logged in

    That's strange, the only thing in index.php that will display only if logged-in is the edit_post_link(). Maybe you refered to the comment thing in the admin side, which you will always see it.

    This plugin can remove anything comments including the admin side of thing.
    http://wordpress.org/plugins/disable-comments/

    To not display post footer (meta) in the front home page, install any of the Custom CSS plugin and use this.

    .home .post .meta { display: none; }

    or use this to not display it in archive and search or anything at all.

    .meta { display: none; }

    For anything else that doesn't relate to the OP, please create a new thread for it.

  7. micfo07
    Member
    Posted 8 months ago #

    thanks a lot!~

    What is the OP?

    I ask cause theres one last thing thats an issue
    (right under my post title it says:
    Home } [the name of my category] } [the name of my post].

    Not sure how to remove it.
    Where should i post this question?

    Im done!
    will be able to build my business then!

    thanks

  8. Carolina Nymark
    Member
    Theme Author

    Posted 8 months ago #

    Hi, there should be an option in the customizer to remove the breadcrumbs (The Home } category } post)

  9. micfo07
    Member
    Posted 8 months ago #

    it worked, thanks poena!

    now im all set :)

  10. Carolina Nymark
    Member
    Theme Author

    Posted 7 months ago #

    Marking this topic as resolved

  11. Life Coach Lynda
    Member
    Posted 1 week ago #

    Please can you assist me to remove comments on my sites, I am being completely hectically spamed and it is not cool... please help urgently and offer guidance as to HOW to get rid of comments totally

  12. Carolina Nymark
    Member
    Theme Author

    Posted 1 week ago #

    Did you try any of the advice above?

  13. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 week ago #

    If you have already tried the above advice and the issue prevails then you do not have the same issue.

    You can create your own thread here: http://wordpress.org/support/theme/kvarken#postform

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic