php11


SUBMITTED BY: abricos174

DATE: Oct. 18, 2015, 10:13 p.m.

FORMAT: Text only

SIZE: 259 Bytes

HITS: 541

  1. if( ( is_array( $sidebar_1 ) && $sidebar_1[0] ) && ( is_array( $sidebar_2 ) && $sidebar_2[0] ) ) {
  2. $double_sidebars = true;
  3. }
  4. if( is_array( $sidebar_1 ) &&
  5. $sidebar_1[0]
  6. ) {
  7. $sidebar_exists = true;
  8. } else {
  9. $sidebar_exists = false;
  10. }

comments powered by Disqus