Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!
    It’s ok, I didn’t understand that the incorrect link was the one in my template.
    I have the default permalink setting so the link in my themplate should be <a href="<?php the_permalink(); ?>&article2pdf=1">PDF Version</a>

    Thank you for the plugin, very good now.

    Hi
    I’ve the same problem, everything is fine except that
    the pdf generated is always the one of my homepage. I cleared the cache and desactivated it. Tried to change the paths

    For “PDF download redirect method” the path is now […]/wp-content/uploads/
    all permissions are given

    here is the code of my”single.php”

    <div id="content">
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <p class="postmetadata">
         <?php the_time('j F Y') ?> par <?php the_author() ?> | Cat&eacute;gorie: <?php the_category(', ') ?> |
    </p>
    <div class="post_content">
    <?php the_content(); ?>
    <br />
    <a rel="nofollow" href="?article2pdf=1">PDF Version</a>
    <div class="comments-template">
    <?php comments_template(); ?>
    </div>
    </div>
    </div>
    <?php endwhile; ?>
    <?php previous_post_link() ?> <?php next_post_link() ?>
    <?php else : ?>
    	<p>Désolé, aucun article ne correspond à vos critères.</p>
    <?php endif; ?>
    </div>
    </div>

    Thanks for your help.
    Sorry about my english

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