Avoid too long words in a post title, post content or comment but only if its not a url

Thank you Milo, “word-break” alone wasn’t enough as it’s css3 only and not cross-browser. But I found this: .bloc_content{ overflow:hidden; -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } It seems to to work in all cases I tested. Hopefully it would be cross-browser enough to solve the problem. Not sure … Read more

Overwrite CSS of Instaemail plugin popup

This is a CSS-related question, more than a WordPress related one. In your case all the rules that apply for normal CSS overriding are usable to solve your problem: Cascade: Apply the rules with the same specificity (same number and types of selectors) after the rules written by your plugin. The way to achieve this … Read more

How to check “From Email” via WordPress before an email is sent

In wp_mail() there are filters to adjust from address: // Plugin authors can override the potentially troublesome default $phpmailer->From = apply_filters( ‘wp_mail_from’ , $from_email ); $phpmailer->FromName = apply_filters( ‘wp_mail_from_name’, $from_name ); However they don’t seem convenient for your needs because they don’t provide access to mailer object at the same time. You are probably better … Read more