WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Custom Text Header Plain-Text
- AuthorPosts
- 27 September, 2015 at 5:17 pm #12703
http://fs5.directupload.net/images/150927/rha6txsz.png
^The E-Mail is fine but I just need the Label1-4 additional to the normal content. It should appear on the top like i insert it.I try to add this to the plaintextemail.php file:
<?php echo “Label 1”;?>
<?php echo “Label 2”;?>
<?php echo “Label 3”;?>
<?php echo “Label 4”;?>But it did not work. Could you help me there. Thank you!
28 September, 2015 at 1:33 am #12711first of all, there is no plaintextemail.php
secondly, your screenshot is html format email, so even if plaintextemail.php existed your edits would do nothing there
what exactly do you want to display there anyway ?
perhaps using the “templates” options would be what you need / can use anyway instead of messing around with files (where you should be using action/filters anyway for this sort of thing instead of editing them directly)
28 September, 2015 at 9:59 am #12713This reply has been marked as private.28 September, 2015 at 10:34 pm #12738many other wasy to do this, but this will probably do. tweak as required
in your themes functions.php addadd_filter('wppizza_filter_htmlemail_head','my_address'); function my_address($markup){ $markup.='<tr><td colspan="2"> my address 1<br /> my address 2<br /> my address 3<br /> </td></tr>'; return $markup; }
29 September, 2015 at 1:21 am #12740This reply has been marked as private.29 September, 2015 at 1:32 am #12741This reply has been marked as private.29 September, 2015 at 1:47 am #12742This reply has been marked as private.29 September, 2015 at 2:16 am #12743This reply has been marked as private.29 September, 2015 at 2:17 am #12744This reply has been marked as private.29 September, 2015 at 2:26 am #12745This reply has been marked as private.29 September, 2015 at 2:28 am #12746This reply has been marked as private.29 September, 2015 at 2:32 am #12747This reply has been marked as private.29 September, 2015 at 3:03 am #12748This reply has been marked as private. - AuthorPosts
- The topic ‘Custom Text Header Plain-Text’ is closed to new replies.