Results 1 to 1 of 1

Thread: customizing the "New Ad" notification email sent to Admin

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    customizing the "New Ad" notification email sent to Admin

    The file includes/theme-emails.php contains a function called cp_new_ad_email().

    Inside that function, AppThemes defines the TO, SUBJECT, and MESSAGE parts of the "New Ad" notification email that gets sent to the Admin when someone posts a new ad to the site.

    I want to change the order in which the Ad attributes are shown (e.g. show Title, then Author, then Category; instead of Title, then Category, then Author). Using an .mo file will not allow me to do that. In real life, I want to manipulate the message even more.

    I tried creating a includes/theme-emails.php file in my child theme's file tree and modifying the code inside that function there (e.g. redefining $message), but it had no effect on the email that was sent when a new ad was posted. The site appears to continue to use the original code, which is in the parent theme.

    How can I override this file or function in a child theme or plugin?

    I want to modify the other emails ClassiPress sends, too.

    --

    ClassiPress 3.3.1
    WordPress 3.7.1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Coupon Notification Email has "Auto Draft" text??
    By amirgulamali in forum AppThemes Coupons
    Replies: 10
    Last Post: July 11th, 2015, 10:20 AM
  2. How to add "Custom Field" at "Job meta" in wordpress admin?
    By rustysolton in forum JobRoller General Discussion
    Replies: 0
    Last Post: January 3rd, 2013, 06:09 AM
  3. a "stupid" setting "Admin Table Width:"
    By jacgo in forum Report ClassiPress Bugs
    Replies: 8
    Last Post: December 4th, 2011, 09:18 AM
  4. [BUG] CP's "Contact" form overrides the "From" in other email plugins
    By ejikoala in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 29th, 2010, 08:11 PM
  5. Editing "Your Ad Submission.." email notification
    By nhongskee in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 30th, 2010, 06:34 PM