Support » Plugin: Rate My Post - Star Rating Plugin by FeedbackWP » How i managed to work with SoftwareApplication

  • Resolved Rafalor

    (@rafalor)


    Hi there, Blaz, i just want to share how i make it work the 100% of the structure data with SoftwareApplication (and work’s for all other types).

    I’m using Rate My Post now only to collect the votes, the SEO i leave to the new plugin i’m using now (Rank Math).

    This plugin is more complete than Yoast SEO premium that was using, and it work’s really good for Schema Types, but in an odd way that you need to insert manually the votes like this: https://drive.google.com/file/d/1D6MpMRgNvBs9tildFngX27LafeMELIOA/view

    So what i done is to vinculate your plugin with Rank Math for that matter. And it is working greatly. Not only i do not need to insert the votes manually, but they get updated everytime one new vote is added from an user in the post.

    Have a look: https://search.google.com/structured-data/testing-tool?hl=pt-BR#url=https%3A%2F%2Fwww.baixesoft.com%2Fdownload%2Fbematool

    This is the code that i puted in functions.php

     add_filter( 'rank_math/snippet/rich_snippet_software_entity', function( $entity ) {
        $entity['aggregateRating'] = [
    	'@type'       => 'AggregateRating',
    	'ratingValue' => rmp_get_avg_rating(),
    	'bestRating'  => '5',
    	'worstRating' => '1',
    	'ratingCount' => rmp_get_vote_count(),
        ];
        return $entity;
    });

    I also needed to deactivate some options in the Rate My Post pannel, like rich snipets and others that is now managed by the SEO Plugin.

    The only negative side is that i’m having to update all the posts to put the other data manually like operatingsystem, applicationcattegory and price, but that is no problem.

    I just wanted to share this here with you and with all other user’s that may need this.

    • This topic was modified 4 years, 4 months ago by Rafalor.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Blaz K.

    (@blazk)

    Thanks for sharing this @rafalor! I appreciate it. If you agree, I’ll put this in documentation?

    Blaz

    Thread Starter Rafalor

    (@rafalor)

    Of course! I will be happy with that. I beliave that is a perfect SEO Schema solution and it will hep other’s for sure!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How i managed to work with SoftwareApplication’ is closed to new replies.