Displaying short code in template php
-
Have no idea why this isnt working
<?php if ( is_home() ){ $args=array( 'showposts'=> (int) get_option('inreview_homepage_posts'), 'category_name' => <?php echo do_shortcode('[mmjs-city]') ?> ); query_posts($args); } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Displaying short code in template php’ is closed to new replies.