do_shortcut + get_theme_mode doesn’t work
-
Hello
i get an issue, if i do a hardcode code<?php echo do_shortcode("[accordions id='337']"); ?>
, the content show up likes i setting them at the dashboard admin area, but if i want to make it dynamic and use customize to do that like this code<?php echo do_shortcode( get_theme_mod( 'set-about-us-shortcode' ); ?>
, the content doesn’t not show up, it only show a text “Demo Title Demo content”, please help me** the value of get_theme_mod( ‘set-about-us-shortcode’ ) is same with the hardcode [accordions id=’337′]..
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘do_shortcut + get_theme_mode doesn’t work’ is closed to new replies.