Support » Plugin: DK PDF » I need to add more content in the PDF file

  • How can I add more content, like photos, Property details, etc. in the output PDF file?
    Click on the “Expose” button under the gallery slider

    Karl

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

Viewing 1 replies (of 1 total)
  • Just go in your themes dkpdf folder and edit the dkpdf-index.php and edit after this code:

     <body>
    	    <?php
    	    global $post;
    	    $pdf  = get_query_var( 'pdf' );
    	    $post_type = get_post_type( $pdf );
          $args = array(
            'p' => $pdf,
            'post_type' => $post_type,
            'post_status' => 'publish'
          );               
          $the_query = new WP_Query( apply_filters( 'dkpdf_query_args', $args ) );              
            if ( $the_query->have_posts() ) {             
              while ( $the_query->have_posts() ) {
                  $the_query->the_post();
                  global $post; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘I need to add more content in the PDF file’ is closed to new replies.