Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

StyledThemes on "Conditionals in functions from customizer"

$
0
0

Is there a way to create a conditional in the functions.php to load something if a particular option setting is set from the WP Customizer? This one has got me puzzled beyond belief on how to achieve this.

Basically I want to enqueue a script for the blog home page based on a theme option setting.


Viewing all articles
Browse latest Browse all 8245

Trending Articles