This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
onny:notizen:programmierung [2022/03/09 16:27] – [javascript] 46.223.162.30 | onny:notizen:programmierung [2022/03/10 17:30] – [wordpress] 185.52.247.41 | ||
---|---|---|---|
Line 712: | Line 712: | ||
<code php> | <code php> | ||
<?php echo get_option(' | <?php echo get_option(' | ||
+ | </ | ||
+ | |||
+ | customizer color chooser | ||
+ | <code php> | ||
+ | function theme_customize_register( $wp_customize ) { | ||
+ | |||
+ | $wp_customize-> | ||
+ | ' | ||
+ | ' | ||
+ | ) ); | ||
+ | |||
+ | $wp_customize-> | ||
+ | $wp_customize, | ||
+ | ' | ||
+ | ' | ||
+ | ) ) ); | ||
+ | |||
+ | }; | ||
+ | |||
+ | function fachwerksauna_customize_css() | ||
+ | { | ||
+ | $theme_color = get_theme_mod(' | ||
+ | ?> | ||
+ | < | ||
+ | :root { | ||
+ | --themeColor: | ||
+ | } | ||
+ | </ | ||
+ | <?php | ||
+ | } | ||
+ | |||
+ | add_action( ' | ||
</ | </ | ||
===== sql ===== | ===== sql ===== |