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()
|
||||
{
|
||||
global $post;
|
||||
$keywords = '';
|
||||
if (is_home()) {
|
||||
$keywords = kratos_option('seo_keywords');
|
||||
} elseif (is_single()) {
|
||||
|
|
@ -55,6 +56,7 @@ function keywords()
|
|||
function description()
|
||||
{
|
||||
global $post;
|
||||
$description = '';
|
||||
if (is_home()) {
|
||||
$description = kratos_option('seo_description');
|
||||
} elseif (is_single()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue