there are couple different ways you can do it.. good example of this is payment field based on answer or perhaps drop down box of answers based on in the from. The concept applies when you add conditional logic to WordPress menus. The plugin we will use today to add conditional logic to WordPress menu is called If Menu.. To add conditional logic to WordPress menus using this plugin, the first thing you want to do is install and activate If Menu plugin... This will enable you to apply another type of conditional logic to the menu item and make it even more dynamic... Once you have made all your choices for the in WordPress menu you working on, click on the. If you would like to view their detailed list you can find it in WordPress codex for conditional tags.. Add the code below to the function greengeeks new menu conditions { $conditions = array { callback - must return TRUE or FALSE return is post type archive } ) return $conditions }. Have you found that using conditional WordPress menus allows you to create and deploy more dynamic layouts for your site users to enjoy...
Read more