Support » Fixing WordPress » [Plugin: article2pdf] Problem between post / “Sidebar post widget”

  • Hi, first thank you for this great plugin.

    I have an issue :
    I got always the “same” pdf in every post/Article.

    In my opinion (and i don’t analyse your code) the problem is that article2pdf take the “post” from the post widget on my sidebar.

    if you want to watch what is going exactly :

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • If it shows the same pdf anytime I made the experience, that your link for pdf generation is not correct. Please check the faq and play with the link that leads WP to create the pdf file.

    If you wan’t to check if it really is a problem with the sidebar widget, deactivate the widget and try again – if you get the same pdf as before, it’s a problem with the link, surely.


    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(', ') ?> |
    <div class="post_content">
    <?php the_content(); ?>
    <br />
    <a rel="nofollow" href="?article2pdf=1">PDF Version</a>
    <div class="comments-template">
    <?php comments_template(); ?>
    <?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; ?>

    Thanks for your help.
    Sorry about my english

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: article2pdf] Problem between post / “Sidebar post widget”’ is closed to new replies.