This solution adds a checkbox which you can use to show or hide the hero section from the front page on any inner page/post type.
It uses ACF to add a checkbox like this :
In this screenshot, it shows before the single post entry title.
On archive pages, the hero section shows after the archive title like this :
If ACF is inactive, you can still show or hide the hero section using WordPress custom fields :
Use a value of 0 to hide and 1 to show on single posts/pages if you prefer not to use ACF.
You can also use custom code to add a checkbox which is added to single posts & single pages.
See how it works on all page types in the following demo video :
Watch Demo Video #
Shows the hero section displayed on any inner page or post types using a checkbox added to admin screens.
File Installation #
There’s 3 steps relating to usage of the files in the download folder for registered members :
Step 1 : Upload the folder named hero to the Academy Pro themes root directory.