Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
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

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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