All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Don't print customizer styles when no setting has been used

I'm adding some options to a theme through my plugin, I want to change this theme styles and I'm almost there... Now I need to know how I can hide the <style> tag when no settings are changed (...
-1
votes
2answers
645 views

Echo Category In Loop

<?php $args = array( 'post_type' => 'product', 'stock' => 1, 'posts_per_page' => 4, 'product_cat' => '<?php echo get_theme_mod('vatname', 'Clothing'); ?>', '...
1
vote
1answer
2k views

Loop get_theme_mod

I've got a bunch of customizer settings set up Rather than calling individual get_theme_mod statements for each setting individually, is there a way to simplify it to loop thru them without having to ...