Version Description
Release Date: March 19th, 2020
- Update: Register meta values.
Download this release
Release Info
Developer | boldgrid |
Plugin | BoldGrid Easy SEO – Simple and Effective SEO |
Version | 1.6.5 |
Comparing to | |
See all releases |
Code changes from version 1.6.4 to 1.6.5
- boldgrid-easy-seo.php +1 -1
- includes/class-boldgrid-seo-meta.php +54 -0
- includes/class-boldgrid-seo.php +13 -0
- languages/bgseo.pot +2 -2
- readme.txt +8 -2
boldgrid-easy-seo.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Plugin Name: BoldGrid Easy SEO
|
15 |
* Plugin URI: https://www.boldgrid.com/boldgrid-seo/
|
16 |
* Description: Easily manage your website's search engine optimization with Easy SEO by BoldGrid!
|
17 |
-
* Version: 1.6.
|
18 |
* Author: BoldGrid <support@boldgrid.com>
|
19 |
* Author URI: https://www.boldgrid.com/
|
20 |
* License: GPL-2.0+
|
14 |
* Plugin Name: BoldGrid Easy SEO
|
15 |
* Plugin URI: https://www.boldgrid.com/boldgrid-seo/
|
16 |
* Description: Easily manage your website's search engine optimization with Easy SEO by BoldGrid!
|
17 |
+
* Version: 1.6.5
|
18 |
* Author: BoldGrid <support@boldgrid.com>
|
19 |
* Author URI: https://www.boldgrid.com/
|
20 |
* License: GPL-2.0+
|
includes/class-boldgrid-seo-meta.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* BoldGrid Source Code
|
4 |
+
*
|
5 |
+
* @package Boldgrid_Seo_Meta
|
6 |
+
* @copyright BoldGrid.com
|
7 |
+
* @version $Id$
|
8 |
+
* @author BoldGrid.com <wpb@boldgrid.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* BoldGrid SEO meta
|
13 |
+
*/
|
14 |
+
class Boldgrid_Seo_Meta {
|
15 |
+
|
16 |
+
protected $configs;
|
17 |
+
|
18 |
+
public function __construct( $configs ) {
|
19 |
+
$this->configs = $configs;
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Register meta values.
|
24 |
+
*
|
25 |
+
* @since 1.6.5
|
26 |
+
*
|
27 |
+
* @return void
|
28 |
+
*/
|
29 |
+
public function register() {
|
30 |
+
register_meta( 'post', 'bgseo_title', array(
|
31 |
+
'type' => 'string',
|
32 |
+
'single' => true,
|
33 |
+
'show_in_rest' => true,
|
34 |
+
) );
|
35 |
+
|
36 |
+
register_meta( 'post', 'bgseo_description', array(
|
37 |
+
'type' => 'string',
|
38 |
+
'single' => true,
|
39 |
+
'show_in_rest' => true,
|
40 |
+
) );
|
41 |
+
|
42 |
+
register_meta( 'post', 'bgseo_robots_index', array(
|
43 |
+
'type' => 'string',
|
44 |
+
'single' => true,
|
45 |
+
'show_in_rest' => true,
|
46 |
+
) );
|
47 |
+
|
48 |
+
register_meta( 'post', 'bgseo_robots_follow', array(
|
49 |
+
'type' => 'string',
|
50 |
+
'single' => true,
|
51 |
+
'show_in_rest' => true,
|
52 |
+
) );
|
53 |
+
}
|
54 |
+
}
|
includes/class-boldgrid-seo.php
CHANGED
@@ -66,6 +66,7 @@ class Boldgrid_Seo {
|
|
66 |
$this->boldgrid_seo_admin();
|
67 |
$this->load_butterbean();
|
68 |
$this->enqueue_scripts();
|
|
|
69 |
}
|
70 |
/**
|
71 |
* Load the BoldGrid SEO JS and CSS Files.
|
@@ -102,6 +103,18 @@ class Boldgrid_Seo {
|
|
102 |
$this->loader->add_filter( 'butterbean_control_template', $butterbean, 'get_html_template', 10, 2 );
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
/**
|
106 |
* Load the required dependencies for this plugin.
|
107 |
*
|
66 |
$this->boldgrid_seo_admin();
|
67 |
$this->load_butterbean();
|
68 |
$this->enqueue_scripts();
|
69 |
+
$this->register_meta();
|
70 |
}
|
71 |
/**
|
72 |
* Load the BoldGrid SEO JS and CSS Files.
|
103 |
$this->loader->add_filter( 'butterbean_control_template', $butterbean, 'get_html_template', 10, 2 );
|
104 |
}
|
105 |
|
106 |
+
/**
|
107 |
+
* Register meta values so they can show up in the REST API.
|
108 |
+
*
|
109 |
+
* @since 1.6.5
|
110 |
+
*
|
111 |
+
* @return void
|
112 |
+
*/
|
113 |
+
public function register_meta() {
|
114 |
+
$meta = new Boldgrid_Seo_Meta( $this->configs );
|
115 |
+
$this->loader->add_filter( 'init', $meta, 'register' );
|
116 |
+
}
|
117 |
+
|
118 |
/**
|
119 |
* Load the required dependencies for this plugin.
|
120 |
*
|
languages/bgseo.pot
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the bgseo package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"PO-Revision-Date:
|
11 |
"Language-Team: The BoldGrid Team <support@boldgrid.com>\n"
|
12 |
"X-Poedit-Basepath: ..\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
1 |
+
# Copyright (C) 2020 bgseo
|
2 |
# This file is distributed under the same license as the bgseo package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
11 |
"Language-Team: The BoldGrid Team <support@boldgrid.com>\n"
|
12 |
"X-Poedit-Basepath: ..\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: boldgrid, timph, rramo012, imh_brad, joemoto
|
3 |
Tags: seo, search engine optimization, content analysis, readability, boldgrid
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.3
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -78,6 +78,12 @@ The BoldGrid Easy SEO plugin is open source software. Join in on our [GitHub rep
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
= 1.6.4 =
|
82 |
|
83 |
Release Date: December 17th, 2019
|
2 |
Contributors: boldgrid, timph, rramo012, imh_brad, joemoto
|
3 |
Tags: seo, search engine optimization, content analysis, readability, boldgrid
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 5.4
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.6.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 1.6.5 =
|
82 |
+
|
83 |
+
Release Date: March 19th, 2020
|
84 |
+
|
85 |
+
* Update: Register meta values.
|
86 |
+
|
87 |
= 1.6.4 =
|
88 |
|
89 |
Release Date: December 17th, 2019
|