-
mattpapParticipant
Hello,
since I start using Enlightenment,Google stopped showing in the search results the review stars of the products I feature in my site .
I am using the hReview Plugin to rate the products in my site.
This plugin allows you to rate a certain product that you feature in your site. The number of stars you give to this product show in Google search results, increasing the click through rate.
Since I start using Enlightenment, the stars are not showing any more in Google Search Results.
Do you know how I can fix this?
Matthew
Daniel TaraKeymasterIt is possible that the theme’s Schema Markup feature is conflicting with the plugin. Unfortunately there is no option to disable it but a simple code snippet should do it. I suggest creating a child theme for this task.
- Create a child theme
- Create a file called functions.php in the child theme’s directory
- Add this code to the functions.php file
function enlightenment_child_setup_theme() { // Disable Schema Markup Feature remove_theme_support( 'enlightenment-schema-markup' ); } add_action( 'after_setup_theme', 'enlightenment_child_setup_theme', 11 ); // Optional code to avoid requesting an empty style.css file function enlightenment_child_enqueue_styles() { wp_dequeue_style( 'enlightenment-parent-stylesheet' ); wp_enqueue_style( 'enlightenment-theme-stylesheet' ); } add_action( 'wp_enqueue_scripts', 'enlightenment_child_enqueue_styles', 11 );
You must be logged in to reply to this topic.