{"id":195,"date":"2020-05-08T23:22:01","date_gmt":"2020-05-08T23:22:01","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_directorist&#038;p=195"},"modified":"2021-04-16T16:35:06","modified_gmt":"2021-04-16T16:35:06","slug":"email-template-customize","status":"publish","type":"wpwax_directorist","link":"https:\/\/directorist.com\/documentation\/directorist\/customization\/email-template-customize\/","title":{"rendered":"Email Template Customize"},"content":{"rendered":"<div class=\"label\">Email plays a pivotal role when it comes to notifying admin\/listing owners about various activities. Directorist allows you to customize the email templates within the plugin itself. Navigate to the <strong>WP Admin Dashboard \u2192 Directory Listings \u2192 Settings \u2192 Email \u2192 Email Templates<\/strong> to customize the templates.<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1008 size-full\" src=\"http:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings.png\" alt=\"\" width=\"1919\" height=\"890\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings.png 1919w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings-300x139.png 300w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings-1024x475.png 1024w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings-768x356.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/11-email-settings-1536x712.png 1536w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/div>\n<div>You can customize the Email template for:<\/div>\n<ol>\n<li class=\"label\">NEW LISTING<\/li>\n<li class=\"label\">APPROVED\/PUBLISHED LISTINGS<\/li>\n<li>EDITED LISTINGS<\/li>\n<li>ABOUT TO EXPIRE LISTINGS<\/li>\n<li>EXPIRED LISTINGS<\/li>\n<li>RENEWAL LISTINGS (REMIND TO RENEW)<\/li>\n<li>RENEWED LISTINGS (AFTER RENEWED)<\/li>\n<li>DELETED\/TRASHED LISTINGS<\/li>\n<li>NEW ORDER (CREATED)<\/li>\n<li>NEW ORDER (CREATED USING OFFLINE BANK TRANSFER)<\/li>\n<li>COMPLETED ORDER<\/li>\n<li>LISTING CONTACT EMAIL<\/li>\n<li>REGISTRATION CONFIRMATION<\/li>\n<\/ol>\n<div class=\"label\">You can use Placeholders to output dynamic value<\/div>\n<div class=\"description\">\n<p>You can use the following <strong>keywords<\/strong>\/placeholder in any of your email bodies\/templates or subjects to output dynamic value.\u00a0<strong>Usage<\/strong>: place the placeholder name between\u00a0==\u00a0and\u00a0==\u00a0. For Example use <code>==SITE_NAME==<\/code>\u00a0to output The Your Website Name etc.<\/p>\n<p><code>==NAME==<\/code> : It outputs the listing owner&#8217;s display name on the site<br \/>\n<code>==USERNAME==<\/code> : It outputs the listing owner&#8217;s user name on the site<br \/>\n<code>==SITE_NAME==<\/code>\u00a0: It outputs your site name<br \/>\n<code>==SITE_LINK==<\/code> : It outputs your site name with a link<br \/>\n<code>==SITE_URL==<\/code> : It outputs your site URL with the link<br \/>\n<code>==EXPIRATION_DATE==<\/code> : It outputs the Expiration date<br \/>\n<code>==CATEGORY_NAME==<\/code>\u00a0: It outputs the category name that is going to expire<br \/>\n<code>==LISTING_ID==<\/code>\u00a0: It outputs the listing&#8217;s ID<br \/>\n<code>==RENEWAL_LINK==<\/code> : It outputs a link to the renewal page<br \/>\n<code>==LISTING_TITLE==<\/code>\u00a0: It outputs the listing&#8217;s title<br \/>\n<code>==LISTING_LINK==<\/code> : It outputs the listing&#8217;s title with a link<br \/>\n<code>==LISTING_URL==<\/code> : It outputs the listing&#8217;s URL with the link<br \/>\n<code>==ORDER_ID==<\/code> : It outputs the order id. It should be used for order-related email only<br \/>\n<code>==ORDER_RECEIPT_URL==<\/code> : It outputs a link to the order receipt page. It should be used for order-related email only<br \/>\n<code>==ORDER_DETAILS==<\/code> : It outputs order details. It should be used for order-related email only<br \/>\n<code>==TODAY==<\/code>\u00a0: It outputs the current date<br \/>\n<code>==NOW==<\/code>\u00a0: It outputs the current time<br \/>\n<code>==DASHBOARD_LINK==<\/code>\u00a0: It outputs the user dashboard page link<br \/>\n<code>==USER_PASSWORD==<\/code> : It outputs a new user&#8217;s temporary password<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/VoQ4Zfp.png\" \/><\/p>\n<p>To customize the email templates, again, go to <strong>Directory Listings \u2192 Settings \u2192 Email \u2192 Email Templates<\/strong>. You can edit the subject\/body adding\/removing the keywords stated above. Additionally, you can also use HTML tags in your template. For example, if you want to make your Listing Title bold you can write it like this <code>&lt;strong&gt;'==LISTING_TITLE=='&lt;\/strong&gt;<\/code> within the text area.<\/p>\n<\/div>\n","protected":false},"author":2298,"parent":0,"menu_order":0,"template":"","class_list":["post-195","wpwax_directorist","type-wpwax_directorist","status-publish","hentry","wpwax_directorist_category-customization"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_directorist"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2298"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}