• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove trackbacks from posts using functions.php

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove trackbacks from posts using functions.php

This topic is: resolved

Tagged: hooks, pingbacks, trackbacks

  • This topic has 16 replies, 5 voices, and was last updated 10 years, 11 months ago by jkrytus.
Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • December 22, 2013 at 11:59 am #80774
    cookieandkate
    Member

    Hi,

    I don't want trackbacks to appear on my blog posts. I've googled and searched the forums for a hook to remove the trackbacks from the posts/pages but can't find anything.

    To clarify, I do not want to uncheck the following option on the discussions setting page: Allow link notifications from other blogs (pingbacks and trackbacks).

    That feature is useful in helping me know about mentions of my content on other websites. I just don't want the trackbacks/pingbacks appearing on my posts or pages.

    Thank you!
    Kate

    P.s. I am using the Magazine Pro theme, if that is relevant.

    December 22, 2013 at 3:40 pm #80808
    emasai
    Participant

    You could probably hide them with css, that is if they use a particular tag.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    December 23, 2013 at 1:27 pm #80943
    cookieandkate
    Member

    That's an idea. I want to remove them from the page altogether, though, since google doesn't look kindly on links that are built into the code but don't appear on the page.

    December 24, 2013 at 1:49 am #81033
    Brad Dalton
    Participant

    You should be able to remove the code in your child themes functions file which adds them. Which theme are you using?


    Tutorials for StudioPress Themes.

    December 24, 2013 at 8:19 am #81061
    cookieandkate
    Member

    I like that idea. My theme is Magazine Pro.

    Thank you for your help!

    December 29, 2013 at 1:28 pm #81873
    cookieandkate
    Member

    I can't seem to figure this out. I tried adding the following to functions.php, but it didn't do anything:
    remove_action( ‘genesis_pings’, ‘genesis_do_pings’ );

    The Genesis comments.php includes the following:

    do_action( 'genesis_before_pings' );
    do_action( 'genesis_pings' );
    do_action( 'genesis_after_pings' );

    I want pings to be gone!

    December 30, 2013 at 5:45 am #82013
    Brad Dalton
    Participant

    Strange that you have them displayed by default because i didn't think any theme does that out of the box.


    Tutorials for StudioPress Themes.

    January 7, 2014 at 8:04 am #83786
    jkrytus
    Member

    Mine has them set by default and like cookieandkate, I would love for them to go away. They are not attractive at all. I'm using the Corporate Theme.

    Example

    January 7, 2014 at 8:59 am #83799
    Brad Dalton
    Participant

    I don't have a copy of that theme however you should be able to remove the code. Does the theme developer provide support?


    Tutorials for StudioPress Themes.

    January 7, 2014 at 1:01 pm #83852
    jkrytus
    Member

    Studiopress is the developer
    http://my.studiopress.com/themes/corporate/

    January 7, 2014 at 6:27 pm #83922
    Brad Dalton
    Participant

    Don't think so. Try the discussion settings.


    Tutorials for StudioPress Themes.

    January 8, 2014 at 10:45 am #84011
    cookieandkate
    Member

    Well, I don't want to turn off trackbacks because they help me discover cases of stolen content. Surely there is a way to just remove them from the posts/pages instead? I'm really frustrated that Studiopress doesn't offer this option and won't help me find a solution.

    January 8, 2014 at 10:57 am #84014
    jkrytus
    Member

    Well, I don’t want to turn off trackbacks because they help me discover cases of stolen content. Surely there is a way to just remove them from the posts/pages instead? I’m really frustrated that Studiopress doesn’t offer this option and won’t help me find a solution.

    Ditto that.

    January 10, 2014 at 3:01 pm #84496
    cookieandkate
    Member

    I emailed Studiopress support about the issue. They told me to turn off "Enable Trackbacks" on the Genesis Theme settings page. They told me that I would still receive notifications in the dashboard, but the trackbacks won't appear on the page, which is exactly what I want to achieve. I turned off "Enable Trackbacks" and the trackbacks are gone from my posts/pages.

    I am building a local test site now, though, so I have yet to see if I will receive notifications in the dashboard... I hope so!

    June 1, 2014 at 8:16 pm #107796
    thingsforboys
    Member

    now that you are live, are you receiving notification for trackbacks as you hoped?

    June 1, 2014 at 9:17 pm #107800
    cookieandkate
    Member

    No! I am not. I haven't received a single trackback since launching my new Genesis-based theme, even when I change my Genesis settings to allow trackbacks.

    June 2, 2014 at 9:35 am #107830
    jkrytus
    Member

    Ditto what cookieandkate says. I wish there were more support on it.

  • Author
    Posts
Viewing 17 posts - 1 through 17 (of 17 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble