This topic has 1 reply, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #6975
     alexdarcy3
    Participant

    Hi there,

    In the search box for the homepage there is a button that says ‘search’. I was wondering how to add a button next to this that says ‘login’.

    If someone could point me in the theme file that I need to edit that would be great 🙂

    Thank you 🙂

    #7057
     SQadmin
    Keymaster

    Hi,
    You need to make a change in a file. Best practice is to activate the sweetdate-child theme.
    After you have activated the child theme, by FTP copy the file from
    wp-content/themes/sweetdate/custom_buddypress/kleo-bp-search.php
    to
    wp-content/themes/sweetdate-child/custom_buddypress/kleo-bp-search.php

    Then edit the one you just copied and you need to edit line 203 that looks like this:

    COPY CODE
    
    <div class="seven offset-by-five columns"><button class="button radius"><i class="icon-search"></i>  <?php _e("SEARCH", 'kleo_framework'); ?></button></div>
    

    and add the LOGIN button after the SEARCH button. You should add it before the closing div and it should look like:

    COPY CODE
    
    <a href="/wp-login.php" class="button radius">LOGIN</a>
    

    Cheers,
    Abe

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?