mirror of https://github.com/vtrois/kratos
fix: some syntax errors
parent
00941a00a8
commit
4a8dc6674b
|
@ -29,6 +29,7 @@ add_filter('wp_title', 'title', 10, 2);
|
||||||
function keywords()
|
function keywords()
|
||||||
{
|
{
|
||||||
global $post;
|
global $post;
|
||||||
|
$keywords = '';
|
||||||
if (is_home()) {
|
if (is_home()) {
|
||||||
$keywords = kratos_option('seo_keywords');
|
$keywords = kratos_option('seo_keywords');
|
||||||
} elseif (is_single()) {
|
} elseif (is_single()) {
|
||||||
|
@ -55,6 +56,7 @@ function keywords()
|
||||||
function description()
|
function description()
|
||||||
{
|
{
|
||||||
global $post;
|
global $post;
|
||||||
|
$description = '';
|
||||||
if (is_home()) {
|
if (is_home()) {
|
||||||
$description = kratos_option('seo_description');
|
$description = kratos_option('seo_description');
|
||||||
} elseif (is_single()) {
|
} elseif (is_single()) {
|
||||||
|
|
Loading…
Reference in New Issue