If anybody one day has the same problem, I found a solution :
In rio-portfolio.php file, the filter tabs calls category slug (the url-friendly name, without special chars) as class to identify, but the grid calls the name and not the slug.
Obviously name and slug are not the same as soon as you have anything such as accentuated chars or /();, etc
So when javascript compares the class of the filter and of the content, nothing matches.
My solution : in rio-portfolio.php, line 660 :
$rio_portfolio_content.='<li data-id=”id-‘.$count.'” data-type=”‘; if(!empty($terms)){ foreach ($terms as $term) { $rio_portfolio_content.= strtolower(preg_replace(‘/\s+/’, ‘-‘, $term->name)). ‘ ‘; } } $rio_portfolio_content.='” class=”images-item” style=”height:’.$portfolio_thumb_height.’px; width: ‘.$portfolio_thumb_width.’px;”>’;
replace $term->name by $term->slug :
$rio_portfolio_content.='<li data-id=”id-‘.$count.'” data-type=”‘; if(!empty($terms)){ foreach ($terms as $term) { $rio_portfolio_content.= strtolower(preg_replace(‘/\s+/’, ‘-‘, $term->slug)). ‘ ‘; } } $rio_portfolio_content.='” class=”images-item” style=”height:’.$portfolio_thumb_height.’px; width: ‘.$portfolio_thumb_width.’px;”>’;
This way the slug is used to identify content, no more problem with special characters !
Hi SEO Span,
Thank you for trying out our plugin and the solution provided. We are looking into both the issues, will make necessary changes to the plugin and will get back to you asap.
Rio Team
thank you Rio Team.I’m same problem above.I’ve fixed.
Hi thngvn,
Welcome 🙂
Thanks for supporting us.
Riosis Group