multiple pages
-
hi..
i want different review “forms” & “summaries” & “latest reviews” for 2 different pages on my site.how do i achieve this functionality?
kindly state solution step-by-step
The page I need help with: [log in to see the link]
-
You can auto-assign your reviews to categories and/or pages.
Assign to category example:
[site_reviews_summary category=hotels] [site_reviews category=hotels] [site_reviews_form category=hotels][site_reviews_summary category=apartments] [site_reviews category=apartments] [site_reviews_form category=apartments]Assign to current page example:
[site_reviews_summary assigned_to=post_id] [site_reviews assigned_to=post_id] [site_reviews_form assign_to=post_id]Please see the Help > Shortcodes page to learn more.
i don’t use posts on my site, pages rather.
i hope this works!
thanks for replying though
A “Post ID” is the same term for pages, posts, and any custom post type. “page” is a WordPress post_type. You can assign reviews to anything with a post_id. The post ID simply refers to the primary key for the post type in the database.
You can use the above example to assign reviews to the current page, be that a post, a product, a page, etc.
Please see the Help > Shortcodes page which explains the assign_to and assigned_to options in more detail.
[site_reviews assigned_to=”996″]
is this example correctly structured?
If you are assigning reviews to the same page that the review form is on, you can do
[site_reviews_form assign_to=post_id]
And Site Reviews will automatically use the Post ID of the current page without you having to enter the actual numeric post ID.
Same goes for the reviews, if you are displaying the reviews on the same page that the reviews are assigned to, you can do
[site_reviews assigned_to=post_id]
If not, then you will need to use the actual numeric WordPress post ID of the page as you have done.
THANKS!
it worked!
great plugin, by the way!
hi..again!
how do i remove ” review of “page” ” tag in approved reviews?
Please look at the settings, there is an option to enable/disable the assigned to links.
ok. thanks!
how can i change the colour and style of the “submit your review” button?
You can first try changing the “plugin style” option in the settings to match the form style of various plugins you may have installed (i.e. Contact Form 7). If that does not give you the results that you are after, you will need to add your own custom CSS to change the button style.
See also: https://wordpress.org/support/topic/custom-css-222/#post-11300762
hi..
where do i add the css?WordPress > Appearance > Customize > Additional CSS
ok thanks!
can you give me a sample code, so that i can edit, please?
Something like this:
button.glsr-button { background-color: pink !important; transition: background-color .25s ease-in-out; } button.glsr-button:hover { background-color: cyan !important; }-
This reply was modified 5 years, 9 months ago by
Gemini Labs.
Hi,
Just reviving this thread, as I have the same issue, but haven’t managed to find a fix for it.
Basically I have the reviews widget set up on multiple different pages on the website. When a person leaves a review on one of those pages, I want the review to only be applicable to that page, but not to any of the other pages. However, when I test this by leaving a review on one of the pages, that review updates to all the other pages too.
The short codes I have used on the page are;
Summary:
[site_reviews_summary assigned_to=post_id, site_reviews_summary hide=”bars,summary”]Review Form:
[site_reviews_form assign_to=”post_id”, site_reviews_form hide=”email,terms”]Reviews:
[site_reviews assigned_to=”post_id”, site_reviews display=”2″, site_reviews fallback=”<center>There are currently no reviews submitted.<br><br><br>So why not be the first?</center>”, site_reviews pagination=”ajax” count=2, site_reviews schema=”true”]Any help as to where I’m going wrong would be greatly appreciated.
-
This reply was modified 5 years, 9 months ago by
The topic ‘multiple pages’ is closed to new replies.