6.3.4.1. Templates

6.3.4.1.1. Post Content Template

This template defines the content of the post. Anything you want to show in the post content should be added into this template. If this template is not defined, it is assumed that the template is [wcc-main-content] so that the values found by Post Content Selectors are added as post content. The short codes available for this template and their explanations are given in Table 6.2.

Table 6.2 Explanation of short codes available for Post Content Template setting
Short code Explanation
[wcc-main-title] Title of the post after the template defined in Post Title Template are applied. This is the final title of the post.
[wcc-main-excerpt] Excerpt of the post after the rules defined in Find and replace in post’s excerpt and the template defined in Post Excerpt Template are applied. So, this is the final excerpt of the post.
[wcc-main-content] The main post content found by the selectors defined in Post Content Selectors
[wcc-main-list] The list that is found by the settings of List Type Posts Section and whose template is defined in List Item Template
[wcc-main-gallery] The gallery whose items are saved by using the selectors defined in Gallery Image URL Selectors setting and whose template is defined in Gallery Item Template
[wcc-source-url] Full URL of the target page. You can use this to reference the source page. E.g. <a href="[wcc-source-url]">Source</a>
Generative short codes Short codes that generate a value. See Short Codes.
Custom short codes The custom short codes defined by you, using the settings under Custom Short Codes Section

6.3.4.1.2. Post Title Template

You can define a template for the post’s title by using this setting. If nothing is defined, it will be assumed that the template is [wcc-main-title]. The short codes available for this template and their explanations are given in Table 6.3.

Table 6.3 Explanation of short codes available for Post Title Template setting
Short code Explanation
[wcc-main-title] Title of the post that is found by the selectors defined in Post Title Selectors setting. Also, rules defined in Find and replace in post’s title setting are applied.
Generative short codes Short codes that generate a value. See Short Codes.
Custom short codes The custom short codes defined by you, using the settings under Custom Short Codes Section

6.3.4.1.3. Post Excerpt Template

You can define a template for the post’s excerpt by using this setting. If nothing is defined, it will be assumed that the template is [wcc-main-excerpt]. The short codes available for this template and their explanations are given in Table 6.4.

Table 6.4 Explanation of short codes available for Post Excerpt Template setting
Short code Explanation
[wcc-main-excerpt] Excerpt of the post that is found by the selectors defined in Post Excerpt Selectors setting. Also, rules defined in Find and replace in post’s excerpt setting are applied.
[wcc-main-title] Title of the post after the template defined in Post Title Template are applied. This is the final title of the post.
Generative short codes Short codes that generate a value. See Short Codes.
Custom short codes The custom short codes defined by you, using the settings under Custom Short Codes Section