This topic has 16 replies, 7 voices, and was last updated 11 years by SQadmin.

  • Author
  • #82
     dreni
    Participant

    Hi thanks for this great theme.
    How do i edit the text on the search form on the frontpage.
    http://puu.sh/3py87.png

    I’m referring to “Serious dating with Sweet date”
    I want to change it to “Serious dating with [wp title]”

    #83
     SQadmin
    Keymaster

    Hi,
    We created a template for that. You can find it in your theme folder /page-parts/home-search-form.php
    You’ll find that at line 10.
    For any assistance let me know.

    If you are using the child theme, create the folder page-parts, copy home-search-form.php from the parent theme into that folder and modify it to suit your needs.

    Regards
    Gabriel

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #85
     dreni
    Participant

    Wonderful, thanks once again

    #86
     dreni
    Participant

    I did as you said but it does not update.
    I have the child theme as active theme.
    I have created the folder /page-parts/ on the child theme and copied the file home-search-form.php to that folder as you can see:
    http://puu.sh/3pEsI.png

    But it seems that it is still using the home-search-form.php file from the original theme and not the child theme because if I make changes to the home-search-form.php file on the original theme then those changes are shown and not the changed I make to the home-search-form.php file on the child theme . Even though I have the child theme active.

    Strange?

    #87
     SQadmin
    Keymaster

    Hi,
    Please add this function in your functions.php in child theme


    function render_user_search() {

    if (function_exists('bp_is_active') && bp_is_active( 'xprofile' )) {} else
    {
    return '';
    }
    require_once('page-parts/home-search-form.php');
    }

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #88
     dreni
    Participant

    That did it. Thanks for a great theme and a wonderful support 🙂

    #169
     wyldekarde
    Participant

    How to I go about altering the values in the search forms? I’ve updated them in Buddypress but they don’t appear to have pulled over.

    #171
     SQadmin
    Keymaster

    For now you need to edit the same template as above to match your needs.

    We are releasing an update this week to change that from admin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #2499
     jaybini
    Participant

    to edit “Serious dating with Sweet date” it’s not there anymore in the path /page-parts/home-search-form.php
    from where can i edit the text ?

    #2534
     SQadmin
    Keymaster

    That is edited from WP ADMIN -> Sweetdate -> Buddypress in the search form part

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #2580
     jaybini
    Participant

    Thank you =D

    #3143
     joeldecker
    Participant

    Where do we edit the front page search form currently?
    When I open the file; ‘home-search-form.php’ I only get….
    ————————
    <div class=”twelve columns”>
    <div class=”row”>
    <div class=”five columns”>
    <?php do_action(‘kleo_bp_search_form’, (sq_option(‘home_search_members’, ‘1’) ==1?true:false) ); ?>
    </div>
    </div><!–end row–>
    </div><!–end twelve–>
    ————————
    not much to edit there as far as changing the text, to an H3 tag say.
    Is that an option?
    Thanks.

    #3162
     SQadmin
    Keymaster

    Hi, Search form is automatically generated with the fields you choose from WP Admin -> Sweetdate -> Buddypress. Also there you can change the text that appears in the form at the beginning.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #3201
     Carsten
    Participant

    How to change the horizantal search form like getting <br> lines in where its fitting..

    #3250
     SQadmin
    Keymaster

    Hi,
    You can use css to style it differently. If you want to change the structure you can copy the function named kleo_bp_seach_form_horizontal from sweetdate/custom_buddypress/kleo-bp-search.php to your sweetdate-child/functions.php and you can modify it the way you like.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #7770
     msalvador29
    Participant

    What if we have the Registration Form instead? How do we change the text for that one?

    #7840
     SQadmin
    Keymaster

    Hi, text from the registration form can be changed by FTP in wp-content/themes/sweetdate/page-parts/home-register-form.php

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

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

Log in with your credentials

Forgot your details?