Support » Plugin: PDF24 Article To PDF » Display Post Title Just Once

  • Resolved morollian

    (@morollian)


    Hello!

    I’ve tried to use only some parts of my posts to be printed in the PDF document. I’ve used the code in my template file as I understood when reading the pluggin documentation:

    <?php pdf24Plugin_begin(); ?>
     Some content I want to display in the PDF
     <?php pdf24Plugin_end(); ?>
     Some content I don't waant in the PDF
     <?php pdf24Plugin_begin(); ?>
     Some more content that I want in the PDF
     <?php pdf24Plugin_end(); ?>
     <?php pdf24Plugin_link(); ?>

    It is working, but for each of the diferent parts I add to de PDF, the article title Is displayed. I guess this is happenig because the plugin understands every begin-end as a diferent entry.

    I would like the title to be displayed just once, on top of the document, and then just add the content I want.

    Is there any placeholder I can use in the “Custom document template” so I can delete {title} from “Custom document entry template”?

    Thanks a lot!

    http://wordpress.org/plugins/pdf24-post-to-pdf/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pdf24

    (@pdf24)

    I think this is currently not possible. There is no break element to break the begin/end. Each begin generates a new element with the title.

    There is also no title placeholder in the Custom document template context because this belongs to an element. Think that we have to implement a breakBegin and breakEnd call, that would work. I’ve added this point to the TODO list.

    Tanks for your help and for this great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Post Title Just Once’ is closed to new replies.