You can use conditional tags to optionally show or hide menu items. These tags are based on the conditional functions included in WordPress. Each tag targets a function which is executed and returns true or false. If the condition returns false, the menu item will be removed and not displayed on your site.

You can write your own conditional functions into the theme. Simply create a PHP function which returns a true or false value. Save it to the “functions.php” file and reference it using the same formatting formula as the other conditionals.

©2020 All content property of theDWM, all rights reserved

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you in three shakes of a hippogriff's tail.

Sending

Log in with your credentials

Forgot your details?