Title: [Plugin: POST2PDF Converter] Parsing shortcode doesn&#039;t work
Last modified: August 20, 2016

---

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

 *  Resolved [alxvallejo](https://wordpress.org/support/users/alxvallejo/)
 * (@alxvallejo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/)
 * I’m using an embed post plugin, something like [[post-slug]] embeds the content
   of a post on a page.
 * Converting it to a page fails to convert the shortcode 🙁
 * [http://wordpress.org/extend/plugins/post2pdf-converter/](http://wordpress.org/extend/plugins/post2pdf-converter/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771311)
 * 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/](http://wordpress.org/extend/plugins/embed-posts/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771326)
 * 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);
       }
       ```
   
 *  Thread Starter [alxvallejo](https://wordpress.org/support/users/alxvallejo/)
 * (@alxvallejo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771384)
 * 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](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](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771388)
 * 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?
 *  Thread Starter [alxvallejo](https://wordpress.org/support/users/alxvallejo/)
 * (@alxvallejo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771398)
 * Correct, the styling is not applied
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771408)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/post2pdf-converter_cad3dd.svg)
 * [POST2PDF Converter](https://wordpress.org/plugins/post2pdf-converter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post2pdf-converter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post2pdf-converter/)
 * [Active Topics](https://wordpress.org/support/plugin/post2pdf-converter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post2pdf-converter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post2pdf-converter/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [redcocker](https://wordpress.org/support/users/redcocker/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/#post-2771408)
 * Status: resolved