Shortcode doesn't work
-
I followed the instructions by adding the code to my template file:
<?php add_shortcode('cleanprint_print_button', 'get_cleanprint_print_button'); function get_cleanprint_print_button() { if( function_exists('cleanprint_add_print_button') ){ return cleanprint_add_print_button(); } } ?>
and the shortcode to the page I want the buttons on:
[cleanprint_print_button]
but the page just shows the shortcode as it appears in the editor, no buttons. The buttons appear if I active ALL PAGES to have the buttons, but I only want 1 page to have the buttons.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Shortcode doesn't work’ is closed to new replies.