Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

html-email

How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]

I don’t know what the font is for the rest of the email but if you can discern that by examining one of the emails sent you’ll want to copy the style rule to this element: return $item_name . ‘<br><p class=”item-description”>’ . $excerpt ; ‘</p>’; As this is an email you’ll have to rely on … Read more

Categories woocommerce-offtopic Tags email, html-email, templates, woocommerce-offtopic

WordPress new user email formatting issues

I had the same issue. I finally succeed to display the message with proper line breaks by surrounding the body of the message $wp_new_user_notification_email[‘message’],in your case, with html tags (html, head, body) and filtering it with nl2br. Hope it will help.

Categories email Tags email, html-email

About Custom Email Template Design Responsive

About Custom Email Template Design Responsive

Categories email Tags email, html-email, responsive, wp-register-style

Use Mail-Tag from Contac Form 7 in a script

Use Mail-Tag from Contac Form 7 in a script

Categories HTML Tags html, html-email, plugin-contact-form-7

Programming WordPress to send a custom-built form to specified email address

I would handle this with Page Templates, as hinted at by @BrianFegter. Create a page template that does what you need (there are many PHP/WordPress tutorials out there on how to create pages, process forms, and output data). Once you have your template, create a page, and apply that template to it. Voilà, form processing. … Read more

Categories HTML Tags forms, html, html-email

Images in wp_mail not showing

Ok, so I switched the image root path from define(‘SUBSCRIBE_USER_BASE_DIR’, dirname(__FILE__)); to define(‘SUBSCRIBE_USER_BASE_URL’,plugin_dir_url(__FILE__)); and this worked. dirname(__FILE__) registers: <img src=”https://wordpress.stackexchange.com/var/www/html/internal/wp-content/plugins/AV_-_Subscribe_User/email/email_header.png” Whereas the latter plugin_dir_url(__FILE__) outputs: <img src=”http://mysite.com/wp-content/plugins/AV_-_Subscribe_User/email/email_header.png” I’m not 100% clear as to when to use which but I’m guessing that I would use dirname when I am operating within the site server.

Categories email Tags email, html-email, wp-mail

How To Style Links in Content Area With Tag Automatically?

If you decided to go that route, this should work. Just add this to your themes functions.php file: // Add Shortcode function link_inline_styling( $atts , $content = null ) { // Attributes extract( shortcode_atts( array( ‘url’ => ”, ‘target’ => ”, ), $atts ) ); // Code return ‘<a href=”‘.$url.'” target=”‘.$target.'” ><span style=”font-family:Arial,Verdana;font-size:12px;font-weight:12px;color:#337D98;”><strong>’.$content.'</strong></span></a>’; } add_shortcode( … Read more

Categories customization Tags css, customization, html-email

Generate Email Newsletter HTML from Posts published within a Date Range?

I think MailPoet gets pretty close, you can setup a template, drag and drop posts, etc. You can even have it send via Mandrill or Railgun, etc if you want. Otherwise it doesn’t seem like it would be that hard to to setup the generated HTML. It’s really the “choosing posts” that’s the hard part … Read more

Categories plugins Tags html-email, newsletter, plugins

Getting image in mail

The mailto protocol is fairly limited and does not support html in the body. Notably iOS supports some tags, but you cannot rely on that. The point is that mailto parses information from the browser to the user’s email program. The more tags are allowed, the higher the security risk becomes. So, if you insist … Read more

Categories email Tags email, html-email

Woocommerce Email show HTML source code [closed]

The problem was indeed in the settings from my SMTP host (Elastic Email). They also had a update but the ‘Auto’ function doesn’t work properly. You have to change it to html/text and Woocommerce emails will work again

Categories woocommerce-offtopic Tags html-email, woocommerce-offtopic
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress