Results 1 to 3 of 3

Thread: Add login link

  1. #1
    Thread Starter
    Junior Member
    Not a Verified Customer
    hewitt's Avatar
    Join Date
    Apr 2009
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Add login link

    When clicking the big "Post a classified" button, there's a popup message for non-registered members saying

    All ad listings are FREE
    Register

    I want to add, beside the Register link, a LOGIN link so that registered members can simply click this link to be able to login.

    I can't find this section in the post-form.php template so it must be somewhere. Any help is appreciated. Thanks!

  2. #2
    Veteran taylerj's Avatar
    Join Date
    Apr 2009
    Location
    Las Vegas, NV
    Posts
    380
    Thanks
    1
    Thanked 8 Times in 6 Posts

    Re: Add login link

    Open functions.php

    About line 434 look for this code.:
    Code:
    <a href=\"".get_bloginfo('url')."/wp-login.php?action=register\">" . __('Register','cp') . "</a></div>";
    replace with this code:
    Code:
    <a href=\"".get_bloginfo('url')."/wp-login.php?action=register\">" . __('Register','cp') . "</a> or
    	  <a href=\"".get_bloginfo('url')."/wp-login.php?action=login\">" . __('Login','cp') . "</a> </div>";
    Eric is best known in the forum for his in depth tutorials. He started in design 4 years ago and then discovered WordPress and has been coding and hacking themes and plugins ever since. He's quite helpful if you have any questions for him in the forum. Eric also makes his own WordPress themes and plugins and provides ClassiPress consulting on the side. David Cowgill - (Owner of Classipress)

  3. #3
    Thread Starter
    Junior Member
    Not a Verified Customer
    hewitt's Avatar
    Join Date
    Apr 2009
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add login link

    Thanks taylerj! It worked perfectly.

Thread Information

Users Browsing this Thread

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