In the Templates plug-in folder there are 3 files:
template.html
list.html
single.html
Template.html
It is the HTML document containing the post-publications in the framework of Wordpress. In the code you can find the variable list {{list}} that will be replaced by either the list.html content or single.html content.
Single.html
It is the HTML document that will replace the variable {{list}} in template.html in the event there is only one post to send the newsletter.
List.html
It is the HTML document that will replace the variable {{list}} in template.html in the event there is more than one post to send the newsletter.
When the newsletter is sent with the MDirector plug-in, you can use the following chains or variables that will be replaced by the following HTML code.
In template.htm the following variables can be used:
{{header_title}} Name of the Wordpress site
{{site_link}} Url of the Wordpress site
{{list}} It will be replaced by either single.html or list.html
In single.html the following variables can be used:
{{title}} Link to a post with the same name
{{content}} Extract the contentsof the post
{{main_image}} Main image defined in the post, if any.
In list.html the following variables can be used:
{{title}} Link to the post with the same name
{{content}} Extract the contents of the post
{{post_image}} Main image defined in the post, if any
Comments