????
Current Path : C:/inetpub/vhost/webkt.nextform.vn/wp-content/themes/fundifly-charity/inc/core/ |
Current File : C:/inetpub/vhost/webkt.nextform.vn/wp-content/themes/fundifly-charity/inc/core/block-style.php |
<?php /** * Block Styles * * @link https://developer.wordpress.org/reference/functions/register_block_style/ * * @package fundifly-charity * @since 1.0.0 */ if (function_exists('register_block_style')) { /** * Register block styles. * * @since 0.1 * * @return void */ function fundifly_charity_register_block_styles() { register_block_style( 'core/navigation', array( 'name' => 'link-hover-primary', 'label' => 'Hover : Primary', 'fundifly-charity' ) ); register_block_style( 'core/navigation', array( 'name' => 'link-hover-secondary', 'label' => 'Hover : Secondary', 'fundifly-charity' ) ); register_block_style( 'core/navigation', array( 'name' => 'link-hover-foreground', 'label' => 'Hover : Foreground', 'fundifly-charity' ) ); register_block_style( 'core/site-title', array( 'name' => 'title-hover-primary', 'label' => 'Hover : Primary', 'fundifly-charity' ) ); register_block_style( 'core/site-title', array( 'name' => 'title-hover-secondary', 'label' => 'Hover : Secondary', 'fundifly-charity' ) ); register_block_style( 'core/site-title', array( 'name' => 'title-hover-foreground', 'label' => 'Hover : Foreground', 'fundifly-charity' ) ); register_block_style( 'core/post-title', array( 'name' => 'title-hover-primary', 'label' => 'Hover : Primary', 'fundifly-charity' ) ); register_block_style( 'core/post-title', array( 'name' => 'title-hover-secondary', 'label' => 'Hover : Secondary', 'fundifly-charity' ) ); register_block_style( 'core/post-title', array( 'name' => 'title-hover-foreground', 'label' => 'Hover : Foreground', 'fundifly-charity' ) ); register_block_style( 'core/cover', array( 'name' => 'cover-hover-zoom-in', 'label' => 'Hover : Zoom In', 'fundifly-charity' ) ); register_block_style( 'core/cover', array( 'name' => 'cover-hover-zoom-out', 'label' => 'Hover : Zoom Out', 'fundifly-charity' ) ); register_block_style( 'core/post-featured-image', array( 'name' => 'cover-hover-zoom-in', 'label' => 'Hover : Zoom In', 'fundifly-charity' ) ); register_block_style( 'core/post-featured-image', array( 'name' => 'cover-hover-zoom-out', 'label' => 'Hover : Zoom Out', 'fundifly-charity' ) ); register_block_style( 'core/list', array( 'name' => 'list-hover-primary', 'label' => 'Hover: Primary | List Style : None' ) ); register_block_style( 'core/list', array( 'name' => 'list-hover-secondary', 'label' => 'Hover: Secondary | List Style : None' ) ); register_block_style( 'core/list', array( 'name' => 'list-hover-foreground', 'label' => 'Hover: Foreground | List Style : None' ) ); register_block_style( 'core/categories', array( 'name' => 'categories-hover-primary', 'label' => 'Hover: Primary | List Style : None' ) ); register_block_style( 'core/categories', array( 'name' => 'categories-hover-secondary', 'label' => 'Hover: Secondary | List Style : None' ) ); register_block_style( 'core/categories', array( 'name' => 'categories-hover-foreground', 'label' => 'Hover: Foreground | List Style : None' ) ); register_block_style( 'core/post-terms', array( 'name' => 'category-background-three', 'label' => 'Background : Three', 'newsetmag' ) ); register_block_style( 'core/post-terms', array( 'name' => 'category-background-primary', 'label' => 'Background : Primary', 'newsetmag' ) ); register_block_style( 'core/post-terms', array( 'name' => 'category-background-secondary', 'label' => 'Background : Secondary', 'newsetmag' ) ); } add_action('init', 'fundifly_charity_register_block_styles'); };