WP Print with Custom Post Types and Permalinks

You can’t use the wp_print function with both custom post types and permalinks.
You can replace the stand function with this:

<?php if(function_exists('wp_print')) { ?><a href="<?php the_permalink()?>?print=1">Print this page</a> <?php } ?>

Revisions

There are no revisions for this post.

Tags: ,

No comments yet.

Leave a Reply