Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the usces domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/sites/trademark/web/fullsitepatternercom/en/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-statistics domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/sites/trademark/web/fullsitepatternercom/en/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/sites/trademark/web/fullsitepatternercom/en/wp-includes/functions.php on line 6114
SEO PLUGIN | FullSite-Patterner – WordPress block theme with full site editing

HOME  >  SEO PLUGIN

SEO PLUGIN

  • Shortcode (requires plugin FullSite-Patterner-seo)

    Shortcodes can be included in the theme body file, but in WordPress official themes, it is not recommended to include shortcodes and SEO functions in the theme body.

    Therefore, it is prepared separately as a plug-in.

    “FullSite-Patterner” uses shortcodes for breadcrumbs

    Breadcrumbs are realized by breadcrumb.php of plug-in “FullSite-Patterner-seo” .

    We also have a block pattern (breadcrumb-with-plugin) with the following shortcode in advance .

      [myphp file='breadcrumb']    

    Shortcode.php of the plug-in “FullSite-Patterner-seo” reads the PHP file with the shortcode .

    A short code that is convenient for site management is also set

    In shortcode.php , the following shortcodes are also set so that they can be used freely.

    short codeSettingsExample of use
    homeurlSite top page URLhttps://full-site-patterner.com/en/category
    imgurlassets/img directory in theme folderhttps://full-site-patterner.com/en/wp-content/themes/fullsite-patterner /assets/images /image001.jpg
    bloginfo_nameSite (blog) name©FullSite-Patterner – WordPress block theme with full site editing All rights reserved.
  • Plugin settings (customization of unnecessary functions)

    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';
    
  • How to set up and use breadcrumbs

    The following php files are involved in displaying breadcrumbs with the plug-in “FullSite-Patterner” .

    shortcode.php places a block of shortcodes at the display location of each page where you want to display breadcrumbs, and loads the php file .

    breadcrumb.php generates and outputs a breadcrumb list with text surrounded by simple p tags .

    shortcode.phpShortcode setting for displaying breadcrumbs 
    .
    breadcrumb.phpPerform processing to display 
    breadcrumbs .

    Generated Breadcrumb

    Title of individual page
    top page (link to URL) > Title of category page, etc. (link to URL) > Title of individual page

    Title of category page
    top page (link to URL) > Title of category page, etc.

    Fixed page, search result page, 404 page, etc.
    Top page title (link to URL) > Page title

    View breadcrumbs

    For breadcrumbs, you need to insert a php file call shortcode on each page where you want it to appear .
    A block pattern (breadcrumb-with-plugin) is also available.

    Insert the block where you want it to appear on the page.

    A blank paragraph is inserted , click the “+” mark on the right and select the block.

    Select the “Shortcode” block from “Blocks” on the left menu and insert it .

    Here is the php program call code .

      [myphp file='breadcrumb']    

    Click the “Save” button in the upper right and refresh the page to see the breadcrumbs.

    Alternatively, if you select and insert a block pattern (breadcrumb-with-plugin) with a shortcode from ” Pattern” on the left menu instead of the “Shortcode” block , you will get the same editing result.

  • Specifications and usage of meta tags

    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.phpDetermines 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.phpFor 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-phpFor 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.phpFor 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.phpfor 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.phpA 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';
  • Specifications and usage of canonical

    Meta canonical is mainly for search engines to describe the URL of the page, especially the URL of the page that should be evaluated with priority when there is a risk of duplicate pages, in the head of the page, and to obtain it in a predetermined format. data to convey .

    The program that generates and inserts canonical data is the php file below.

    canonical.phpDisplay the custom field caconical on the article posting screen and save the input content.

    canonical data inserted

    The canonical data inserted in the head of the page is a single line starting with meta canonical.

    Pages that are particularly likely to become duplicate pages are when there are identical or similar articles between individual article pages and category pages .

    Therefore, in “fullSite-Patterner”, a custom field “canonical” is displayed on the posting screen of individual articles, and a form that allows input is prepared.

    Normally, you don’t need to be aware of this, as it only needs to be displayed when necessary.

    Front-pagemeta canonical automatically inserts the top page URL.
    Single-pageIf meta canonical is entered in the custom field on the article posting screen, Insert that URL. If not entered, the individual page URL is automatically inserted
    Category-pagemeta canonical automatically inserts the category page URL.
    Pagemeta canonical automatically inserts a fixed page URL.

    Decide whether to give priority to individual article pages or category pages based on the contents of the content, search keywords, and the degree of completeness of the content.

    When you don’t need canonical data

    If you do not need canonical data, 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.phpA configuration file that calls the following files in the folder.
    shortcode.php, canonical.php, head-tag.php
    schema-org.php, ogp.php
    Unnecessary functions do not read php files,
    Open this file with “Tools” – “Plugin File Editor”,
    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 . 'canonical.php';
  • Specifications and usage of structured data (schema.org)

    Structured data is data that allows search engines, etc., to acquire and convey page information and the meaning of data within a page in a predetermined format .

    Just by installing and activating the plug-in “FullSItePatterner-seo” , it will be inserted automatically without any special settings.

    The program that generates and inserts structured data is the php file below.

    schema-org.phpAutomatically insert 
    structured data conforming to schema.org in head .


    Breadcrumb structured data is inserted on the following page.

    Insert on front page, single article page, archive page, static page.


    Q&A structured data is 
    automatically inserted when the category (slug) is set to 
    “qanda” .

    The title has been set as “Q” and the article content as “A”.


    Structured data of the organization automatically inserts 
    user information .


    Author structured data automatically 
    populates 
    user information on single article pages .

    An example of structured data inserted by ” FullSite-Patterner-seo ” is the following data.

    Breadcrumb structured data

    Breadcrumb structured data by ‘ FullSItePatterner-seo ‘.

    Organization structured data

    Organization structured data by ‘ FullSItePatterner-seo ‘.

    Author structured data

    Author structured data by ‘ FullSItePatterner-seo ‘.

    When you don’t need structured data

    If you do not need structured data, 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.phpA 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 . 'schema-org.php';
  • Specifications and usage of OGP data

    OGP data is data for automatically acquiring and displaying site names, article titles, thumbnail images, etc. when introducing articles to SNS .

    Just install and activate the plug-in “FullSItePatterner-seo” and it will be automatically inserted without any other settings .

    The program that generates and inserts ODG data is the php file below.

    ogp.phpDisplay 
    OGP data displayed on SNS etc.

    Automatically inserted in the head of the top page and individual article page .

    OGP data is inserted in the head of the page with the following code .

    When OGP data is unnecessary

    If you do not need OGP data, 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.phpA 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 (fullsite-patterner-seo.php) .

    //	require_once FORESTCAFE_PATH . 'ogp.php';