Which shortcode to use to show like example page: http://wpleaders.com/plugins/

Front Support Plugins Support WP Reviews Plugin Which shortcode to use to show like example page: http://wpleaders.com/plugins/

This topic contains 13 replies, has 6 voices, and was last updated by  Hesham 3 years, 7 months ago.

  • Author
    Posts
  • #2294

    Matt Etheridge
    Participant

    Hi Hesham,

    Just wondering which shortcode (or code?) to use to show the ratings like you’ve shown on your test site on this page: http://wpleaders.com/plugins/

    … I tried using the recent_reviews shortcode, but it just shows a link and nothing else – is this right?

    Thanks!

    Matt.

  • #2295

    Hesham
    Keymaster

    This is a widget called the Top Rated Reviews, please find it in the WordPress widgets page.

    P.S. You may need to create a new widget area via your theme do show on top of a specific page or archive page to display this widget.

  • #2705

    Logan Thompson
    Participant

    I am trying to do the same thing. The problem however is I can’t have the widget display reviews from 1 category like that site does (i.e. on the plugins page it only shows plugin reviews). How can I get it to only show reviews from that specific category. Thanks.

  • #2709

    Hesham
    Keymaster

    On that plugin page is shows only “plugin reviews” because I have a Custom Post Type called plugins, and I set the widget to display posts from that Custom Post Type (so it’s not a category).

    I will be looking at adding categories in future update.

  • #2841

    Jamie Shiller
    Participant

    Maybe this is more of a WordPress question, but how can I get the ability to change the post type pull down option in the top rated reviews widget on specific pages and posts? It seems like you’ve had to do something similar to get the top rated reviews to show different results for “Plugins, Themes and Hosting on WpLeaders.com.

  • #2857

    Hesham
    Keymaster

    Hi Jamie, if you have created custom post types and enable them within the plugin settings, then you can do that.

    You need a plugin like Types to create Custom Post Types.

    P.S. Please, open your own/new thread in the feature.

  • #3288

    Daniel Swain
    Member

    Hi Matt or Hesham, I am trying to figure out how to get the stars posted the way you do using the short code.

    It says:

    [ratingbox id=post_id panel=yes author=no price=no modified=no published=no summary=no image=no]

    Where you replace post_id by the id of your review post.

    What is the “post_id” I’ve tried the name and link and nothings worked

    thanks,

    Dan

  • #3290

    Hesham
    Keymaster

    Hi Dan, I’ve replied to your other question in this thread.

    P.S. Please, always open a new thread for your question.

  • #3523

    John Wheeler
    Participant

    Hi Hesham,

    Just back to the original question and your answer, regarding a widget area in a page. Once I create my widget area can I specify which specific page the widget is to be displayed on and after I create my custom post types I can then specify which review posts to display, correct?

    I ask this as we currently have 3 distinct review categories and I want to set up a number of pages, each page showing, via the widget, only those reviews in that category.

    Regards

    John

  • #3531

    Hesham
    Keymaster

    Hi John,

    Yes, you create a page, then use the widget on that page, the widget will allow you to choose which category or custom post type to display reviews from.

    A better way is to add your widget at the top of the Custom Post Type Archive page, in this case if you have 3 custom post types, then you will need to create three different widget holders for each archive pages.

    I hope this makes sense.

    P.S. In the near future I will be working on a shortcode to be used instead of the widget, this will make things more easier.

  • #3533

    John Wheeler
    Participant

    Hi Hesham

    Thank you again for your prompt response!

    Yes it does make sense.

    And the shortcode option sounds fantastic, if there is anything I can do to help let me know as I think this would be a great feature for a future release.
    All the best

    John

  • #3535

    Hesham
    Keymaster

    Thanks a lot, I appreciate it.

  • #3601

    John Wheeler
    Participant

    Hi Hesham

    Just a followup
    Another way to do this without having to custom code the php file to create a widget area in page or create custom posts, would be to use the “Widgetize Pages Light” plugin from OTW Themes.

    Being a newbie, this has turned out to be a great simple solution for me, once installed and a new widget area created, I added your “Top rated reviews” widget and was able to simply add the category I wanted to display. The shortcode for the new widget area was added to my page and it displays perfectly, exactly like your page http://wpleaders.com/plugins/

    It may not have the backend versatility that some require, but it is a simple solution that other users like Matt, Logan or others could use could use to achieve the same visual results as you have.

    Reagards
    John

    • #3617

      Hesham
      Keymaster

      Thanks John for your input, I really appreciate it.

      I hope to make this more easy in the future.

The forum ‘WP Reviews Plugin’ is closed to new topics and replies.