Support » Plugin: PDF & Print by BestWebSoft » Hook print button to before footer position

  • kvg

    (@kevingaal2015)


    In your FAQ it says:

    in the bottom of the post or page template
    <?php do_action( ‘bwsplgns_display_pdf_print_buttons’, ‘bottom’ ); ?>

    The thing is I would like the print link button to be in the before_footer position. So do you need this ‘bwsplgns_display_pdf_print_buttons’ To hook into that position. Is that possible?

    So my question is, how can I move the print button from the button of the content to the button of the total page. (there are related products on the page through woocommerce and I would like the button to be under there).

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us.

    Our Free Pdf&Print plugin version isn’t compatible with WooCommerce. This compatibility is supported by Pdf&Print Pro plugin version – http://bestwebsoft.com/products/wordpress/plugins/pdf-print/.

    In order to add pdf/print buttons to the page before footer position, it is necessary to add the following code to footer.php file. This file is located in your theme folder.

    <?php global $post;
    if ( $post->post_type == 'product' ) {
    do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' );
    } ?>

    Sincerely,
    BestWebSoft Support Team

    • This reply was modified 2 months ago by  bestwebsoft.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.