[ad_1]
Hello,
First of all thanks to the dev for this amazing plugin!
I’m managing an online math lessons website for French students. As you imagine, there are a LOT of plans, I think I have 34 separate plans so far, so this may be the source of my problem, I don’t know.
So my problem is : I’m trying to make a webpage with the list of lessons that an user might have, depending on what plans he has purchased.
The solution I found was to just make a list of every chapter, and use the [arm_restrict_content] shortcode accordingly to show some parts of the list to users having corresponding plans.
But then, I need the shortcodes to be “nested” somehow, but it doesn’t seem to work. I can provide screenshots or code if I’m not being very clear.
Please note that I cannot use that with type=”hide” argument because users can purchase multiple plans: it would cause users having purchased, say, plan 3 and plan 5, to be able to see ONLY content belonging to BOTH plans. At least that’s how I understand conditional logic.
So, about “nesting” the shortcodes, I mean like that :
[arm_restrict_content plan="...", type="show"]
Name of class #1
[arm_restrict_content plan="...", type="show]
Name of subject + list of lessons
[/arm_restrict_content]
[arm_restrict_content plan="...", type="show]
Name of subject + list of lessons
[/arm_restrict_content]
...
[/arm_restrict_content] //End of class 1
[arm_restrict_content plan="...", type="show"] //Start of class 2
Name of class #2
[arm_restrict_content plan="...", type="show]
Name of subject + list of lessons
[/arm_restrict_content]
[arm_restrict_content plan="...", type="show]
Name of subject + list of lessons
[/arm_restrict_content]
...
[/arm_restrict_content]
Etc...This doesn’t seem to be working. Is it me, or are those shortcodes not intended to be nested like that?
Thank you!
The page I need help with: [log in to see the link]
