• Resolved danielpromodigi

    (@danielpromodigi)


    Hi there,

    I have a page that displays a list of user favorite posts, which they can print all at once if they choose to, but I would like to allow them to select which ones out of that list they would like to print at a particular time.

    I tried adding the “.noprint” class to the posts so none of them would print unless selected, but I don’t know how to toggle the class from “.noprint” to “anything” so that only the toggled posts would print. I tried using javascript and jquery to toggle the class but wordpress do not change the name of the class…

    Any suggestions?

    Thanks,

    Daniel

Viewing 1 replies (of 1 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    This is beyond the scope of plugin support, but we’ll point you in the right direction.

    First will want to create a jQeury function that allows the user to select (toggle on/off) which posts to print. This will basically toggle on/off a class (such as ‘selected_post’) assigned to the div element that wraps each of the target posts. Once you have this built, you simply need to target the .selected_post class and you are golden.

    If you would like us to set this up for you, we would be happy to as part of the next-level support offered with print-pro-matic.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Print Only Selected Posts’ is closed to new replies.