From 80bc93ae7ace1daa533627252e75d5d790646d20 Mon Sep 17 00:00:00 2001 From: "Nicholas A. Ferrell" Date: Tue, 3 Sep 2024 02:30:10 +0000 Subject: [PATCH] Update functions.php --- functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 291656c..20cbb7c 100644 --- a/functions.php +++ b/functions.php @@ -30,8 +30,9 @@ add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 ); // END ENQUEUE PARENT ACTION -// modify search -add_filter( 'relevanssi_light_custom_fields', function( $fields ) { return array( '_genesis_description' ); } ); +// specific functions for Relevanssi Light search plugin, do not use if you are not using the plugin +add_filter( 'relevanssi_light_custom_fields', function( $fields ) { return array( '_genesis_description' ); } ); // add The SEO Framework meta description to Relevanssi Light index +add_filter( 'relevanssi_light_boolean_mode', '__return_true' ); // enable boolean search mode for Relevanssi Light // add dublin core metadata to header function add_dublin_core_metadata() {