This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
onny:notizen:programmierung [2022/03/17 19:34] – old revision restored (2022/03/08 10:48) 65.108.46.72 | onny:notizen:programmierung [2022/03/18 22:17] – old revision restored (2022/03/17 01:06) 2a01:4f9:4b:19e9::2 | ||
---|---|---|---|
Line 675: | Line 675: | ||
' | ' | ||
) ); | ) ); | ||
+ | </ | ||
+ | |||
+ | customizer add option custom text | ||
+ | <code php> | ||
+ | function theme_customize_register( $wp_customize ) { | ||
+ | |||
+ | $wp_customize-> | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ),); | ||
+ | |||
+ | $wp_customize-> | ||
+ | $wp_customize, | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ) | ||
+ | ) ); | ||
+ | |||
+ | } | ||
+ | |||
+ | add_action( ' | ||
+ | </ | ||
+ | |||
+ | print setting text inside template | ||
+ | <code php> | ||
+ | <?php echo get_option(' | ||
</ | </ | ||
===== sql ===== | ===== sql ===== |