Forums

Custom Print Template (7 posts)

  1. dcooney
    Member
    Posted 8 months ago #

    Anyone know of a quick and simple way of creating a custom print page template?

    For example print.php?id=3625

    I'm looking to create a very basic, no styling print page for recipe posts. Im hoping to not have a need for a custom print style sheet.

    Can I pass the recipe via querystring to the print page? and then just display the_title() and the_content()?

    thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Try creating a print.css file.

  3. dcooney
    Member
    Posted 8 months ago #

    Sorry, thats what I don't want to do.
    The client wants to click 'print page' and get taken to a separate, not syled page where the user can then print.

    The un styled page will only have the_title() and the_content() along with a PRINT button

  4. pixelnate
    Member
    Posted 4 months ago #

    Did you ever come up with a solution for this dcooney? I want to do something similar, like how they do print template on tastykitchen.com . The print layouts are completely separate files.

  5. dcooney
    Member
    Posted 4 months ago #

    @pixelnate no i did'nt.
    Just heavily customized a print stylesheet.
    Did not have the budget to pursue this any further

  6. pixelnate
    Member
    Posted 4 months ago #

    I found this link that looks promising. I'll be trying it out this weekend, and will report my findings.

  7. Chip Bennett
    Member
    Posted 4 months ago #

    @pixelnate:

    The WPSE answer you linked was going to be the method that I recommend: register a query variable, and then do a template_redirect based on that query var.

Reply

You must log in to post.

About this Topic