Tagged: x
-
AuthorPosts
-
May 29, 2016 at 10:09 am #1015300
AlmusanParticipantI have something in my header that i want to remove:
“links feed”
how can i remove it: i think that is in framework/views/ethos/setup.
Thanks
May 29, 2016 at 10:09 am #1015302
AlmusanParticipantThis reply has been marked as private.May 29, 2016 at 10:24 am #1015311
RupokMemberHi there,
Thanks for writing in! Feeds are core feature of WordPress and automatically added by WordPress. If you want to remove feeds then you can add the below code to your Child Theme‘s functions.php :
function fb_disable_feed() { wp_die( __('No feed available, please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); } add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1); add_action('do_feed_rss2_comments', 'fb_disable_feed', 1); add_action('do_feed_atom_comments', 'fb_disable_feed', 1);You can also do this with a plugin like this if you don’t have Child Theme installed – https://wordpress.org/plugins/disable-feeds/
Hope this helps.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1015300 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
