RunningSocks
Member
Posted 2 years ago #
I want to print a single ticket page/post.
i installed the plugin "wp-print" from lesterchan for printing posts or pages.
but how to integrate the "<?php if(function_exists('wp_print')) { print_link(); } ?>" command, to print also tickets? i can integrate the command in wats/theme/single-ticket.php under row 5 ("if (have_posts()) : while (have_posts()) : the_post(); "), but printing these tickets i get an error "Error 404 - Not Found".
Some help for me?
http://wordpress.org/extend/plugins/wats/
firebird75
Member
Posted 2 years ago #
I would try to put it in the <p class="postmedata alt"> section as a try. Please don't forget that any change performed to single-ticket.php will be overriden upon new release download so you need to make a copy of this file to your own theme directory.
RunningSocks
Member
Posted 2 years ago #
i tried it, but i get the same error as below.
i know about the difficult on new releases. normaly the wp-print command is integrated in single.php or page.php of the wordpress theme. but the single-tickets are no normal posts. so i tried to workaround.....
is there another way to print single tickets in a friendly way?
firebird75
Member
Posted 2 years ago #
Well I guess this should be an interworking problem with custom post types and wp-print. Do you know if it can support custom post types?