Can anyone help with this PHP problem $dispnosidebar = get_option('it_disp_noside_bar');
PHP Help Needed
8
Can anyone help with this PHP problem
$dispnosidebar = get_option('it_disp_noside_bar');
The variable above gets the values I need from the options page in wordpress. The problem I am having is getting the variable/values into the code below where the 2,9 is.
if ($dispsidebar == "Left" && in_array( $post->ID, array(2,9))) { ?>
Thanks
Andrew Black
$dispnosidebar = get_option('it_disp_noside_bar');
The variable above gets the values I need from the options page in wordpress. The problem I am having is getting the variable/values into the code below where the 2,9 is.
if ($dispsidebar == "Left" && in_array( $post->ID, array(2,9))) { ?>
Thanks
Andrew Black
- SteveJohnson
- [1] reply
- andy black
- imarketstuff
- [1] reply
- andy black
- SteveJohnson
- [ 1 ] Thanks
- andy black
- [1] reply
- SteveJohnson
- sonamparihar Banned
Next Topics on Trending Feed
-
8