• Resolved linus1994

    (@linus1994)


    Hello!

    First off, this plugin has everything i want in a product review. Beautiful!
    I wish to use this plugin on a “Page” instead of a “Post”, and preferably instert a shortcode for the review, so i can put it inside a block.

    Are there shortcodes? Can i use the plugin on pages?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nazmul Ahsan

    (@mukto90)

    Hello linus1994,
    we have our plans to add both features in next version release.
    For shortcode, there will be a shortcode generator in post/page edit screen.
    And for choosing post/page etc, we are adding a new field in the option page to set either you want to enable reviews on Posts, Pagesor Custom Post Types.

    For now, you can use this small piece of code in your funcions.php file or even use this as an add-on of the plugin. It’ll enable review on pages and you’ll get a shortcode [product_review]. To show a specific review, use [product_review id="123"], where 123 is the post/page ID.

    Download if from here and install as a plugin- https://gist.github.com/mukto90/d6fe04f713d974dee4c416237c88738b

    Hope it helps. Thanks.

    • This reply was modified 8 years, 1 month ago by Nazmul Ahsan. Reason: gist url added
    • This reply was modified 8 years, 1 month ago by Nazmul Ahsan.
    Thread Starter linus1994

    (@linus1994)

    Hello Nazmul!

    It’s working exactly as described! I can add reviews to posts and use the shortcode. Thank you veeery much!

    One minor problem and one idea that came up:
    1. When the Product Review Hack is activated, the Product Review Settings disappear from the Post editor. The review is still visible, but it is not possible to edit. By de-activating the product review hack, it is again possible to edit the product review settings!

    2. Just an idea, maybe the plugin should have its own editor, where you dont need to put the review on a post or page. Like the plugin “Tables by Supsystic”. This would allow you to add multiple reviews on one page, and also you dont need to make a post/page with the review, if you only want to use the shortcode.

    Just some ideas on how to make the plugin even better! It allready works really amazing, will be using this on my website from now on ??

    Thanks so much.
    Linus

    Plugin Author Nazmul Ahsan

    (@mukto90)

    Regarding you first question- yes, possible. And thank your for your idea, we’ll keep it in mind.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode’ is closed to new replies.