at path:
ROOT
/
wp-content
/
themes
/
kadu
/
inc
/
dynamic-style.php
run:
R
W
Run
admin
DIR
2025-12-13 10:18:31
R
W
Run
breadcrumb-init.php
8.85 KB
2024-06-25 08:54:22
R
W
Run
Delete
Rename
class-wp-kadu-navwalker.php
21.13 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
cs-framework-functions.php
2.75 KB
2024-07-04 04:06:28
R
W
Run
Delete
Rename
custom-header.php
1.8 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
customizer.php
1.6 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
dynamic-style.php
1.45 KB
2024-07-04 04:29:24
R
W
Run
Delete
Rename
jetpack.php
1.45 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
kadu-functions.php
5.99 KB
2024-07-04 04:07:09
R
W
Run
Delete
Rename
kadu-helper-class.php
2.33 KB
2024-07-04 04:00:37
R
W
Run
Delete
Rename
remove_actions.php
1.41 KB
2023-09-30 10:46:10
R
W
Run
Delete
Rename
template-functions.php
17.14 KB
2024-06-23 05:40:36
R
W
Run
Delete
Rename
template-tags.php
3.69 KB
2024-06-23 12:25:22
R
W
Run
Delete
Rename
error_log
up
📄
dynamic-style.php
Save
<?php // File Security Check if (!defined('ABSPATH')) { exit; } function kadu_theme_options_style() { // // Enqueueing StyleSheet file // wp_enqueue_style('kadu-theme-custom-style', get_template_directory_uri() . '/assets/css/custom-style.css'); $css_output = ''; $primery_color = cs_get_option('theme-color-1'); $primery_color2 = cs_get_option('theme-color-2'); $primery_color3 = cs_get_option('theme-color-3'); $primery_color4 = cs_get_option('theme-color-4'); /** * Theme Primery Global Color */ if (!empty($primery_color)) { $css_output .= ' :root { --kd-clr-pr-1: ' . esc_attr($primery_color) . ' } '; } if (!empty($primery_color2)) { $css_output .= ' :root { --kd-clr-pr-4: ' . esc_attr($primery_color2) . ' } '; } if (!empty($primery_color3)) { $css_output .= ' :root { --kd-clr-sd-1: ' . esc_attr($primery_color3) . ' } '; } if (!empty($primery_color4)) { $css_output .= ' :root { --kd-clr-sd-4: ' . esc_attr($primery_color4) . ' } '; } wp_add_inline_style('kadu-theme-custom-style', $css_output); } add_action('wp_enqueue_scripts', 'kadu_theme_options_style');