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

  • Resolved kvg


    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



    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 –

    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' );
    } ?>

    BestWebSoft Support Team

    • This reply was modified 1 year, 6 months ago by  bestwebsoft.
Viewing 1 replies (of 1 total)
  • The topic ‘Hook print button to before footer position’ is closed to new replies.