Title: redcocker's Replies | WordPress.org

---

# redcocker

  [  ](https://wordpress.org/support/users/redcocker/)

 *   [Profile](https://wordpress.org/support/users/redcocker/)
 *   [Topics Started](https://wordpress.org/support/users/redcocker/topics/)
 *   [Replies Created](https://wordpress.org/support/users/redcocker/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/redcocker/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/redcocker/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/redcocker/engagements/)
 *   [Favorites](https://wordpress.org/support/users/redcocker/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 134 total)

1 [2](https://wordpress.org/support/users/redcocker/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/redcocker/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/redcocker/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/redcocker/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/redcocker/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/redcocker/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] Link to get PDF shows in the PDF](https://wordpress.org/support/topic/plugin-post2pdf-converter-link-to-get-pdf-shows-in-the-pdf/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-link-to-get-pdf-shows-in-the-pdf/#post-2553794)
 * Hi, djdunn san
 * Are you using shortdoce function of this plugin or shortcode for another plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CodeMirror for CodeEditor] [Plugin: CodeMirror for CodeEditor] Word Wrapping](https://wordpress.org/support/topic/plugin-codemirror-for-codeeditor-word-wrapping/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-codemirror-for-codeeditor-word-wrapping/#post-2808993)
 * Hi Josh Maxwell san,
 * Thank you VERY MUCH!
    If you solve it, please contact me via contact form.
 * [http://www.near-mint.com/blog/contact](http://www.near-mint.com/blog/contact)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CodeMirror for CodeEditor] [Plugin: CodeMirror for CodeEditor] Word Wrapping](https://wordpress.org/support/topic/plugin-codemirror-for-codeeditor-word-wrapping/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-codemirror-for-codeeditor-word-wrapping/#post-2808985)
 * Hi Josh Maxwell san
 * I may add it in the future release.
    But, When I tried it, I don’t succeed it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Tons of PHP Notices after activating plugin](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-tons-of-php-notices-after-activating-plugin/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-tons-of-php-notices-after-activating-plugin/#post-2802701)
 * Hi BBBThunda san
 * Thank your for your report.
 * Could you tell me all notice messages?
    And let me know when(Where) they occur.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Not wrapping lines & requires core edit](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-not-wrapping-lines-requires-core-edit/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-not-wrapping-lines-requires-core-edit/#post-2800895)
 * Hi, djeyewater san
 * >So you need to edit kses.php to allow adding a class to pre.
 * This plugin is designed with consideration for KSES filter.
    It adds some tags
   and attributes to KSES as allowed tags and attributes automatically.
 * Did you esit a post as a registerd user belongs to Administrators or Editors?
 * >it is not wrapping long lines.
 * Go to setting panel.
    Change “Library version” to 2.1.382. And enable “Wrap lines”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] Parsing shortcode doesn't work](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/)
 *  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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] html entity inside post-content](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-html-entity-inside-post-content/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-html-entity-inside-post-content/#post-2513515)
 * Hi, vehicros san
 * “redcocker” means my dog, the red color of English cocker spaniel.
    But He had
   died
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] CSS Table borders/backgrounds not converted](https://wordpress.org/support/topic/plugin-post2pdf-converter-css-table-bordersbackgrounds-not-converted/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-css-table-bordersbackgrounds-not-converted/#post-2777193)
 * Hi, hd.design san
 * For now, this plugin can’t handle external CSS file.
    Only inline CSS is applied
   to PDF. But it can’t handle some CSS properties.
 * So, It is not necessarily mean that you can control PDF layout by CSS.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] Parsing shortcode doesn't work](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/)
 *  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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] Parsing shortcode doesn't work](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/)
 *  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);
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] Parsing shortcode doesn't work](https://wordpress.org/support/topic/plugin-post2pdf-converter-parsing-shortcode-doesnt-work/)
 *  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/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] bbPress support problems](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-bbpress-support-problems/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-syntaxhighlighter-bbpress-support-problems/#post-2744889)
 * Hi, Milan Petrovic san
 * Give me a little more time.
    I will check it out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] background image](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704615)
 * hI, ooohh04 san
 * This is just an example code.
 * Please add following code into /post2pdf-converter/post2pdf-converter-pdf-maker.
   php line 14
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Remove following code from /post2pdf-converter/post2pdf-converter-pdf-maker.php
   line 373-374
 *     ```
       require_once('tcpdf/config/lang/'.$config_lang.'.php');
       		require_once('tcpdf/tcpdf.php');
       ```
   
 * Replace /post2pdf-converter/post2pdf-converter-pdf-maker.php line 392-394 with
   following code.
 *     ```
       $pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', true, false);
       		} else {
       			$pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, false);
       ```
   
 * Replace /post2pdf-converter/tcpdf/config/tcpdf_config.php line 95-99 with following
   code.
 *     ```
       if (!defined('K_PATH_FONTS') && $POST2PDF_Converter_PDF_Maker->post2pdf_conv_setting_opt['font_path'] == 1) {
       		define('K_PATH_FONTS', WP_CONTENT_DIR.'/tcpdf-fonts/');
       	} else {
       		define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
       	}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] background image](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-background-image/#post-2704589)
 * Hi, ooohh04 san
 * I’ll add this feature in future release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[POST2PDF Converter] [Plugin: POST2PDF Converter] displaying post meta data](https://wordpress.org/support/topic/plugin-post2pdf-converter-displaying-post-meta-data/)
 *  Plugin Author [redcocker](https://wordpress.org/support/users/redcocker/)
 * (@redcocker)
 * [14 years ago](https://wordpress.org/support/topic/plugin-post2pdf-converter-displaying-post-meta-data/#post-2686748)
 * Hi, novic7 san, diezel san
 * Sorry, I made a simple mistake.
 * Please add following code instead of previous code.
 *     ```
       $key_value = get_post_meta($post_id, 'YOUR_KEY', true);
       $content = $content.$key_value;
       ```
   
 * or
 *     ```
       $key_value = get_post_meta($post_id, 'YOUR_KEY', true);
       $content = $key_value.$content;
       ```
   

Viewing 15 replies - 1 through 15 (of 134 total)

1 [2](https://wordpress.org/support/users/redcocker/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/redcocker/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/redcocker/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/redcocker/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/redcocker/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/redcocker/replies/page/2/?output_format=md)