/** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ /** * Theme functions and definitions * * @package Advancea */ /** * After setup theme hook */ function advancea_theme_setup(){ /* * Make child theme available for translation. * Translations can be filed in the /languages/ directory. */ load_child_theme_textdomain( 'advancea' ); } add_action( 'after_setup_theme', 'advancea_theme_setup' ); /** * Load assets. */ function advancea_theme_css() { wp_enqueue_style( 'advancea-parent-theme-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'advancea_theme_css', 99); require get_stylesheet_directory() . '/theme-functions/controls/class-customize.php'; /** * Import Options From Parent Theme * */ function advancea_parent_theme_options() { $corpiva_mods = get_option( 'theme_mods_corpiva' ); if ( ! empty( $corpiva_mods ) ) { foreach ( $corpiva_mods as $corpiva_mod_k => $corpiva_mod_v ) { set_theme_mod( $corpiva_mod_k, $corpiva_mod_v ); } } } add_action( 'after_switch_theme', 'advancea_parent_theme_options' ); /** * Sample implementation of the Custom Header feature */ function advancea_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'advancea_custom_header_args', array( 'default-image' => '', 'default-text-color' => 'ffffff', 'width' => 1920, 'height' => 200, 'flex-height' => true, 'wp-head-callback' => 'corpiva_header_style', ) ) ); } add_action( 'after_setup_theme', 'advancea_custom_header_setup' ); https://tacktec.co/wp-sitemap-posts-post-1.xml2026-02-18T22:59:03+00:00https://tacktec.co/wp-sitemap-posts-page-1.xml2025-08-16T22:43:51+00:00https://tacktec.co/wp-sitemap-posts-forum-1.xml2025-08-30T07:50:55+00:00https://tacktec.co/wp-sitemap-taxonomies-category-1.xml2026-02-18T12:38:50+00:00https://tacktec.co/wp-sitemap-taxonomies-post_tag-1.xml2026-02-18T12:38:50+00:00https://tacktec.co/wp-sitemap-users-1.xml2026-02-18T12:38:50+00:00https://tacktec.co/sitemap-news.xml2026-02-18T12:38:50+00:00