This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| programmieren:wordpress:wp_mail_verschicken [2019/08/20 22:40] – created jgehrke | programmieren:wordpress:wp_mail_verschicken [2022/12/17 12:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| die Funktionen '' | die Funktionen '' | ||
| - | Dies könnte so aussehen für die '' | + | Dies könnte so aussehen für die '' |
| <code php> | <code php> | ||
| /** | /** | ||
| - | | + | * HTML Template |
| * | * | ||
| - | * @param | + | * @param |
| * | * | ||
| - | * @return string | + | * @return string |
| */ | */ | ||
| - | function | + | function |
| return " | return " | ||
| - | < | + | |
| - | <html xmlns=\" | + | Folgender Beitrag wurde gerade veröffentlicht:<br /><br /> |
| - | | + | " . get_the_post_thumbnail( |
| - | <meta http-equiv=\" | + | <a href=\"" |
| - | < | + | <strong>" . get_the_title( $post_id |
| - | <style type=\" | + | </a><br /><br /> |
| - | body {margin: 0; padding: 0; min-width: 100%!important; | + | |
| - | .content {width: 100%; max-width: 600px;} | + | |
| - | </ | + | |
| - | </ | + | |
| - | <body bgcolor=\"# | + | |
| - | <table width=\" | + | |
| - | < | + | |
| - | < | + | |
| - | <table class=\" | + | |
| - | < | + | |
| - | <td style=\" | + | |
| - | " . $message | + | |
| - | | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | <a href=\" | + | |
| - | </ | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | & | + | |
| - | & | + | |
| - | & | + | |
| - | </td> | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </html> | + | |
| "; | "; | ||
| } | } | ||
| </ | </ | ||