How can i change menu link when page content empty?
It’s hard to know if a link leads to an empty page without querying the database for each link in your menu first. That would certainly slow down your page loads. You could try the following method though. Add some text to the link, like “(empty)”. Use Javascript/jQuery to look for parent links. Check if … Read more