May 10, 2015 at 1:31 pm #151570
i have a problem with the Multi Rating WordPress Plugin in collaboration with the Studiopress Outreach Pro Thema.
After I installed the plugin it appears HTML code on the home page of the outreach theme in the article headers, like:
ARTIKEL-NAME<span class="rating-result after_title mr-filter rating-result-28" itemscope itemtype="http://schema.org/Article" ><span class="mr-star-rating"> <i class="fa fa-star mr-star-full"></i> <i class="fa fa-star mr-star-full"></i> <i class="fa fa-star mr-star-full"></i> <i class="fa fa-star mr-star-full"></i> <i class="fa fa-star mr-star-full"></i> </span> <span class="star-result"> 5/5</span> <span class="count">(1)</span> </span>
In The category/archiv-view all headers are ok and i see the stars...
The programmer says it is the theme.
What can I do?
Thank youMay 10, 2015 at 5:43 pm #151598
Sridhar KatakamParticipantMay 10, 2015 at 5:47 pm #151599
ChristophParticipantMay 11, 2015 at 3:44 am #151669
the SiteURL is
Thank you for your help!May 11, 2015 at 6:47 am #151684
Not sure if this is going to help..
I installed the plugin on my test site running WordPress with Outreach Pro as the active theme and set up just like the official theme demo. I've enabled 'page' Post Type and here's the screenshot of homepage: http://d.pr/i/1aBhl
I was expecting the rating stuff to appear beneath each of the 4 Pages in the Home Bottom widget area. But they appear only beneath the left most. I have not looked deeply to see what's going on. All this to say there's definitely not a problem with the child theme or Genesis for it to cause HTML to appear as it does on your site.
May 11, 2015 at 7:10 am #151689
thank you for your testing.
I have 3 Sites wird WP and Outreach Pro.
On all sites appears the same HTML error, but only on the Frontpage in the Post/Page-Title, not in the category / archiv views.
I have now disabled all plugins. But the error is still there, with all 3 sides.
🙁May 11, 2015 at 7:12 am #151690
Could it be an error in the genesis Featured Posts Widget?
The error appears only with this widget in Outreach Pro.
The aProgrammer says.. it an incorrect use of HTML.
the_title_attribute()May 11, 2015 at 7:35 am #151695
It only appears on frontpage posts with the genesis featured posts widget or in the sidebar on the whole www-page, by using this widgetMay 11, 2015 at 8:56 am #151717
The rating is inserted in a span class within the h1 of the entry-title.
The featured post widget shows the entry-title and escapes html.
This causes the additional code to just be "printed" and not executed.
(see genesis/lib/widgets/featured-post-widget.php around line 152)
Escaping is a security feature and not a bug.
You could try one of the other featured widget plugins:
but from a quick look they are escaping, too.
Just removing the esc_html is not really a save thing to do:
You could try to change the esc_html to one of the wp_kses functions:
You must be logged in to reply to this topic.