WordPress.org

Ready to get started?Download WordPress

Forums

Travelify
[resolved] Menu Travelify (12 posts)

  1. paolobros
    Member
    Posted 5 months ago #

    Hello. On the menu of the theme I get a voice "navigation" that links to the home page. Is not present in any of the menus and do not know how to remove it or, alternatively, change the name and position at the beginning of the Home menu. The site is http://www.lamicodelbonsai.it.
    Thank you for your help.

  2. Andrew
    Forum Moderator
    Posted 5 months ago #

    Are you using a screen reader?

  3. esmi
    Forum Moderator
    Posted 5 months ago #

    Can you confirm how many top-level items you have added to your custom menu?

  4. paolobros
    Member
    Posted 5 months ago #

    5 items
    Storia bonsai
    Valutazione bonsai
    Stili bonsai
    galleria
    contatti

    "Navigazione" it isn't on my custom menu

  5. paolobros
    Member
    Posted 5 months ago #

    @Andrews What do you mean by Screen reader?

  6. paolobros
    Member
    Posted 5 months ago #

    @esmi if you need I give you the credentials to access the administration panel

  7. esmi
    Forum Moderator
    Posted 5 months ago #

    No - please do not offer login details to anyone on this forum. We do not control who might read or respond to your posts, so we cannot guarantee how ethical they might be. Sadly some of the people who browse these forums do so for money-making purposes only. :-(

    Looks like this is rather strange feature in the theme whereby a default home/navigation link is added after a custom menu. To remove this you will need to create a child theme. Once that is done, add the following to the child theme's (previously completely empty) functions.php file:

    <?php
    function travelify_nav_menu_alter( $items, $args ) {
    	return $items;
    }
    ?>

    Then upload & activate the new child theme.

  8. paolobros
    Member
    Posted 5 months ago #

    uuuuh! Ok. I'm a beginner.
    I'll try! :-)

    Thank You!!!

  9. paolobros
    Member
    Posted 5 months ago #

    the functions.php file must contain only the code that you have written or do I add it to the theme of the father and then copy this theme in the last child?

  10. esmi
    Forum Moderator
    Posted 5 months ago #

    only the code that you have written

    Yes. In the child theme only.

  11. paolobros
    Member
    Posted 5 months ago #

    It Works!!!!!!!
    Thank You!!!
    :-)))))

  12. esmi
    Forum Moderator
    Posted 5 months ago #

    Excellent :-)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.