Create shortcode in functions.php file

By admin / 2:09 am, 6 Mar 2016 / Wordpress / 0 Comment

First create custom shortcode on theme functions.php file with below code , after that Call this shorcode in your template file :- <?php echo do_shortcode("[tg_show_pages page_ids='9,11,13,15']"); ?>

Previous Post
Next Post