[Plugin: PDF24 Article To PDF] Include and exclude categories
-
First of all: Thanks for the great plugin. It does a magnificent job! I would like to use the LINK option. This would make including and excluding categories very easy. Unfortunately, there is a problem that I can’t solve. I have short articles and paginated articles on my site. With articles the code
<?php pdf24Plugin_link(); ?>
works just fine in the theme template. If, however, the article is paginated and shown as a single-view (e.g. without pagination) the plugin converts only a part of the article. The ARTICLE option works perfectly for both the paginated single page and the single-view. For the single view I use this function:<?php global $wp_query; $no_pagination = false; if ( isset( $wp_query->query_vars['all'] ) ) { $no_pagination = $wp_query->query_vars['all']; } if( $no_pagination ) { echo apply_filters( 'the_content', $post->post_content ); $page=$numpages+1; } else { the_content(); } ?>
No matter where I put the snippet for the LINK option it never works. I have a quick and dirty workaround setting the download link to display:none via a custom field. However, the link is not removed from the source code which is not quite a perfect solution. Anybody any ideas on how to include or exclude categories using the ARTICLE option?
Thanks in advance!https://www.ads-software.com/extend/plugins/pdf24-post-to-pdf/
- The topic ‘[Plugin: PDF24 Article To PDF] Include and exclude categories’ is closed to new replies.