Support » Plugin: Print-O-Matic » Print-O-Matic – Using Target Attributes to Define What Prints

  • Resolved clhock

    (@clhock)


    I am trying to create a printable version of posts. Currently, the title is not being grabbed, only content. I have tried using target attributes, but it doesn’t seem that anything I enter into the target attributes is making a difference to what is showing up on the printed page. Is there a way I can call the title so it shows up on the printed version? Related, I would like to eliminate videos and images from the printed version if possible.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • In my case, after updating, the “Default Target Attribute” setting disappears, and even if I set it again, only Content is printed. How can this be normal?

    WordPress 6.0
    Print-O-Matic 2.1.6

    Plugin Contributor twinpictures

    (@twinpictures)

    @clhock the target being used on the link provided is the default ‘article’ and the H1 title element does not exist within.

    under the print-o-matic options page, there should be a field entitled:
    Default Target Attribute
    change this from:
    article
    to:
    .dishes_page_title, article
    and let us know how that works out fore you.

    Plugin Contributor twinpictures

    (@twinpictures)

    @shinchaya please start your own thread. Be very detailed, especially the part:

    after updating, the “Default Target Attribute” setting disappears

    updating the plugin? or saving the settings?
    the setting disappears… the field is no longer available? the value is blank? what is bing used as a value?

    All this and more can be described in your own thread. Look forward to reading all about it there.

    Thread Starter clhock

    (@clhock)

    Thank you. This solved the title issue. Is there also a way to exclude videos from the printed version?

    Plugin Contributor twinpictures

    (@twinpictures)

    Yes, if all videos are wrapped in an element with the class ofytp-cued-thumbnail-overlay, then add .ytp-cued-thumbnail-overlay to the Do Not Print Elements section of the plugin options page.

    • This reply was modified 1 year, 9 months ago by twinpictures.
    Thread Starter clhock

    (@clhock)

    I tried this but was not successful. Video image is still displaying on the print version.

    Plugin Contributor twinpictures

    (@twinpictures)

    then try using iframe as the do_not_print element.
    Regardless, this is basic CSS and is related specifically to your page and layout. We are happy to help support issues with our plugin, but CSS issues are a bit beyond the scope of our free plugin support.

    If you need a higher level of technical assistance, we do offer a very high level of support with our pro version Print-Pro-Matic.

    All the best!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Print-O-Matic – Using Target Attributes to Define What Prints’ is closed to new replies.