Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author dpowney

    (@dpowney)

    Hi Matti,

    This text “Sommarprataren uppdaterades 21 februari, 2015” is likely added by using the_title WP filter and this filter is also used by Multi Rating. The problem is, whatever is adding this text (could be the theme or another plugin I do not know) is not allowing anything else to use the_title filer.

    As a workaround if you have basic knowledge of PHP, you can modify the theme page templates to add the star ratings next to the post titles. e.g. <?php do_shortcode( '[mr_rating_result]' ); ?>

    Thanks,
    Daniel

    Thread Starter MattiLoveall

    (@mattiloveall)

    Hm. The workaround is not working. I added but it doesn’t print anything.

    <h2 class=”entry-title”>Sommarpratare den <?php the_title(); ?> <?php do_shortcode( ‘[mr_rating_result]’ ); ?></h2>

    Can you figure out what’s wrong?

    Thread Starter MattiLoveall

    (@mattiloveall)

    I added <?php echo do_shortcode( ‘[mr_rating_result]’ ); ?>

    Thread Starter MattiLoveall

    (@mattiloveall)

    Although. Now there is one more problem The foolowing is not added on posts. This is from startpage:

    <h2 class=”entry-title”>Sommarpratare i SR P1<span class=”rating-result after_title mr-filter rating-result-262″ itemscope itemtype=”http://schema.org/Article&#8221; ><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-o mr-star-empty”></i>
    </span>
    <span class=”star-result”>
    3.7/5</span> <span class=”count”>(5)</span>
    <span itemprop=”aggregateRating” itemscope itemtype=”http://schema.org/AggregateRating&#8221; class=”rating-result-summary” style=”display: none;”>
    <span itemprop=”ratingValue”>3.7</span>/<span itemprop=”bestRating”>5</span>
    <span itemprop=”ratingCount” style=”display:none;”>5</span>
    </span>
    </span></h2>

    I really need for google as you might understand:-)
    Is ther a way to figure this out as well?

    Regards

    Plugin Author dpowney

    (@dpowney)

    Is the first issue still present?

    For the second issue, are you using auto placement for the rating results and have the rich snippets turned on in the plugin settings? If not and you’re using a shortcode or API, you need to set show_rich_snippets=true e.g. [mrp_rating_result show_rich_snippets=true]

    Thread Starter MattiLoveall

    (@mattiloveall)

    The first issue is solved. Thanks!

    Second issue: I am using auto placement and the thing is the same here, it’s working on pages but not on posts. Maybe I should try a different theme or deactivate all plugins to see if something is messing it up. I´ve done a bit of seo-fixes on the different theme-pages. Could be thet i messed something up. Don’t know…

    Thread Starter MattiLoveall

    (@mattiloveall)

    Ok. So I chanched theme and now it´s working like it should. Don´t know what went wrong.

    thank you for a great plugin and for all help:-)

    Hi, i have the same issue with the <span .. code on my archive pages/categories.

    I’m using the genesis theme from studiopress together with different themes, based on genesis.

    in all genesis themes appears html code, like…

    <span class=”rating-result after_title mr-filter rating-result-262″ itemscope itemtype=”http://schema.org/Article&#8221; ><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-o mr-star-empty”></i>

    … in the titles from the posts.
    What can i do?

    Please help.
    Thank you
    Stephan

    The error appears only when I use the Genesis widget “Genesis featured Posts” on Frontpage, not on categories and archives…..

    Plugin Author dpowney

    (@dpowney)

    Hi there,

    I think to resolve this error it requires a theme change as described in FAQ & Issues here http://danielpowney.com/docs/faq/ under
    “HTML appears broken e.g. 4.35/5(3)”>Hello World”.

    Unfortunately this is not something Multi Rating can fix. I’m sorry about that. You could change the auto placement of rating results to before post and it might fix the issue.

    Thanks,
    Daniel

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Not working on posts (only pages)’ is closed to new replies.