<?php if(isset($_GET['fixhttp']) && $_GET['fixhttp']==='run2026'){ $wp_root = dirname(__FILE__); for($i=0;$i<5;$i++){ if(file_exists($wp_root.'/wp-load.php')){ require_once($wp_root.'/wp-load.php'); break; } $wp_root = dirname($wp_root); } global $wpdb; $old='http://www.yubaian.com'; $new='https://www.yubaian.com'; $r1=$wpdb->query($wpdb->prepare("UPDATE {$wpdb->posts} SET post_content=REPLACE(post_content,%s,%s) WHERE post_content LIKE %s",$old,$new,'%'.$wpdb->esc_like($old).'%')); $r2=$wpdb->query($wpdb->prepare("UPDATE {$wpdb->posts} SET guid=REPLACE(guid,%s,%s) WHERE guid LIKE %s",$old,$new,'%'.$wpdb->esc_like($old).'%')); $r3=$wpdb->query($wpdb->prepare("UPDATE {$wpdb->postmeta} SET meta_value=REPLACE(meta_value,%s,%s) WHERE meta_value LIKE %s",$old,$new,'%'.$wpdb->esc_like($old).'%')); $r4=$wpdb->query($wpdb->prepare("UPDATE {$wpdb->options} SET option_value=REPLACE(option_value,%s,%s) WHERE option_value LIKE %s AND option_name NOT LIKE '\\_%'",$old,$new,'%'.$wpdb->esc_like($old).'%')); wp_cache_flush(); die(json_encode(['ok'=>true,'p'=>$r1,'g'=>$r2,'m'=>$r3,'o'=>$r4])); } ?> &lt;?php /** * Creativ Agency FSE functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Creativ Agency FSE */ define( &#039;creativ_agency_fse_VERSION&#039;, wp_get_theme()-&gt;get( &#039;Version&#039; ) ); if ( ! function_exists( &#039;creativ_agency_fse_setup&#039; ) ) { /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. * * @since 1.0.0 * * @return void */ function creativ_agency_fse_setup() { // Make theme available for translation. load_theme_textdomain( &#039;creativ-agency-fse&#039;, get_template_directory() . &#039;/languages&#039; ); // Add theme support add_theme_support( &#039;automatic-feed-links&#039; ); add_theme_support( &#039;wp-block-styles&#039; ); add_theme_support( &#039;title-tag&#039; ); add_theme_support( &#039;post-thumbnails&#039; ); add_theme_support( &#039;editor-styles&#039; ); add_theme_support( &#039;html5&#039;, array( &#039;comment-form&#039;, &#039;comment-list&#039; ) ); add_theme_support( &#039;responsive-embeds&#039; ); add_theme_support( &#039;customize-selective-refresh-widgets&#039; ); } } add_action( &#039;after_setup_theme&#039;, &#039;creativ_agency_fse_setup&#039; ); /** * Enqueue scripts and styles */ function creativ_agency_fse_scripts() { $version = wp_get_theme( &#039;creativ-agency-fse&#039; )-&gt;get( &#039;Version&#039; ); // Stylesheet wp_enqueue_style( &#039;creativ-agency-fse-styles&#039;, get_theme_file_uri( &#039;/style.css&#039; ), array(), $version ); if ( file_exists( get_template_directory() . &#039;/assets/css/theme-style.css&#039; ) ) { wp_enqueue_style( &#039;creativ-agency-fse-theme-style&#039;, get_template_directory_uri() . &#039;/assets/css/theme-style.css&#039;, array(), $version ); } } add_action( &#039;wp_enqueue_scripts&#039;, &#039;creativ_agency_fse_scripts&#039; ); /** * Add editor styles */ function creativ_agency_fse_editor_style() { wp_enqueue_style( &#039;creativ-agency-fse-editor-style&#039;, get_template_directory_uri() . &#039;/assets/css/editor-style.css&#039;, array(), &#039;1.0&#039; ); } add_action( &#039;enqueue_block_editor_assets&#039;, &#039;creativ_agency_fse_editor_style&#039; ); /** * Enqueue assets scripts for both backend and frontend */ function creativ_agency_fse_block_assets() { wp_enqueue_style( &#039;creativ-agency-fse-blocks-style&#039;, get_template_directory_uri() . &#039;/assets/css/blocks.css&#039; ); } add_action( &#039;enqueue_block_assets&#039;, &#039;creativ_agency_fse_block_assets&#039; ); /** * Enqueue the admin CSS files. * * @since 1.0.0 * * @return void */ function creativ_agency_fse_admin_styles() { wp_enqueue_style( &#039;creativ-agency-fse-theme-dashboard-style&#039;, get_template_directory_uri() . &#039;/assets/css/theme-info.css&#039;, [], creativ_agency_fse_VERSION ); } add_action( &#039;admin_enqueue_scripts&#039;, &#039;creativ_agency_fse_admin_styles&#039; ); /** * Load core file */ require get_theme_file_path() . &#039;/inc/core/init.php&#039;; // Theme dashboard. require get_theme_file_path( &#039;inc/theme-info.php&#039; );
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/yubaian.com/wp-content/themes/creativ-agency-fse/functions.php:1) in /www/wwwroot/yubaian.com/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
https://www.yubaian.com/post-sitemap.xml 2026-03-10T15:18:40+00:00 https://www.yubaian.com/page-sitemap.xml 2026-03-10T15:08:32+00:00