0

I am looking to change 'register' to 'join' in the wp admin bar for logged out users. How can this be achieved?

  • 1
    Can you explain more on this? These kind of questions make more sense with an image to explain it better – Maruti Mohanty Nov 11 '13 at 19:40
  • The admin bar doesn't display by default for non-logged in users. What plugins/theme are you running that does? Have you looked at that code to see how it's displaying it? – Andrew Bartel Nov 11 '13 at 21:01
0

Are you referring to the meta bar where people can login or register? I'd recommend using jQuery, because if you make the change to the core, it'll be overwritten once you update it.

$('a[href*="register"]').text('join');

This basically states find an anchor tag where the href contains the word register. Once it finds it, it changes the inner text to 'join'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.