Plugin FullSite-Patterner-seo has the following main functions.
・Shortcode setting and breadcrumbs
・Meta tag display
・Structured data ・Generate OGP data
The main file of the plugin is fullsite-patterer-seo.php .
This file is for setting to call the following files in the folder.
If you select FullSite-Patterner-seo from “Tools” – “Plug-in File Editor” to open the editing screen , you can customize it so that unnecessary functions are not loaded or executed.
The fullsite-patterner-seo.php program loads and executes the following programs.
・shortcode.php (Shortcode settings, settings for calling PHP programs with shortcodes)
・canonical.php (canonical settings)
・head-tag.php (meta description, meta keyword settings)
・schema-org.php ( Generate structured data)
・ogp.php (Generate OGP data)
fullsite-patterner-seo.php calls the php files for each program. It can be customized by rewriting
so that unnecessary functions are not called .
Below is the code in the default program.
require_once FORESTCAFE_PATH . 'shortcode.php';
require_once FORESTCAFE_PATH . 'canonical.php';
require_once FORESTCAFE_PATH . 'head-tag.php';
require_once FORESTCAFE_PATH . 'schema-org.php';
require_once FORESTCAFE_PATH . 'ogp.php';
Simply add two forward slashes (//) to the beginning of a line that calls a program to perform an unwanted function , and that line will not be executed.
For example, please write as follows.
In the example below, we don’t want the canonical and structured data, so we don’t call the executable.
require_once FORESTCAFE_PATH . 'shortcode.php';
// require_once FORESTCAFE_PATH . 'canonical.php';
require_once FORESTCAFE_PATH . 'head-tag.php';
// require_once FORESTCAFE_PATH . 'schema-org.php';
require_once FORESTCAFE_PATH . 'ogp.php';