__('Primary Menu', 'reactify'), )); }); add_action('wp_enqueue_scripts', function () { $theme_version = wp_get_theme()->get('Version'); wp_enqueue_style('reactify-style', get_stylesheet_uri(), array(), $theme_version); $css_dir = get_theme_file_path('/assets/css'); if (is_dir($css_dir)) { foreach (glob($css_dir . '/*.css') as $css_file) { $filename = basename($css_file, '.css'); // Block-extension styles are owned by Stellar Block Core. if (in_array($filename, array('editor', 'contact-form', 'global-visibility'), true)) { continue; } $file_uri = get_theme_file_uri('/assets/css/' . basename($css_file)); wp_enqueue_style('reactify-' . $filename, $file_uri, array(), filemtime($css_file)); } } }); add_action('init', function () { if (function_exists('register_block_style')) { register_block_style( 'core/button', array( 'name' => 'reactify-outline', 'label' => __('Reactify Outline', 'reactify'), 'inline_style' => '.wp-block-button.is-style-reactify-outline .wp-block-button__link{background:transparent;color:var(--wp--preset--color--main-red);border:2px solid currentColor;}', ) ); } if (function_exists('register_block_pattern')) { register_block_pattern( 'reactify/hero-call-to-action', array( 'title' => __('Hero Call to Action', 'reactify'), 'categories' => array('featured'), 'content' => '
' . esc_html__('Start with a clean full-site editing layout and adapt every section in the WordPress Site Editor.', 'reactify') . '