WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Login With Ajax] Add a link to widget

[Plugin: Login With Ajax] Add a link to widget

Viewing 5 replies - 1 through 5 (of 5 total)
  • hi there,
    1.in your wordpress menu go to Plugins-> Installed Plugins
    2.under “Login With Ajax” select Edit
    3.from the right sidebar choose : login-with-ajax/widget/widget.css
    4.then the right sidebar will update so choose : login-with-ajax/widget/default/widget_in.php
    5.go down in the codes (center of the page) and find this line : //Admin URL
    6.you can add your code here, something like this :

    if (get_user_meta( $current_user->ID , 'user_login' , true) == 'MYUSER' ) : ?>
    		<a href="http://mysite.com/MYUSER">MYUSER</a><br/>
    		<?php	endif; ?>

    Thank you, but I think it would be better to add an option from CONTROL PANEL, because when I update the plugin, I loose all modifications.

    yes that would be great, but i’m not developer, I’m a member just like you 🙂

    Plugin Author Marcus

    @netweblogic

    @voji91 cheers for chipping in!

    @danicasati see our notes section on the plugin page, you can do this by copying the file to your theme and not losing it on upgrades.

    That said, I like the idea of adding custom html options, will note this down for an upcoming update

    Please, update me when you’ll release next version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Login With Ajax] Add a link to widget’ is closed to new replies.