Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Non-Clickable Links for il8N Navigation?
#8
(2013-05-30, 21:40:32)Angryboy Wrote: Did you manage to do this, lnickel?

If not (or just as a reference for others hoping to do the same), you can use Custom Fields to create a custom status (like 'nopage') for pages in the menu that takes either the value 'true' or 'false'. Then to alter the appearance of pages in the menu that have children (but do not have their own pages) use a conditional statement like:

Code:
if($item->hasChildren && $item->nopage=='true') {
  // output
}


Aw man Angryboy!!! You made me a happyBoy! I will try this in a jiffy! I was converting everything to wp....was frustrated! I will use this on my next project. Many thanks!!!
Reply


Messages In This Thread
RE: Non-Clickable Links for il8N Navigation? - by lnickel - 2013-05-31, 00:45:33



Users browsing this thread: 1 Guest(s)