I Developed My Theme To Provide two Ways of Customization, Settings API & Customization Manager API, After Finishing the Work in the Dashboard , i tried to implement them for the front-end customization, But i discovered that when i check some option in the settings API it works fine, without check it from the customizer API, But in The Conditional Work i did that some portion of code should appear in the theme incase the setting and the option is checked ( && ), But i tried to figure out what happens But unfortunately Nothing special Happens .
That's My Code :
<?php if ( get_option( 'busymarkets-left-btm-footer-setting' ) && get_theme_mod( 'busym-fbl-setting', true ) ) : ?> <div class="col-md-6"> <div class="footer-copyright-text"> <?php if ( is_active_sidebar('busy-footer-lb-sidebar') ) : dynamic_sidebar('busy-footer-lb-sidebar'); endif; ?> </div> </div> <?php endif;
As You See In The Code Above, i'm Working with The Operator
( && ) So The Portion of code which is Above The Sidebar Should Only Appears When The User Check The option and the setting, but unfortunately it worked like when we use the operator
( || ) .
I'm Sorry For My English , and Please If Someone Has A solution For this Override , Please Help and Thanks in Advance .