visible only when two or more conditions are all matched
-
Hi,
Your plugin is really useful. Thank you very much.
I tried what I wanted after I installed it. However, it didn’t work.
(Note, I hope you understand my poor English.)The situation is like this.
1. My custom post type is ‘listings All’
2. Categories have A, B, C…
3. Regions have a,b,c…
4. There is a user whose user name is ‘Tom’.
5. I set the access condition to ‘listings All(no select) and A(category) and a(region) ‘ and set the accessible member to ‘Tom’.
6. That is, the conditions are set to at least two (‘category and region’).I have a few questions.
1. I think that listing where all the above conditions (‘All – A – a’) are met is accessible only to Tom. That is, Tom can only be accessed if all of the above conditions are met. Is it correct?
2. I think ‘All – A – b’ listing is accessible to anyone because it does not match the above conditions. Is it correct?
3. If, above 1 and 2 are correct, I’m not working that way.
4. In my case, if the condition is ‘All – A – a’ then listing with the category set to ‘A’ becomes invisible to all other users. Only Tom can see. (regardless of region setting(ex: b, c…))
5. In addition, listing with region set to ‘a’ will not be visible to all other users. Only Tom can see. (regardless of category setting(ex: B, C…))
6. It seems to have the same effect as setting ‘or’ rather than ‘and’.
7. After a few checks, I found out that the two conditions of category and region do not apply. This is because it worked well if only the category (‘All – A’) and region(‘All – a’) were set.
8. I tried setting ‘(category and tag)’ additionally by changing the settings, but it was the same as well. That is, more than two conditions did not work.
9. I have seen the instructions on your site and tried many times, but it didn’t work. (‘Limit access to contexts – mixed conditions’)10. I would like to make the list visible only when two or more conditions (‘category, region, tag, author…’) are all matched. And, if only one is not met, I want to set a listing that everyone can see.
11. Did I fail to set it up? Or is there another problem?
12. If there is a way, I want you to let me know.I want your help.
Thank you.
- The topic ‘visible only when two or more conditions are all matched’ is closed to new replies.