Monday, 26 August 2013

How can i change menu link when page content empty?

How can i change menu link when page content empty?

I have a menu with parent and child. I created menu from admin panel using
Appearance >> Menus with selecting page. But some of my parent pages
content empty so i want to set link(null) when page content empty as like
:
<a href='javascript:void()'> Page Name </a>
i can do it set custom menu and link. But i want it dynamic if it is
possible? any idea

No comments:

Post a Comment