Hide the empty parent page

  • Mod

    Kenneth John Odle

    #20494

    You would want to use a custom menu (Appearance >> Menus)

    This post will tell you how: http://blog.kjodle.net/2011/08/25/how-to-create-and-use-custom-menus-in-wordpress/

    Tomy1734

    #20495

    OK, I have custom menu and must add to this menu custom URL, like http://#. with Custom Link Label with the name of the parent page?

    Mod

    Kenneth John Odle

    #20496

    No, not http://# — This will cause errors if someone clicks on it.

    Just use # — this will just take a user to the top of the page if they click on it. And since they are already at the top of the page, they won’t really go anywhere.

    Admin

    Syahir Hakim

    #20497

    You can actually delete the dummy link after you have added the custom link. That will cause the menu item to be not clickable at all.

    Tomy1734

    #20498

    I created a custom menu aading Pages I see from the left on Appearance/Menu. For the empty parent pages I use Custom Links put only # and Label is the Name of the Empty Parent Page. After that I “add to Menu” this custom link. I make something wrong because no result.

    Mod

    Kenneth John Odle

    #20499

    Did you tell the theme to use the custom menu in the main navigation bar under “Theme Locations”?

    Tomy1734

    #20500

    Additionally my posts on cyrillic displayed wrong as special symbols. This problem is only for posts content, not for pages content.

    Please also advise me how to achieve a same display on the site for Mozilla and IE?

    Tomy1734

    #20501

    Yes this is the reason!

    Finally it work.

    Thank you for the support !

Viewing 8 posts - 11 through 18 (of 18 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!