| | |
| | | $schema[] = $seo->schema()->outputSingularSchema(); |
| | | } |
| | | }elseif (is_post_type_archive($this->types)) { |
| | | error_log('It is a post type archive'); |
| | | |
| | | $type = get_queried_object(); |
| | | $type = $type->name; |
| | | $registrar = Registrar::getInstance($type); |
| | |
| | | return intval(get_option(BASE.$item.'_archive', false)); |
| | | },Registrar::getFeatured('is_content', 'term')))); |
| | | |
| | | if (is_page($isContent)){ |
| | | if (!empty($isContent) && is_page($isContent)){ |
| | | $type = get_post_meta(get_the_id(), BASE.'for_type', true); |
| | | error_log('Type: '.print_r($type, true)); |
| | | // error_log('Type: '.print_r($type, true)); |
| | | if (!empty($type)) { |
| | | $registrar = Registrar::getInstance($type); |
| | | if ($registrar) { |