Support » Plugin: POST2PDF Converter » [Plugin: POST2PDF Converter] Parsing shortcode doesn't work

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author redcocker

    (@redcocker)

    Hi, alxvallejo san

    If the plugin doesn’t depend on WP shotcode API and it has own shortcode parser, shotrcode can’t parse by POST2PDF Converter.

    I will check sourcecode of embed post plugin.

    Are you using following plugin?

    http://wordpress.org/extend/plugins/embed-posts/

    Plugin Author redcocker

    (@redcocker)

    Hi, alxvallejo san

    Modify wp-content/plugins/post2pdf-converter/post2pdf-converter-pdf-maker.php.

    All you need to do is add following code around line 339

    if (function_exists('includePosts')) {
    	$content = includePosts($content);
    }

    Thanks for the tip! That’s great except that the output is not quite as pretty as the in-line CSS I applied to the tables on my site.

    Why in-line CSS? I’m converting tables from Microsoft Word via Live Writer and due to variability and complexity of tables on my site, this is the best way to export the tables in HTML while keeping the formatting in tact.

    As an example, here is just a sample of the output with the first table row of html below. The classes of the table don’t mean anything since they’re tied to MS Word but the background colors and fonts are what need to be preserved. The first row should have a background color of #0099cc (blue) but the output is like this:

    http://screencast.com/t/mrkHygBAD2

    From this point, my goal is get print-friendly versions of my table with CSS formatting preserved. Your help is much appreciated but it looks like I’ll need to write my own CSS print-friendly version.

    Plugin Author redcocker

    (@redcocker)

    Hi, alxvallejo san

    As an example, here is just a sample of the output with the first table row of html below. The classes of the table don’t mean anything since they’re tied to MS Word but the background colors and fonts are what need to be preserved. The first row should have a background color of #0099cc (blue) but the output is like this:

    Do you mean to say inline CSS(background color of #0099cc) is not applied to
    PDF?

    Correct, the styling is not applied

    Plugin Author redcocker

    (@redcocker)

    Hi, alxvallejo san

    I don’t check up but this plugin can’t handle some CSS properties.
    It may cease this problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: POST2PDF Converter] Parsing shortcode doesn't work’ is closed to new replies.