Okay
  Public Ticket #3060575
Print or create pdf
Closed

Comments

  •  3
    InsideMT started the conversation

    Hello,

    This site uses the Salient Theme with WPBakery.

    We have a Mental Health Resource Guide of all 56 counties in Montana, we would like to provide the option for people to print these pages.

    https://namimt.org/montana-county-mental-health-resource-guides/

    I have sampled just about every print or pdf plugin I can find and none really work correctly to capture the page or they are just way too expensive for our budget.

    Many just print all the WPBakery or Nectar formatting code or won't show multiple columns or can't show the images or something that makes them not work for this situation.

    Do you know of a print or pdf plugin or set of code that works best for Salient Nectar and WPBakery?

    Any help will be appreciated.

    Thank you.









  •  279
    Noah replied

    Hi there,

    We do not have a recommended plugin for printing pages to PDF.

    Could you maybe try the ones listed here https://betterstudio.com/wordpress-plugins/best-wordpress-print-and-printer-plugins/

    And what specific page are you trying to print or convert into a PDF?
    Thanks

  •  3
    InsideMT replied

    Trying to make all 56 pages in this directory printable.

    https://namimt.org/montana-county-mental-health-resource-guides/


    So this is one example:
    https://namimt.org/montana-county-mental-health-resource-guides/glacier-county-mental-health-resource-guide/

    I will check those plugins out and let you know how they work.


    Thanks

  •  3
    InsideMT replied

    I tried the plugins, all of them are either too expensive per month or they don't work with Salient or WPBakery.

    I created a custom print style sheet. 

    How can I save and reference it while using Salient so it doesn't get overwritten with theme or wordpress updates?

    Thank you.



  •  1,877
    Judith replied

    Hello There,

    Please allow me to escalate this to the developer to respond further.

    Thanks.

  •  1,070
    ThemeNectar replied

    Hey InsideMT,

    You can enqueue your custom stylesheet via the child theme to keep it separate from the parent/persist through future updates. In your child theme functions.php file, you can add the following snippet:

    add_action( 'wp_enqueue_scripts', 'salient_child_enqueue_print');
    function salient_child_enqueue_print() {
       wp_enqueue_style(  'salient-print',  get_template_directory_uri(). '/print.css', array(), '1', 'print' );      
    }
    

    That snippet will load a stylesheet called "print.css" that exists in the root of the child theme.


    Kind regards,