Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » RSS, Feeds & Subscribing »

ATA 3.6.7: How do I remove RSS/Feeds from header?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 20, 2011, 08:24 AM
uptimejeff
 
9 posts · May 2011
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
  #2  
Old Nov 20, 2011, 09:38 AM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
check out the ato->RSS Settings settings
  #3  
Old Nov 21, 2011, 04:21 PM
uptimejeff
 
9 posts · May 2011
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 :-)
  #4  
Old Nov 21, 2011, 04:37 PM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
this is not part of the theme, try looking for a plugin that will disable the feed.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS feeds problem vinceesq RSS, Feeds & Subscribing 0 Jun 2, 2011 02:07 PM
How do I style or remove the RSS feeds in the header?? zeus911 Header configuration & styling 3 Feb 21, 2011 09:53 AM
Problems with header: search box, feeds are under the images OVG Forum How-To 4 Oct 30, 2010 01:09 PM
Shorten RSS Feeds bonoix RSS, Feeds & Subscribing 2 Dec 13, 2009 06:01 PM
[SOLVED] Meta Widget - Want to remove RSS feeds sarge Sidebars & Widgets 2 Oct 25, 2009 05:29 PM


All times are GMT -6. The time now is 08:41 PM.


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