Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function footag_func( $atts ){
- return "test shortcode";
- }
- add_shortcode('footag', 'footag_func');
- <?php echo do_shortcode("[footag]"); ?>
- <?php echo apply_filters('the_content',$post->post_content); ?>
Add Comment
Please, Sign In to add comment