25 reputation
4
bio website
location
age
visits member for 3 years, 9 months
seen Oct 20 at 7:17

Feb
23
accepted How to display html in a shortcode
Jan
24
awarded  Supporter
Jan
24
awarded  Editor
Jan
24
revised getting values from a shortcode with an include
deleted 4 characters in body
Jan
24
comment getting values from a shortcode with an include
I updated my comment above with the correction on my condition. Tks
Jan
24
awarded  Scholar
Jan
24
comment getting values from a shortcode with an include
Ok In addition so your solution,I made a change in how the condition was written and now it is working. the condition shouuld have been if ($location = 'home') {$classslider = "homeslider";} Thank you
Jan
24
accepted getting values from a shortcode with an include
Jan
24
comment getting values from a shortcode with an include
yes I added it global $classslider; at the start of the included file
Jan
24
comment getting values from a shortcode with an include
Thank you for your response. When I add global $classslider and then echo out $classslider in the included file, I still don't get anything returned. I believe the included file seperate from the shortcode creation is to keep the code clean.
Jan
24
asked getting values from a shortcode with an include
Jun
26
awarded  Student
Jun
25
asked How to display html in a shortcode