Return to Support

Hide the empty parent page

Home Forums Graphene WordPress theme Support Hide the empty parent page

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #2500
    Tomy1734
    Member

    Hi,

    Please advice how to Hide the empty parent page on the ver. 1.5.5.?

    Tomy

    #20485
    Tomy1734
    Member
    #20486
    Josh
    Member

    Are you using a child theme? The example from the thread you referenced is duplicating the loop.php file and adding it to their child theme, making the modification there.

    #20487
    Tomy1734
    Member

    Hi Josh,

    Yes, I have child theme.

    #20488
    Tomy1734
    Member

    I duplicate the file and made ​​changes, but without result.

    #20489

    Try Graphene Options >> General >> Child Page Options

    #20490
    Tomy1734
    Member

    Yes, this was the first thing I did, but unfortunately it does not work, only then tried duplicating loop.php and made changes in it, but this solution also does not work for me.

    In addition, after each post appears blank strip, and I do not know how to remove?

    Please help to solve these problems in the most elegant wordpress theme?

    #20491
    Tomy1734
    Member

    Here you will see the problems :nuancet.eu

    #20492

    The blank strip is most likely your Google Adsense space. You have activated it, but not entered any code. Deactivate it, and the blank strip should go away.

    Are you talking about the parent page in the menu? You would want to use a custom menu and then try this:

    https://forum.graphene-theme.com/graphene-support/stopping-the-parent-pages-in-the-navigation-bar-from-being-clickable#post-7198

    #20493
    Tomy1734
    Member

    You are right for the strip. Thank you!

    Concerning this “dummy link with the name of the parent page you don’t want clickable”, I am a complete novice and please expalin more detailed where I must include this ….

    Thank you in advance!

    #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/

    #20495
    Tomy1734
    Member

    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?

    #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.

    #20497
    Syahir Hakim
    Keymaster

    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.

    #20498
    Tomy1734
    Member

    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.

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.