Forums

Theme My Login
Changing "Log In" and "Log Out" labels? (4 posts)

  1. randyhoyt
    Member
    Posted 1 year ago #

    I added the Login page to my menu. The label of that link is "Log In" when the site visitor is not logged in and "Log Out" when the site visitor is logged in. I would like to change these labels to the following:

    * Client Login
    * Logout

    I found the code in the plugin where I can change these, but is there a way I can do this so that I can safely upgrade?

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Posted 1 year ago #

    You can do this safely one of two ways.

    1. Create a translation (PO) file and change them there.
    2. Use a filter.
  3. randyhoyt
    Member
    Posted 1 year ago #

    I would like to use a filter. Any tip on what that would look like? Is it a filter on the_title()?

  4. Jeff Farthing
    Member
    Posted 1 year ago #

    Actually, if you are using a custom page menu, the filter would be "wp_setup_nav_menu_item".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic