Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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?


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
check out the ato->RSS Settings settings
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
this is not part of the theme, try looking for a plugin that will disable the feed.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 03:41 PM.


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