How can I suppress the feed?

Home Forums Calendar Products Events Calendar PRO How can I suppress the feed?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1284091
    terrizsolo
    Participant

    Hi,

    I don’t need the events feed. I’ve eliminated it from the display page – but this line appears on EVERY post – including other custom post types – and pages on my site, and I don’t need it:

    <link rel=”alternate” type=”text/calendar” title=”Solo-E: Free Resources for Solo Entrepreneurs » iCal Feed” href=”https://www.solo-e.com/classes/?ical=1&#8243; />

    Where in the theme can I eliminate this?

    Thanks,
    Terri Z

    #1284675
    Jennifer
    Keymaster

    Hi Terri,

    Thanks for reaching out!

    You can remove that line by adding this one:

    remove_action( ‘wp_head’, array( ‘Tribe__Events__iCal’, ‘set_feed_link’ ), 2,  0 );

    to your functions.php file.

    Let me know if you need any more help!

    #1285136
    terrizsolo
    Participant

    Hi Jennifer,

    I added that to my functions.php, but I’m still seeing that line in my source code 🙁

    #1285913
    Jennifer
    Keymaster

    Hi Terri,

    Sorry that didn’t work for you : / Give this one a try:

    https://gist.github.com/jentheo/74a2b3590131167ec7b529410cce1977#file-gistfile1-txt

    I tested it out on my end, and it did remove the link.

    Let me know how it goes!

    Thanks,

    Jennifer

    #1285931
    terrizsolo
    Participant

    That worked! Thank you Jennifer!

    #1286610
    Jennifer
    Keymaster

    Awesome! Glad to hear this is fixed.

    Feel free to reach out anytime if you need any further assistance!

    #1288076
    Jennifer
    Keymaster

    Hi Teri,

    I’ll go ahead and close out this thread, but if you have any more questions, feel free to open a new one!

    Thanks,

    Jennifer

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How can I suppress the feed?’ is closed to new replies.