I found, this happens because of the _action_show_schema function in the unyson feedback, in class-fw-extension-feedback-stars.php,
public function _action_show_schema() {
$rating = $this->get_post_rating();
$html = ”;
if ( intval( $rating[‘count’] ) > 0 ) {
$html .= ‘<div itemscope itemtype=”http://schema.org/Product”>’;
$html .= ‘<meta itemprop=”name” content=”‘ . get_the_title() . ‘”/>’;
$html .= ‘<div itemprop=”aggregateRating” itemscope itemtype=”http://schema.org/AggregateRating”>’;
$html .= ‘<meta itemprop=”ratingValue” content=”‘ . $rating[‘average’] . ‘” />’;
$html .= ‘<meta itemprop=”bestRating” content=”‘ . $this->get_max_rating() . ‘” />’;
$html .= ‘<meta itemprop=”reviewCount” content=”‘ . $rating[‘count’] . ‘” />’;
$html .= ‘</div>’;
$html .= ‘</div>’;
}
echo $html;
}
IS there anyway to unhook this function
Plugin Author
Unyson
(@unyson)
Hello,
Thank you for reporting.
This is the fix and it will be included in the next Feedback extension release (soon).
Thanks for the reply.
I know the fix, and I found this issue. But I am developing a new theme, how can I resolve this issue in the theme end? I copied the feedback section into framework-customizations folder, but it doesnt looks working .
how can I fix this issue in the theme end by any means of overriding?
Plugin Author
Unyson
(@unyson)