Metatags are data that mainly tells search engines about a page’s summary (description) and keywords .
Just by installing and activating the plug-in “FullSItePatterner-seo” , it will be automatically inserted without any other settings.
The program that generates and inserts meta tags is the php file below.
head-tag.php | Determines the type of page and determines which of the following files to read . meta-tag-frontpage.php, head-tag-single-php, meta-tag-category.php, head-tag-page.php |
head-tag-frontpage.php | For top page. meta description, meta keyword, meta canonical. For meta description, the following contents specified in “Settings” – “General” are automatically inserted. “Site tagline” – “Site name” Meta keyword automatically inserts “site name”. |
head-tag-single-php | For meta description, insert the content when you enter the summary on the article posting screen. If not entered, the following contents specified in “Settings” – “General” are automatically inserted. “Article Title” – “Site Name” “Article title, site name” is automatically inserted for meta keyword. |
head-tag-category.php | For category pages. meta description, meta keyword, meta canonical. For meta description, “category name” – “site name” is automatically inserted. Meta key word automatically inserts “category name, site name”. |
head-tag-page.php | for static pages. meta description, meta keyword, meta canonical. For meta description, “page title” – “site name” is automatically inserted. Meta keyword automatically inserts “page title, site name”. |
While allowing you to enter important individual articles, we focus on automatic insertion so that you can concentrate on writing articles and streamline site operations.
By editing each of the above php files directly with the theme file editor, it is possible to set the contents to be output as meta description and meta keyword.
Meta tags output by “FullSite-Patterner-seo”
When you don’t need meta tag data
If you do not need the meta tag function, you can stop some functions of the plug-in “FullSItePatterner-seo” .
However, you need to modify the following php file in the plugin folder “fullsite-patterner-seo” folder from “Tools” – “Plugin File Editor” menu.
fullsite-patterer-seo.php | A configuration file that calls the following files in the folder . shortcode.php, canonical.php, head-tag.php schema-org.php, ogp.php Open this file with “Tools” – “Plugin File Editor” to prevent unnecessary functions from loading the php file. , add two slashes (//) at the beginning of the line . |
Add two forward slashes (//) to the beginning of the following line in the php file .
// require_once FORESTCAFE_PATH . 'head-tag.php';