Quantcast
Channel: User janh - WordPress Development Stack Exchange
Viewing all articles
Browse latest Browse all 40

Comment by janh on if statement with is_active_sidebar()

$
0
0
No, or rather: not necessarily. As long as either of those two sidebars are active (that is: contain widgets), the function will execute as if those lines weren't there at all. If both sidebars are inactive, however, the code following that condition will not execute.

Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>