inc/registrar/config/seo/Resolver.php
@@ -36,6 +36,13 @@ switch ($variable) { case 'CREATOR': return JVB()->seo()->getCreator(); case 'name': if (is_post_type_archive()) { $obj = get_queried_object(); $registrar = Registrar::getInstance($obj->name); return $registrar ? $registrar->getPlural() : $obj->label; } break; } if (str_contains($variable, '.')) { @@ -79,8 +86,10 @@ } } error_log('resolveRelation: '.print_r($path, true)); if (!$meta) { return''; } $ID = $meta->get($relation); if (!$ID || $ID === '') { return '';