Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   ATA 3.6.7: How do I remove RSS/Feeds from header? (http://forum.bytesforall.com/showthread.php?t=16036)

uptimejeff Nov 20, 2011 08:24 AM

ATA 3.6.7: How do I remove RSS/Feeds from header?
 
I'm using 3.6.7 as a CMS and have no need for RSS or any other feeds or publishing protocols (new to this topic).

Although the RSS icon doesn't show up in the page, the option does show up in the browser app.
How do I remove this?

Looking online, I found suggestion to add this to theme functions.php:
Code:

// Disable feeds
function my_disable_feed() {
        wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') );
}
add_action('do_feed', 'my_disable_feed', 1);
add_action('do_feed_rdf', 'my_disable_feed', 1);
add_action('do_feed_rss', 'my_disable_feed', 1);
add_action('do_feed_rss2', 'my_disable_feed', 1);
add_action('do_feed_atom', 'my_disable_feed', 1);

But that didn't remove the feed from the browser.

Any pointers appreciated.

Jeff

juggledad Nov 20, 2011 09:38 AM

check out the ato->RSS Settings settings

uptimejeff Nov 21, 2011 04:21 PM

Thanks for your reply and your contribution to this forum Juggledad.

ATO / RSS Settings
Doesn't contain the option to disable the feed to the browser.
I can disable the feed icons...

What I need to do is disable the feed from the header source. Even with the feeds not displaying, the option is still there for a browser to subscribe. Here's what I see in source
Code:

<link rel="alternate" type="application/rss+xml" title="ICAC &raquo; Feed" href="http://icac.org/feed" />
<link rel="alternate" type="application/rss+xml" title="ICAC &raquo; Comments Feed" href="http://icac.org/comments/feed" />

example:
http://icac.org

Thanks :-)

juggledad Nov 21, 2011 04:37 PM

this is not part of the theme, try looking for a plugin that will disable the feed.


All times are GMT -6. The time now is 10:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.