Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    ssee the readme file about templating

    Thread Starter JRally

    (@jrally)

    Yeah, that kind of helped. I found where to edit the test in the widget, but something is forcing “log out” to stay all lower case. Not a problem on “blog admin” which I’ve changed to “Control Panel” without issue.

    Any idea why only the log out would be lower case? It’s capitalized in the code.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    just preference really, it’s a strtolower() function. you can change this by creating a template for lwa as described and modifying it however you want.

    For example you want change log out to Log Out
    when edit your widget_in.php (with Notepad) in line 45

    <a id="wp-logout" href="<?php echo wp_logout_url() ?>"><?php echo strtolower(__( 'log Out' )) ?></a><br />

    In this line you need change only one word: strtolower to ucfirst
    It’s a php function, that’s returns a string with the first character capitalized
    Read more…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Login With Ajax] Modify "log out" and "blog admin"’ is closed to new replies.