• Resolved billiardgods@gmail.com

    (@billiardgodsgmailcom)


    Several shortcodes are always included at the bottom of every post. When the PDF/Print dialog (lightbox) shows results/excerpts from these shortcodes.

    As is – users are forced to delete an excessive number of images (from the shortcodes) before they get a usable document.

    Can images/text results generated by shortcodes be automatically excluded?

    https://wordpress.org/plugins/cleansave/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author johncadams

    (@johncadams)

    Are you referring to the CleanSave short code? If so these should have been replaced with the button(s).

    Thread Starter billiardgods@gmail.com

    (@billiardgodsgmailcom)

    Cleansave is installed with “Post” only.

    Please see this link:
    http://www.billiardgods.com/awap-5-withstand-brunt/

    Click the “PDF” button (upper right).

    All images from the two short-codes (at bottom of post) are shown in the PDF review page.

    Is there ANY way to exclude images generated from short-codes within the posts?

    Plugin Author johncadams

    (@johncadams)

    They are ways to markup the HTML such that CleanSave will exclude those elements from its output by adding a class name The image HTML generated from short codes cannot be tagged without edited that plug-in.

    Thread Starter billiardgods@gmail.com

    (@billiardgodsgmailcom)

    Apologies, but I’m ignorant on classes and the concepts of use.

    I like the elegant solution you created, but it is impractical for use on ANY post with short-codes.

    This appears to be a common problem that severely affects use.

    Is it possible, on the initial parse of the page, to recognize short-codes (by the brackets) – and exclude their results/affects from the rendering engine?

    And if that isn’t feasible, provide in your download, in the setup/configuration, the instructions to add your suggested class that would make these exceptions?

    Or, in the app, allow the user to enter a listing of short-codes to be excluded from the rendering engine?

    Plugin Author johncadams

    (@johncadams)

    WordPress’ short codes are a convenience mechanism converting simple square bracket-based text into far more complex HTML that a web browser (and CleanSave) processes. The only way to accomplish what you’ve proposed is to edit the associated plugin changing the transformation process.

    Not a job for anyone other than a HTML/WordPress developer.

    Thread Starter billiardgods@gmail.com

    (@billiardgodsgmailcom)

    Explanations are fine. But this is a situation that either needs a solution, or a declaration that it can’t be done.

    Plugin Author johncadams

    (@johncadams)

    YOU must remove the short code.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shortcode results showing up in Print/PDF lightbox layout’ is closed to new replies.