setIcon('cake') ->make([ 'rewrite' => [ 'slug' => 'before-and-after/by/age', 'with_front' => false, ], 'for' => [ 'progress', ] ]) ->setAll([ 'show_directory', 'show_feed', ]); //$directory = $age->getConfig('directory'); } function altr_age_fields():void { if (!class_exists('JVBase\registrar\Registrar')) { return; } $age = Registrar::getInstance('age'); $fields = $age->fields(); $fields->addCommon('wiki'); } function altr_age_schema():array { return [ 'name' => 'How to Remove a {{name}} Old Tattoo - Before & After', ]; } function altr_age_meta():array { return[ 'name' => 'How to Remove a {{name}} Old Tattoo - Before & After', 'description' => 'See laser removal results on tattoos that are {{name}} old. Older ink often responds differently to treatment.' ]; } function altr_age_archive(array $defaults):array { return array_merge($defaults, [ 'name' => 'Removing {{term_name}} Old Tattoos – Before & After', ]); } function altr_age_reference_schema(array $defaults):array { return $defaults; } // //function altr_age():array //{ // return [ // 'singular' => 'Age of Tattoo', // 'plural' => 'Ages of Tattoo', // 'icon' => 'cake', // 'show_feed' => true, // 'show_directory'=> true, // 'rewrite' => [ // 'slug' => 'before-and-after/by/age', // 'with_front' => false, // 'hierarchical' => false, // ], // 'hierarchical' => false, // 'for_content' => [ // 'progress', // ], // 'seo' => [ // 'meta' => [ // 'title' => '{{term_name}} Old Tattoo Removal – Before & After', // 'description' => 'See laser removal results on tattoos that are {{term_name}} old. Older ink often responds differently to treatment.', // ], // 'schema' => [ // 'type' => 'CollectionPage', // 'name' => '{{term_name}} Old Tattoo Removal Results', // ], // 'archive' => [ // 'type' => 'CollectionPage', // 'name' => 'Removing {{term_name}} Old Tattoos – Before & After', // ], // ], // 'fields' => [ // 'term_name' => [ // 'label' => 'Name', // 'type' => 'text', // 'subtype' => 'number', // 'quickEdit' => true, // ], // 'common' => [ 'wiki' ] // ] // ]; //}