For some reason I cannot output the color. Everything works, but text_color just doesn’t want to output its value. What is going wrong? Back end code (functions.php): $wp_customize->add_setting('text_color', array(...
  • May 23, 2022
  • 0 Comments
I’m working on a website of a client and I’m trying to add social media links to the customizer, which then can be called through get_theme_mod, via a shortcode....
  • May 22, 2022
  • 0 Comments
Does someone know how to write the next line in wordpress PHP, because i’m not that great with PHP. If_theme_mode has content echo { my content } else {...
  • May 21, 2022
  • 0 Comments
I’m using the WordPress customizer feature to configure my theme and I constantly bumping into the same annoying issue, sometimes I don’t get any value from get_theme_mod while I...
  • May 18, 2022
  • 0 Comments
PHP newbie here, and I have this on my functions.php function mcs_social($wp_customize){ $wp_customize->add_section('mcs_social_handle', array( 'title' => __('Social Network Handles', 'mcs'), 'description' => 'i.e., Acme Company\'s Facebook is https://facebook.com/acmecompany then...
  • May 14, 2022
  • 0 Comments