• Resolved robertfilatow

    (@robertfilatow)


    I disabled the entry title in the theme. Then I had to disable it in the Pluging because he showed it anyway.
    Now If i print a page, it shows the correct print, but after printing the title gets activated in the theme again by the plugin.

    First I’d like to know why it’s doing it(because of curiosity)
    and Second, how do I fix it?

    http://neu.saxxess-partyband.de/neuigkeiten/
    Scroll to the botton and klick on “Drucken” to experience the bug.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Wow, ok..

    So on the Neuigkeiten page, before the page is printed, which title exactly is suppose to be disabled in the theme (and subsequently brought back from the dead like a zombie HTML element after printing)?

    And once the title is re-activated, is this just for the current session, does it go away after page reload, or is it actually magically re-inserted in the theme. Because that is highly irregular.

    Regardless, once we understand the issue, we will absolutely help you figure out why (also due to curiosity) and also suss out a fix.

    Thread Starter robertfilatow

    (@robertfilatow)

    Thanks for the quick answer.

    The disabled title is the .entry-title
    Loading the page again solves the issue.

    After starting the print plugin you can scroll back up to see that the .entry-title is displayed again and pushes the layout out.

    • This reply was modified 8 years, 4 months ago by robertfilatow.
    Plugin Contributor twinpictures

    (@twinpictures)

    Ah ha! ok, the reason for this is you have .entry-title set as a do_not_print element. This assumes that it is visible on the display page, so it’s simply returning it to display-block after print.

    Remove .entry-title from the do_not_print section and change the target from article, .main-content to simply:
    .entry-content

    Let us know if that resolves the issue for you.

    Thread Starter robertfilatow

    (@robertfilatow)

    Awesome, solved the problem.
    Thanks a lot!

    Plugin Contributor twinpictures

    (@twinpictures)

    That’s we we like to hear!
    If you are happy with the plugin or its support, please consider leaving a little review!
    Issue marked as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin displays disabled Title after printing’ is closed to new replies.