WordPress.org

Ready to get started?Download WordPress

Forums

Wallbase Theme Rename home button ? (13 posts)

  1. Ulrik_A
    Member
    Posted 1 year ago #

    Hi guys,

    I need help to rename my home button in the theme WallBase.
    Can someone help me with this ?

    Thanks

  2. gjeeter
    Member
    Posted 1 year ago #

    I'm not familiar with that theme. The menu should be in the header.php. The code will let you know if you can change it there. Is there an option in the theme settings to change it?

  3. curtismchale
    Member
    Posted 1 year ago #

    How about a link to the theme and to your site.

  4. Ulrik_A
    Member
    Posted 1 year ago #

  5. gjeeter
    Member
    Posted 1 year ago #

    curtis is right. If you could please post a link to both that would help us out.

    Thanks.

  6. gjeeter
    Member
    Posted 1 year ago #

    It is in the functions.php Change the from in there.

    Line 44

    <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    When making changes to themes you've not built from scratch, do so within a Child Theme. Otherwise changes you make will erase once you update the theme.

  8. gjeeter
    Member
    Posted 1 year ago #

    Andrew's response applies mainly to CSS. html outputs are different and will not always erase.

    In this case it being the functions.php. (I haven't tested it, but my bet is.. If you change line 44 it should do what you want.)

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    @gjeeter, This is untrue. Follow the resource from Codex on Child Themes in my first post on this thread.

  10. gjeeter
    Member
    Posted 1 year ago #

    Tested it. It works.

    <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Main</a></li>

    Change Main to whatever you want.

    This is line 44 of the functions.php

  11. Ulrik_A
    Member
    Posted 1 year ago #

    gjeeter

    That works great, thanks for the tips !!! :)

  12. tomchute
    Member
    Posted 1 year ago #

    Hi All,

    I'm having the same problem, and the fix works. However I would, as Andrew suggests, rather be modifying a child theme. The problem I have is that when I create a child theme and activate, the css loads OK, but the funcitonality (like the full screen slides and smooth drop down menu) do not.

    Any advice much appreciated.

  13. marmara34
    Member
    Posted 11 months ago #

    How tom make the change within child-theme. How to copy function.php into child-theme without getting errors?

    Can anyone help please?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags