setIcon('crosshair') ->make([ 'rewrite' => [ 'slug' => 'before-and-after/by/goal', 'with_front' => false, 'hierarchical' => true ], 'description' => 'Complete tattoo removal or fading for a cover up tattoo (or unknown)', 'hierarchical' => true, 'for' => [ 'progress', ], ]) ->setAll([ 'show_directory', 'show_feed', ]); //$directory = $goal->getConfig('directory'); } function altr_goal_fields():void { if (!class_exists('JVBase\registrar\Registrar')) { return; } $goal = Registrar::getInstance('goal'); $fields = $goal->fields(); $fields->addCommon('wiki'); } function altr_goal_schema():array { return [ 'name' => '{{name}} Laser Tattoo Removal Before & Afters', ]; } function altr_goal_meta():array { return[ 'name' => '{{name}} – Before & After Laser Tattoo Removal', 'description' => 'Before and after results for clients seeking {{term_name}}. See how PicoWay laser technology delivers results in Edmonton.', ]; } function altr_goal_archive(array $defaults):array { return array_merge($defaults, [ 'name' => '{{name}} – Laser Tattoo Removal Results', ]); } function altr_goal_reference_schema(array $defaults):array { return $defaults; } // //function altr_goal():array //{ // return [ // 'singular' => 'Goal', // 'plural' => 'Goals', // 'icon' => 'crosshair', // 'description' => [ // 'Complete tattoo removal or fading for a cover up tattoo (or unknown)' // ], // 'show_feed' => true, // 'show_directory'=> true, // 'rewrite' => [ // 'slug' => 'before-and-after/by/goal', // 'with_front' => false, // ], // 'for_content' => [ // 'progress', // ], // 'seo' => [ // 'meta' => [ // 'title' => '{{term_name}} – Before & After Laser Tattoo Removal', // 'description' => 'Before and after results for clients seeking {{term_name}}. See how PicoWay laser technology delivers results in Edmonton.', // ], // 'schema' => [ // 'type' => 'CollectionPage', // 'name' => '{{term_name}} Before & Afters', // ], // 'archive' => [ // 'type' => 'CollectionPage', // 'name' => '{{term_name}} – Laser Tattoo Removal Results', // ], // ], // 'fields' => [ // 'term_name' => [ // 'label' => 'Name', // 'type' => 'text', // 'quickEdit' => true, // ], // 'common' => [ 'wiki' ] // ] // ]; //}