I would like to change the main menu of the theme (betheme) on pages with DW QA Pro content.
is_singular( ‘dwqa-question’ ) works only on pages displaying questions / answers, but not on a page with question list (e.g. using [dwqa-list-questions])
Have I to change the theme-menu.php? is_page( array( 42, ‘about-me’, ‘About Me And Joe’ ) ) doesn’t work.
Thank you, best regards
In this case, you can use the following plugin: https://wordpress.org/plugins/different-menus-in-different-pages/
Please login or Register to submit your answer