Support » Fixing WordPress » How to disable article2pdf on one post/page?

  • Hi!
    I’m using article2pdf (latest version on WP 2.7.1 in Spanish) and it works fine by now.
    But I want to hide the link on certain pages, like “Forums” (which includes Simple-Press Forum) or “Contact” (cForms plugin).
    I’d like to know how that could be done.
    I should add that the only page in which article2pdf fails is in the Forums, but I suppose this is because it’s not actually a page, but the Simple-Press Forums plugin.
    So… any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Hi!
    You had to embed that with PHP code into your theme.


    if( $post -> ID != 11 )
     echo '<a href="?article2pdf=1">Get PDF</a>";

    This is an example! Not working code… (11 = your post/page ID where the link NOT should be printed…)

Viewing 1 replies (of 1 total)
  • The topic ‘How to disable article2pdf on one post/page?’ is closed to new replies.