6.3.4.1. Templates

6.3.4.1.1. Main Post 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 Main Post 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>
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.
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.
Custom short codes The custom short codes defined by you, using the settings under Custom Short Codes Section

6.3.4.1.4. List Item Template

If you configured the settings under List Type Posts Section, then you have to configure this template so that the list can be created. See List Type Posts Section for more information. The short codes available for this template and their explanations are given in Table 6.5.

Table 6.5 Explanation of short codes available for List Item Template setting
Short code Explanation
[wcc-list-item-position] Position of the list item found by the selectors defined in List Item Number Selectors or the number that is automatically assigned for the list item when you enable Insert list item numbers automatically? setting
[wcc-list-item-title] Title of the list item found by the selectors defined in List Item Title Selectors
[wcc-list-item-content] Content of the list item found by the selectors defined in List Item Content Selectors
Custom short codes The custom short codes defined by you, using the settings under Custom Short Codes Section