-
Author
-
June 27, 2013 at 14:52 #82dreniParticipant
Hi thanks for this great theme.
How do i edit the text on the search form on the frontpage.
http://puu.sh/3py87.pngI’m referring to “Serious dating with Sweet date”
I want to change it to “Serious dating with [wp title]”June 27, 2013 at 15:06 #83SQadminKeymasterHi,
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
GabrielHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 27, 2013 at 17:59 #86dreniParticipantI 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.pngBut 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?
June 27, 2013 at 18:04 #87SQadminKeymasterHi,
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 solutionJune 27, 2013 at 18:06 #88dreniParticipantThat did it. Thanks for a great theme and a wonderful support 🙂
June 30, 2013 at 20:54 #169wyldekardeParticipantHow 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.
June 30, 2013 at 22:12 #171SQadminKeymasterFor 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 solutionSeptember 9, 2013 at 11:12 #2499jaybiniParticipantto 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 ?September 9, 2013 at 20:51 #2534SQadminKeymasterThat 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 solutionSeptember 21, 2013 at 01:26 #3143joeldeckerParticipantWhere 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.September 21, 2013 at 17:23 #3162SQadminKeymasterHi, 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 solutionSeptember 23, 2013 at 09:31 #3201CarstenParticipantHow to change the horizantal search form like getting <br> lines in where its fitting..
September 24, 2013 at 15:48 #3250SQadminKeymasterHi,
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.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 6, 2013 at 12:06 #7770msalvador29ParticipantWhat if we have the Registration Form instead? How do we change the text for that one?
December 7, 2013 at 03:19 #7840SQadminKeymasterHi, 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 -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.