Mecha provides ability to create special shield item that can be applied only for specific article and page. The rule is very simple: If you have an article with slug
lorem-ipsum, then you can create a new shield item that will be applied only for
lorem-ipsum article called
This also applies to pages. For pages, use format
page-lorem-ipsum.php. Save the PHP files in your current active shield folder:
// Base article.php page.php // Custom article-your-article-slug.php page-your-page-slug.php
Just in case, you have a very complicated HTML markup in the article/page content which cannot be handled by the Markdown parser, since version
1.0.4, users also able to create individual content template for article and page by adding a custom PHP file with the same name as the article/page slug to replace the original article/page content. You have to do it manually.
This is your original article file:
And this is the content replacement for the article file above:
Save it in the
lot\posts\article folder along with the article files. This also applies to pages. For pages, save the PHP file in the
lot\posts\page folder along with the page files.