Why are PDF & Print buttons not displayed in the custom post type?

If PDF & Print buttons are not showing in your custom post types, follow these steps to make them appear.


1. Check plugin settings

Free Version

  1. Go to PDF & Print → Add Button To.

  2. Make sure the checkboxes for the necessary custom post types are enabled.

  3. Click Save Changes.

Pro Version

  1. Go to the Display tab.

  2. Make sure the custom post types you want are selected under PDF and Print options.

  3. Click Save Changes.


2. Check the front end

After saving, visit the pages of the selected post types on your site and see if the buttons are displayed.


3. Troubleshoot conflicts

If the buttons still do not appear:

  1. Switch to a standard WordPress theme temporarily (e.g., Twenty Fifteen or Twenty Sixteen) to see if the theme is causing the issue.

  2. Deactivate all plugins except PDF & Print, then check again.

    • If the buttons appear, reactivate your plugins one by one to identify which plugin causes the conflict.


4. Add buttons in custom templates

If you are using a custom post or page template, you need to insert the following PHP code to display the buttons:

  • Top of the post/page template:

 
<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' ); ?>
  • Bottom of the post/page template:

 
<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>

You can also specify query parameters to target a specific post type or order:

 
<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom', 'post_type=gallery&orderby=post_date' ); ?> <?php do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom', array( 'post_type'=>'gallery', 'orderby'=>'post_date' ) ); ?>

Tip: Always save changes in the plugin settings and refresh your page after modifying templates or settings.

This article related to PDF & Print by BestWebSoft plugin

Additional resources: PDF & Print - User Guide

Still need help? Feel free to contact our friendly support team. Create a private ticket 

Have more questions? Submit a request