swaip
Forum Replies Created
-
Though I did not find the cause, the issue is resolved.
I found a solution by using “User Role Editor” plugin. I added “admin” in the list of user types to be displayed by the plugin. In the subsite, I filtered capabilities by searching for “pods” keyword, and I added all the resulting capabilities to the admin role. This result in the admin displaying correctly all the PODS.
Also, the entire PODS Admin menu does not appear for site admins, but again only for network super admins
It’s public, publicly querable, and query var is on. Did not touch these settings as far as I can remember.
Let’s see if Polylang has something to say too…
I actually wrote on Polylang forum too, since I cannot say what’s the cause of the problem.
But this WordPress was a clean slate, a portfolio with just this CPT, so I guess not much would change if I redo the installation.
As for the capabilities, where should I look into ? I was the only (originary) administrator user.
Hi Jory,
If you mean PODS Rest Api for this CPT here are my settings :
Hi Jory, and thanks for writing back.
The only other plugin I have is WP Migrate Lite. I will deactivate it and retest this, although I can hardly imagine this can be the origin of the problem.As soon as I migrate the site to production I can give you access to the test site, if you’d like to see for yourself.
Anyway, thanks for your answer !
IMPORTANT FOLLOW-UP: I can still create tags from Posts > Tags or Projects > Tags in English, translate them into French and they WILL appear in French to be selected. But if I try to create a NEW tag inside the project in French, it will never work.
IMPORTANT FOLLOW-UP: I can still create tags from Posts > Tags or Projects > Tags in English, translate them into French and they WILL appear in French to be selected. But if I try to create a NEW tag inside the project in French, it will never work.
WRONG PLUGIN, sorry, it’s NOT about TranslatePress. Don’t know how to remove the comment.
IMPORTANT: the language plugin is POLYLANG, and NOT TranslatePress.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Warning: Undefined array key “active”Sorry for the mix up !
THANKS!
That was exactly the function I was searching for. I then made an in_array check for the user role inside the allowed roles and a wp_redirect if not allowed.
Works like a charm, I don’t understand though why this is not the default behaviour of the plugin.Thanks again !
Hi,
and thanks for your answer.
Actually I am trying to understand if there’s any function that returns the list of authorized roles for the current page so that I can check if the current user role is in the array of authorized roles for the page.
Another way around that would be to add a custom capability and then check for that capability, but I still don’t understand if it’s possible to add custom capabilities in Members.
Thanks !
Thanks for your answer !
In the end I decided to switch to simple categories, easier to search for brand (I couldn’t find any product from a brand if I searched for the brand name).