[Plugin: Meteor Slides] Conditional statement
-
Is it possible to create a conditional statement that will display a default slideshow if none is selected.
Currently I’m auto filling the category slug like so:
<?php if (is_category( )) { $cat = get_query_var('cat'); $yourcat = get_category ($cat); } ?> <?php if(function_exists('meteor_slideshow')) { meteor_slideshow(".$yourcat->slug .", ""); } ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Meteor Slides] Conditional statement’ is closed to new replies.