James Grove
Forum Replies Created
-
AuthorPosts
-
Ok.
Then I’m thinking I need to try modifying the plugin code so that I can add my membership checks around the existing Reviews tab.
Do you know where I would find that procedure? How could I override it with a new function, for example, by creating a child plugin, or editing the php code of the plugin?
Memberpress supports using PHP snippets to protect code:
<?php if(current_user_can(‘mepr-active’,’rule: 32171′)): ?> Content to protect goes inbetween. <?php endif; ?>So if I can find the place where the Reviews tab inserts the information, I can surround it with the PHP snippet.
Can you point me in the right direction?
Is there a shortcode to display reviews?
I want to put those on a tab, enclosed within a members only shortcode (from the Memberpress plugin). Something like this:
[mepr-show if=”rule: 32171″]
Note: This content is shown only to authorized members. It is hidden from everyone else.
[gd_post_rating]
[/mepr-show]When I test this code, it correctly protects the content from unauthorized users. However the gd_post_rating shortcode is only returning the overall star rating, and a clickable text link “1 Review”.
Is there a way to put in the multi-star ratings and reviews, like I can see in the default “Reviews” tab? I’m looking for a more detailed Reviews shortcode.
Here are some screenshots of what I see…
Aha – I didn’t realize I could customize the tabs.
So I am trying to add a new “shortcode” tab that I will use instead of the “Reviews” tab.
I add the new field, and I get a place where I can enter tab content.
What shortcodes can I use there?
When I click the button next to “Tab Content” a dialog box appears, but it is empty. (I was expecting to see a list of shortcodes, but I could be wrong.)
I want to add a shortcode that just puts the Reviews field in the tab. And if it’s possible, I’d like to have “Read Reviews” and “Add a Review” in separate tabs. Do they have separate shortcodes, by chance?
Thanks
James GroveBy the way:
You can see my directory here:
https://skidawaytimes.com/businesses/I’ll chime in that I’m seeing the same message. It’s not a critical problem, but it is the kind of bug that will make people stop claiming the listing since they think “Wait a minute! You said this was free!”
So I hope it’s fixed or clarified soon. Thanks!
March 26, 2019 at 5:55 pm in reply to: Can we still put a business listing into multiple categories in V2? #476536Okay – I found the setting you referred to under:
Businesses -> Settings -> Custom Fields -> Category -> Show Advanced -> Category Display Type
It was set to “Select”
I changed the setting to “Checkboxes” and now I have a list of all the categories and subcategories that I can choose from. Now I can choose more than one; and also I think this is a much better interface.
As to how it happened, I don’t think I changed the Category Display Type setting, unless it was something that came up during the migration process. Is it possibly a migration bug?
Thanks for helping me fix it.
-James
That seems to have resolved the issue.
Was it something I did, or is it a bug in the migration process?
Thanks for your help
JamesThis reply has been marked as private.This reply has been marked as private.I’m having the same issue.
GeoDirectory and Yoast are adding a lot of items to the breadcrumbs that I don’t need (Country, State, City), and there doesn’t seem to be any way to turn them off.
I get that it’s an interoperability issue, but your documentation suggests adding Yoast breadcrumbs, so it’s not appropriate to just say we need to ask Yoast to fix it.
https://wpgeodirectory.com/docs-v2/integrations/yoast/#breadcrumbsIt’s also pretty basic functionality that all your users need and all the end-users expect to see. So I think a little focus on this issue is warranted.
Thanks
JamesJune 28, 2018 at 7:10 pm in reply to: How to Control the Number of Listings Shown on a CPT Home Page #436496Okay. I found it.
I’m using the Extra theme from Elegant Themes. In the Theme Options it has settings for:
- Number of Posts displayed on Archive pages
- Number of Posts displayed on Search pages
Those two settings are controlling the number of entries seen on the home pages (and on the directory sub-directory pages, too), and the number of entries returned on the search pages.
So I’ll work with those settings now.
Thanks
James GroveJune 28, 2018 at 6:47 pm in reply to: How to Control the Number of Listings Shown on a CPT Home Page #436492Nope. That did not change anything. I changed the setting to 15, but I still see just 10 businesses per page.
Thanks – that appears to have fixed it.
After copying those changes, I’ve copied all of production over to staging so it’s back up to the most current configuration.
I’ll let you know if I encounter anything else.
Here’s a thought…
I see that the tag: geodir_wrapper_open
has
<div id=”main-content”>
<div class=”container”>while the tag: geodir_wrapper_close
has
</div>
</div>
</div>So is that a mismatched number of <div> and </div> tags?
Not sure if that’s really the issue, but it seems odd.
-
AuthorPosts