esc_html__( 'Pricing', 'avista' ), ) ); } add_action( 'init', 'avista_register_block_pattern_category' ); /** * Register block styles. */ if ( ! function_exists( 'avista_register_block_styles' ) ) : /** * Register custom block styles * * @since Avista 1.0 * @return void */ function avista_register_block_styles() { if ( function_exists( 'register_block_style' ) ) : register_block_style( 'core/list', array( 'name' => 'checkmark-list', 'label' => __( 'Checkmark', 'avista' ), /* * Styles for the custom checkmark list block style */ 'inline_style' => ' ul.is-style-checkmark-list { list-style-type: "\2714"; } ul.is-style-checkmark-list li { padding-inline-start: 1ch; }', ) ); register_block_style( 'core/navigation-link', array( 'name' => 'arrow-link', 'label' => __( 'With arrow', 'avista' ), /* * Styles for the custom arrow nav link block style */ 'inline_style' => ' .is-style-arrow-link .wp-block-navigation-item__label:after { content: "\2197"; padding-inline-start: 0.25rem; vertical-align: middle; text-decoration: none; display: inline-block; }', ) ); endif; } endif; add_action( 'init', 'avista_register_block_styles' );