Custom Text Header Plain-Text

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #12703
    user1337
    Participant

      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!

      #12711
      Olly
      Admin & Mod

        first 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)

        #12713
        user1337
        Participant
          This reply has been marked as private.
          #12738
          Olly
          Admin & Mod

            many other wasy to do this, but this will probably do. tweak as required
            in your themes functions.php add

            
            add_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;
            }
            
            #12740
            user1337
            Participant
              This reply has been marked as private.
              #12741
              Olly
              Admin & Mod
                This reply has been marked as private.
                #12742
                user1337
                Participant
                  This reply has been marked as private.
                  #12743
                  Olly
                  Admin & Mod
                    This reply has been marked as private.
                    #12744
                    Olly
                    Admin & Mod
                      This reply has been marked as private.
                      #12745
                      Olly
                      Admin & Mod
                        This reply has been marked as private.
                        #12746
                        user1337
                        Participant
                          This reply has been marked as private.
                          #12747
                          Olly
                          Admin & Mod
                            This reply has been marked as private.
                            #12748
                            Olly
                            Admin & Mod
                              This reply has been marked as private.
                            Viewing 13 posts - 1 through 13 (of 13 total)
                            • The topic ‘Custom Text Header Plain-Text’ is closed to new replies.