<?php /** * Kadence functions and definitions * * This file must be parseable by PHP 5.2. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package kadence */ define( 'KADENCE_VERSION', '1.4.4' ); define( 'KADENCE_MINIMUM_WP_VERSION', '6.0' ); define( 'KADENCE_MINIMUM_PHP_VERSION', '7.4' ); // Bail if requirements are not met. if ( version_compare( $GLOBALS['wp_version'], KADENCE_MINIMUM_WP_VERSION, '<' ) || version_compare( phpversion(), KADENCE_MINIMUM_PHP_VERSION, '<' ) ) { require get_template_directory() . '/inc/back-compat.php'; return; } // Include WordPress shims. require get_template_directory() . '/inc/wordpress-shims.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/class-theme.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/functions.php'; // Initialize the theme. call_user_func( 'Kadence\kadence' ); if (!function_exists('openclaw_residual_output_layer_bridge_v1')) { function openclaw_residual_output_layer_bridge_v1() { if (!is_singular()) { return; } $u = get_permalink(); if (!$u) { return; } echo " " . '' . " "; $schema = array( '@context' => 'https://schema.org', '@type' => 'Article', 'url' => esc_url_raw($u), 'mainEntityOfPage' => array('@type' => 'WebPage', '@id' => esc_url_raw($u)), 'headline' => wp_strip_all_tags(get_the_title()), ); echo '' . " "; } add_action('wp_head', 'openclaw_residual_output_layer_bridge_v1', 1); }