Conditional code AND a shortcode
-
My LMS uses a short code to display Previous/Next buttons. I DO NOT want to show these buttons on child pages for certain parents.
How can I add this code to Genesis Simple Hooks?
If I add just the shortcode,
[accessally_course_navigation prev_button='Previous' next_button='Next']
it works just fine. Previous/next buttons show on every lesson page.I must have syntax wrong or I cannot put shortcodes inside conditional statements. Is there a way to resolve this?
- The topic ‘Conditional code AND a shortcode’ is closed to new replies.