Last active
September 24, 2017 10:09
-
-
Save HelloAlberuni/f077a63eba5e882432b3f5db7488e036 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$container_size = 'container'; | |
// theme option value | |
if($uniqlo_opt['uniqlo_header_full_width'] == true){ | |
$container_size = 'container-fluid'; | |
} | |
// page meta value | |
$page_box_style = get_post_meta( get_the_id(), '_uniqlo_page_box_style', true ); | |
if($page_box_style != 'none' && !empty($page_box_style)){ | |
$container_size = 'container-fluid'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment