@Mahesh: Thanks. I tried adding the snippet code at the end. But then my site got 500 internal server error. Can you advise what’s gone wrong?
<?php
/**
* Functions and definitions
*
* Sets up the theme using core.php and provides some helper functions using custom functions.
* Others are attached to action and
* filter hooks in WordPress to change core functionality
*
* @package Catch Themes
* @subpackage Clean Education
* @since Clean Education 0.1
*/
//define theme version
if ( !defined( ‘CLEAN_EDUCATION_THEME_VERSION’ ) ) {
$theme_data = wp_get_theme();
define ( ‘CLEAN_EDUCATION_THEME_VERSION’, $theme_data->get( ‘Version’ ) );
}
/**
* Implement the core functions
*/
require trailingslashit( get_template_directory() ) . ‘inc/core.php’;
/**
* Removes link to a recurring event’s RSS feed from the <head>
*/
function tribe_remove_recurring_feed() {
if ( tribe_is_recurring_event() ) {
remove_action( ‘wp_head’, ‘feed_links_extra’, 3 );
}
}
add_action( ‘template_redirect’, ‘tribe_remove_recurring_feed’ );