WordPress.org

Support

Support » Plugins and Hacks » Login With Ajax » Change Widget Header (instead of "Log In"

Change Widget Header (instead of "Log In"

Viewing 5 replies - 1 through 5 (of 5 total)
  • Steve,
    Did you get an answer to this one, or work out how to do it?

    I’m trying to do exactly the same thing.

    I tried changing the following section of the login-with-ajax.pot file, but it didn’t work

    #: widget/default/widget_out.php:10 widget/default/widget_out.php:35
    msgid "Log In"
    msgstr ""

    Regards,

    Robert

    Hi Robert…

    I’m still looking. If I can’t find an answer by the end of the week, I’ll abandon this plug in and use another (since there like 500 login plugins available…)

    Steve,

    I just cracked this one, after going down a couple of rabbit holes.

    You need to edit the following file:

    /wp-content/plugins/login-with-ajax/widget/default/widget_out.php

    Edit line 10 to use whatever string you want:

    echo $before_widget . $before_title . '<span id="LoginWithAjax_Title">' . __('Member Log-In') . '</span>' . $after_title;

    Hope this helps.

    Robert

    Hi Robert,

    Thank you! That worked perfect. I was working on this over the weekend and completely stumped. Thanks again for this nice little hack.

    Steve

    Hi Steve,

    Glad to be of help. It had me stumped for a while, too!

    If you take a look at login-with-ajax.pot, and search for the literal you’d like to change, it will tell you which file it is in and where:

    ‘#: widget/default/widget_out.php:10 widget/default/widget_out.php:35
    msgid “Member Log-in”
    msgstr “”‘

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Widget Header (instead of "Log In"’ is closed to new replies.
Skip to toolbar