Results 1 to 4 of 4

Thread: Login Button instead of link

  1. #1
    Thread Starter
    Veteran alinimmo's Avatar
    Join Date
    Sep 2010
    Location
    United Kingdom
    Posts
    372
    Thanks
    29
    Thanked 11 Times in 8 Posts

    Login Button instead of link

    Hi Does anyone know how to change this code from a link to a button?

    // Show the appropriate options
    echo '<div class="cpnav">'."\n";
    if (isset($_GET['action']) && $theaction != 'login')
    echo '<a href="'.site_url('wp-login.php', 'login').'">'.__('Log in','cp').'</a><br />'."\n";

    if (get_option('users_can_register') && $theaction != 'register')
    echo '<a href="'.site_url('wp-login.php?action=register', 'login').'">'.__('Register','cp').'</a><br />'."\n";

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    36,842
    Thanks
    159
    Thanked 2,967 Times in 2,843 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. The Following User Says Thank You to jomarkosabel For This Useful Post:

    alinimmo (February 28th, 2011)

  4. #3
    Veteran roald's Avatar
    Join Date
    Nov 2010
    Location
    Canada
    Posts
    312
    Thanks
    25
    Thanked 46 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. The Following User Says Thank You to roald For This Useful Post:

    alinimmo (February 28th, 2011)

  6. #4
    Veteran roald's Avatar
    Join Date
    Nov 2010
    Location
    Canada
    Posts
    312
    Thanks
    25
    Thanked 46 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dynamic Orange Login / Logout Button on Top Red Bar
    By roald in forum ClassiPress General Discussion
    Replies: 21
    Last Post: July 21st, 2011, 06:23 AM
  2. [MOD NEEDED] I want the APPLY ONLINE button to appear to login users only
    By eduardojoven in forum JobRoller General Discussion
    Replies: 4
    Last Post: February 18th, 2011, 06:52 AM
  3. [MOD NEEDED] Add subscription button or link on login page
    By milsou in forum ClassiPress General Discussion
    Replies: 2
    Last Post: December 14th, 2010, 04:25 PM
  4. [SOLVED] Register & Login Button in Welcome Box
    By tmtu20 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: August 9th, 2010, 03:13 AM