Answer the question
In order to leave comments, you need to log in
How to hide the menu on the specified page in WP?
How to hide the top menu on a page with a given ID in wordpress (4.8)?
Answer the question
In order to leave comments, you need to log in
const Example = () => {
const [isLoading, setLoading] = useState(true);
const handleOnLoad = () => {
setLoading(false);
};
return (
<>
{isLoading && <Preloader />}
<iframe
title="iframe"
src="..."
onLoad={handleOnLoad}
/>
</>
);
};
For example, using the is_page conditional tag
<?php if(!is_page(48)) {
wp_nav_menu();
} ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question