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 9 years, 3 months ago by
Nazmul Ahsan. Reason: gist url added
-
This reply was modified 9 years, 3 months ago by
Nazmul Ahsan.
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
Regarding you first question- yes, possible. And thank your for your idea, we’ll keep it in mind.