[Plugin: Promotion Slider] getting category variable in hard code
-
Hello people.
I’m using this hardcode im my “Purity Theme” to call “Promotion-Slider” in my “single-portfolio.php” template:<?php echo do_shortcode(‘[promoslider category=”rings” width=”662px” height=”441px”]’); ?>
But, it’s a jewelry site and I have others categories to show like necklaces, earrings, bracelets, etc. So, I can’t put just one category name in my hardcode. I need to put a variable to get the right images from category that users chosen, so my code looks like this example:
<?php echo do_shortcode(‘[promoslider category=”GET_PROMO-SLIDER_CATEGORY” width=”662px” height=”441px”]’); ?>
I’m not a programmer and don’t know how to do this. Could anyone show me a way to get the right categorry chosen by the user.
Thanks a lot.
Luis Fernando
http://ww.wp.xz.cn/extend/plugins/promotion-slider/
[ Please do not bump, it’s not permitted here. ]
The topic ‘[Plugin: Promotion Slider] getting category variable in hard code’ is closed to new replies.