Community Forums › Forums › Archived Forums › General Discussion › Problems with Multi Rating PlugIn with Outreach Pro Theme
Tagged: Multi Rating PlugIn, outreach, Wordpress
- This topic has 8 replies, 3 voices, and was last updated 7 years, 10 months ago by
Christoph.
-
AuthorPosts
-
May 10, 2015 at 1:31 pm #151570
animax2015
MemberHi,
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 you
May 10, 2015 at 5:43 pm #151598Sridhar Katakam
ParticipantMay 10, 2015 at 5:47 pm #151599Christoph
MemberHi,
it´s hard to say anything without seeing what is happening on your website.
Can you provide an url?You can also submit a support ticket to the official Studiopress support at my.studiopress.com/help
May 11, 2015 at 3:44 am #151669animax2015
MemberMay 11, 2015 at 6:47 am #151684Sridhar Katakam
ParticipantNot 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 #151689animax2015
MemberHi Sridhar,
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.That's odd...
I have now disabled all plugins. But the error is still there, with all 3 sides.
🙁
May 11, 2015 at 7:12 am #151690animax2015
MemberCould 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 #151695animax2015
MemberIt only appears on frontpage posts with the genesis featured posts widget or in the sidebar on the whole www-page, by using this widget
Screenshot:
https://www.evernote.com/l/AAeFaIBaXmxLCLfUej1iJX3-u5w0J8bqxFkMay 11, 2015 at 8:56 am #151717Christoph
MemberThe 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:
wordpress.org/plugins/genesis-featured-content-widget/
wordpress.org/plugins/genesis-featured-widget-amplified/but from a quick look they are escaping, too.
Just removing the esc_html is not really a save thing to do:
http://wonko.com/post/html-escapingYou could try to change the esc_html to one of the wp_kses functions:
codex.wordpress.org/Function_Reference/wp_kses
codex.wordpress.org/Function_Reference/wp_kses_post
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.