I need to have some content displayed in the PDF but not on the Web.
I use a class "pdfonly" which is style="display:hidden;" in the default.css and style="display:block;" in the custom css for 'WP Post to PDF Enhanced'. (Don't know if this is the designed behaviour but actually it works.)
When I get the authors name and post date via php code only the post date is displayed, the author is always empty.
<?php echo get_the_date();?> works fine in Web and PDF,
<?php echo get_the_author();?> works only for Web but not in PDF (just empty)
I use WeaverII Theme on WP 3.9.1, plugin version 1.0.4.
I would expect both function calls to behave in the same way but they don't.
Thanks for support :)