Support » Theme: Stargazer » Removing "trackbacks and pingbacks" from each page

  • Could you please tell me also how can I remove “Comments are closed, but trackbacks and pingbacks are open.” from the pages which have comments closed? I disabled comments on each page. Everything under Discussion is unchecked. Where do you go to get rid of this? The theme is Stargazer by the way.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Can Anybody help me with this please?


    If you go to your admin panel -> Pages -> an single page. Then click the drop-down menu at the very top right corner (that shows which options to display). Sadly, my WP isn’t in English, so I’ll just have to guess on your translations. Make sure the boxes “Comments” is checked. Now scroll down on your site until you see the Comments box. Uncheck “Allow comments” and “Allow Trackback and Pingbacks”. That should solve your problem.

    Sadly, you have to do this on every single page you have already created. However, after you make a new page with those two unchecked, the next page you create will have it off by default.


    I did what you said, but all of those boxes are already unchecked. Plus in Settings > Discussions, all of the boxes that mention allowing comments are unchecked. The odd thing is that not every page has the Comment trackbacks on the bottom of the page. Is it some place else that I need to work on? I really appreciate your help and hopefully I can get this fixed.

    Are you sure you removed the check box from “allow trackback and pingbacks” as well?

    Could you please link me to your site so that I could look at it?

    If that box is under Discussion, then yes. Sorry for not linking the site here.
    There are a few pages that don’t have it listed way at the bottom, like:
    but the Map does. So it’s strange.
    Any suggestions?

    Are you sure the settings are not set differently for each page? If not, I am afraid I do not know what is wrong.

    How do you tell? Do you go back to what you said the first time and check those boxes or is there some other place to check?

    Yes. On every page you find that text.

    Well…I looked it over again; edited again; made sure everything was unchecked and nothing changed. I can’t figure out where else to look. Thank you very much for trying to help me!

    Sorry I couldn’t help you more. If you find the solution, you can help others who later have the same problem by posting it here when you close the thread. Good luck!

    Will do and thank you!

    My best guess is that you go to “Pages” in your admin-panel, and then check the “mark all” box at the top of the page before choosing Edit in mass actions.

    Uncheck the comment box, and press save.

    Even thoug comments have been disabled in settings, pages that were already created will not be affected by changing that setting.

    My coding skills are very basic, but I accomplished this by editing the misc/comments-error.php file.

    I changed:

    <p class="comments-closed pings-open">
    			/* Translators: The two %s are placeholders for HTML. The order can't be changed. */
    			printf( __( 'Comments are closed, but %strackbacks%s and pingbacks are open.', 'stargazer' ), '<a href="' . esc_url( get_trackback_url() ) . '">', '</a>' );
    	</p><!-- .comments-closed .pings-open -->


    <p class="comments-closed pings-open">
    			/* Translators: The two %s are placeholders for HTML. The order can't be changed. */
    			printf( __( '', '' ), '<a href="' . esc_url( get_trackback_url() ) . '">', '</a>' );
    	</p><!-- .comments-closed .pings-open -->

    I added my edited comments-error.php file to my child theme, within a ‘misc’ folder.

    I’m sure just deleting things is leaving the code a bit sloppy. If there’s a better way, I’m all ears.

    Sunday Morning I believe you misunderstand his intention; he has already used the checkboxes, but wishes to do away with the text saying the comments are closed. Need to find the page template it is appearing on and change the code there. I’m doing this right now so when I figure it out (again – I’ve done this before!) I’ll post.

    Here’s what I did, a quick fix in style.css, change font sizes to 0:
    #comments {
    font-size: 0px;
    font-size: 0rem;}

    I’m using a different theme, but you should be able to find it in yours. Older post so you probably did, but for future reference anyway…

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Removing "trackbacks and pingbacks" from each page’ is closed to new replies.