how to disable the theme gallery on a custom post type page
-
Hi, dear theme author,
how to disable the theme gallery on a custom post type page (in this case “advert”)?
When zoomed on mobile, the theme gallery default open once, how to close it?
There is existing code i found below but it does not work:
add_filter(‘ocean_meta_viewport’, ‘owp_child_viewport’);
function owp_child_viewport( $viewport ){
$viewport = ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0″>’;
return $viewport;
}Thank you in advance for helping!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘how to disable the theme gallery on a custom post type page’ is closed to new replies.