• Need to print shortcode inside php file

    like this:-
    <?php echo do_shortcode(“[pcs template=’gws’ postcount=’1′ showfield=’title,thumbnail’ posttype=’article’ categories=’category$empower’ orderby=’date’ order=’ASC’ tsize=’medium’ taxrel=’OR’ pagedvar=’5a9ea2983ef14′]”); ?>

    But its returning empty value due to — ‘category$empower’

    —> ISSUE: $ inside shortcode so its not working, let know how to use it.

  • The topic ‘Need to print shortcode inside php’ is closed to new replies.