Title: witho's Replies | WordPress.org

---

# witho

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/witho/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/witho/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HireZoot – (WP Job Openings) Job Listings, Career Page & Recruitment Tool] Hook after create (edit, delete) Job Opening](https://wordpress.org/support/topic/hook-after-create-edit-delete-job-opening/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/hook-after-create-edit-delete-job-opening/#post-18380996)
 * Resolved using WordPress core hooks as “wp_insert_post”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] PHP Error in reset password form if passwords are not the same.](https://wordpress.org/support/topic/php-error-in-reset-password-form-if-passwords-are-not-the-same/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-error-in-reset-password-form-if-passwords-are-not-the-same/#post-17909684)
 * Plugin updated and the issue is solved. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] PHP Error in reset password form if passwords are not the same.](https://wordpress.org/support/topic/php-error-in-reset-password-form-if-passwords-are-not-the-same/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-error-in-reset-password-form-if-passwords-are-not-the-same/#post-17893008)
 * Hello again,
 * I have tested your Dev version of the plugin and the error is fixed. Tell me 
   when I will be able to update the plugin to an stable version through the WordPress
   update page.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/page/2/#post-17518463)
 * Sorry to bother you again but the email is still not working well.
 * I see that you add this line:
 *     ```wp-block-code
       $messageText = str_replace("\r\n", "<br />", $messageText);
       ```
   
 * And I think the right one would be this one:
 *     ```wp-block-code
       $messageText = str_replace("\n", "<br />", $messageText);
       ```
   
 * Test it and let me know.
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17438646)
 * I see, tested and working like a charm.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17436929)
 * I tested it but the same error. I check the new code and I don’t know why but
   the code is not replacing the “break lines” with:
 *     ```wp-block-code
       <br />
       ```
   
 * And instead is printing a “new line” inside the code.
 * Check this out and let me know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17435556)
 * Both options are disabled as I showed you in prevous replies.
 * I saw this code inside your function but it is only inside this condition:
 *     ```wp-block-code
       } else if(isset($basetype) && $basetype==='textarea') {
       ```
   
 * And I was trying to debug and saw that my flow never enter in this condition.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17435469)
 * No, I only have “**WP Mail SMTP**” plugin to configure Google as my email server,
   tht’s it.
 * I managed to solve the problem by adding some code to these functions:
 * Inside “tags_parser” function that goes into “prepare-pdf.php” file I added this
   line at the end:
 *     ```wp-block-code
       $contentPdf = str_replace("\r\n", "", $contentPdf);
       ```
   
 * Inside “wpcf7pdf_mail_components” filter function into “send-pdf.php” file I 
   added this line at 999 line of code:
 *     ```wp-block-code
       $messageText = str_replace("\n", "", $messageText);
       ```
   
 * I know that this mey be not the best solution and I will try to separate my changes
   from the core of the plugin in order to be able to update your plugin in the 
   future, but with this changes now I can see my emails an PDF with the brek lines
   as it should be.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17424198)
 * Hello,
 * I am still having the same problem with the last version of your plugin. Here
   are my examples:
 * ![](https://i0.wp.com/canganeshavilla.com/wp-content/uploads/ErrorPDF1.jpeg?ssl
   =1)
 * ![](https://i0.wp.com/canganeshavilla.com/wp-content/uploads/ErrorPDF2.jpeg?ssl
   =1)
 * ![](https://i0.wp.com/canganeshavilla.com/wp-content/uploads/ErrorPDF3.jpeg?ssl
   =1)
 * ![](https://i0.wp.com/canganeshavilla.com/wp-content/uploads/ErrorPDF4.jpeg?ssl
   =1)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17305180)
 * This option (“Use HTML content type”) was already checked.
 * Everything was fine until the last updates of the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] PDF break lines not working](https://wordpress.org/support/topic/pdf-break-lines-not-working/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/pdf-break-lines-not-working/#post-17305082)
 * Hello again,
 * The email and the PDF both are showing without the line breaks.
 * I saw this 2 new options but any combination of this options is showing the PDF
   preview without the line breaks.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress] How to add an: “I Accept ….” checkbox on the subscribe form.](https://wordpress.org/support/topic/how-to-add-an-i-accept-checkbox-on-the-subscribe-form/)
 *  [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/how-to-add-an-i-accept-checkbox-on-the-subscribe-form/#post-10221697)
 * Hi, ¿has anyone develop this new feature for the plugin?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Custom Post Type of all languages after update to 1.8](https://wordpress.org/support/topic/custom-post-type-of-all-languages-after-update-to-18/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-post-type-of-all-languages-after-update-to-18/#post-6976620)
 * Hi!
 * I have tested this development version 1.8.0.1 and my query works well again.
 * When do you think it will be a stable version with this issues working? I am 
   looking forward to it.
 * Thanks a lot for your help and your great job with this plugin. It’s awesome!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Translate custom post type slug](https://wordpress.org/support/topic/translate-custom-post-type-slug/)
 *  [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/translate-custom-post-type-slug/#post-6049804)
 * Hi, and is there any workaround to solve this problem?
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP FullCalendar] Different defaultview for each calendar instance](https://wordpress.org/support/topic/different-defaultview-for-each-calendar-instance/)
 *  Thread Starter [witho](https://wordpress.org/support/users/witho/)
 * (@witho)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/different-defaultview-for-each-calendar-instance/#post-4223587)
 * Yeah,
 * I can hack it with something lke this:
 * `defaultView: '<?php if(strpos($_SERVER["REQUEST_URI"], "page_name") != false){
   echo 'month';} else{ echo get_option('wpfc_defaultView', 'month');} ?>',`
 * Thanks a lot!

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

1 [2](https://wordpress.org/support/users/witho/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/witho/replies/page/2/?output_format=md)