add_filter( ‘rank_math/frontend/robots’, function( $robots ) { // Check if we are currently viewing a feed if ( is_feed() ) { $robots[‘index’] = ‘noindex’; $robots[‘follow’] = ‘nofollow’; } return $robots; });Continue reading
// Función para crear el shortcode del formulario function custom_financial3_form() { ob_start(); ?>Continue reading
// Notify Slack when a plugin, theme, or WordPress core is updated add_action(‘upgrader_process_complete’, ‘notify_slack_updates_v2’, 10, 2); function notify_slack_updates_v2($upgrader_object, $options) { $slackURL = “https://hooks.slack.com/services/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”; // Replace with your Slack Webhook URL $site_name = get_bloginfo(‘name’); // Plugin Updates if ($options[‘type’] === ‘plugin’…Continue reading
$posts = get_field(‘rel_tour_types’); if( $posts ): ?> Tour Types that Visit this AttractionContinue reading
$posts = get_field(‘rel_tours_offered’); if( $posts ): ?> Top ToursContinue reading
$posts = get_field(‘rel_tour_company’); if( $posts ): ?> Tour Companies that Visit this AttractionContinue reading