-
AuthorPosts
-
November 17, 2016 at 8:09 pm #713729
Hello,
I would like to change the text “Please prove that you are human by solving the equation” and I want it to remember it on updates and when I need to migrate my website to my hosting company. How can this be done? I am using the child theme.
it´s for: http://zorbas.synology.me/wordpress/booking/
Furthermore I would like to move the captcha further down on line with “send” so that it looks more nice.
Any other recommendations to make the bookingform more nice would be much appreciated.November 21, 2016 at 12:22 pm #714774Thank you for a quick reply on this.
November 21, 2016 at 2:02 pm #714805Hey!
As long the changes you’ve made are in the child theme, it shouldn’t be overwritten during update.
As for lining the captcha with send you can use this code and add it to Quick CSS(located in Enfold > General Styling):
@media only screen and (min-width:768px) { .page-id-3665 #element_avia_17_1 { position: relative; top: 105px; } }
just adjust the top value, however I don’t recommend this solution instead, I suggest to make it inline left with the button but on top of it, if you want to try this please remove the code I gave above and use this:
.page-id-3665 #element_avia_17_1 { width: 100%; margin-left: 0; }
Hope this helps. :)
Regards,
NikkoNovember 21, 2016 at 2:30 pm #714816It looks great with:
.page-id-3665 #element_avia_17_1 {
width: 100%;
margin-left: 0;
}But what about the language?
I just want to change the language to Danish but I want it to remember it when I need to migrate site or update.November 22, 2016 at 10:05 am #715183Hi!
Try to follow the instructions here: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
then copy contact.php from enfold>config-templatebuilder>avia-shortcodes folder to the shortcodes folder of your child theme then modify contact.php (in line 379):
$elements['avia_age'] = array('type'=>'captcha', 'check'=>'captcha', 'label'=> __('Please prove that you are human by solving the equation','avia_framework' ));
Just replace Please prove that you are human by solving the equation. Hope this helps. :)Cheers!
NikkoDecember 13, 2016 at 12:00 am #723453I have done this but it is still showing in english in: http://zorbas.synology.me/wordpress/booking/
what did i do wrong?
December 13, 2016 at 1:10 am #723479Hi!
Can we request for your ftp access and also temporary admin access? so we can inspect this further. Just place the details in the “private content” so only moderators can see.
Regards,
NikkoDecember 15, 2016 at 5:08 pm #724932I dont have ftp created. I tried to create and setup ftp but i didn´t succeded.
Can it be fone without FTP?If not, I will try again later and see if it will work.
December 16, 2016 at 2:40 pm #725334Hi!
I’m not sure how we can help without ftp, I have tested the solution I have given and it works properly on my end, the reason I asked for ftp is I’d like to check if it’s not added properly or if there’s a conflict somewhere.
Best regards,
NikkoDecember 21, 2016 at 2:08 pm #727010I can give you access maybe to my synology. would that be ok?
Then you have access to the files. See below.December 21, 2016 at 10:48 pm #727327Hey!
Thanks, it should work now but the text might need to be changed a bit as some weird characters appear. I found out that you have created a contact.php in the shortcodes folder of your child theme however you have also commented out this code:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Which is needed for the contact.php file to override the one in the parent theme, I just removed the comment and it works fine.
Regards,
Nikko
Cheers!
NikkoDecember 22, 2016 at 3:04 pm #727533ok. great.
I dont remember that I have commented out some code.
But if I did or someone else from the support did I dont hope it will ruin anything else of the customization.I hope this change and other changes are in my child theme and that I wont loose them when I update or migrate the website to the real hosting?
regarding: “Venligst udfyld nedenst�ende s� vi ved at du ikke er en robot ” at first it worked with “å”.
It is in Danish and needs to be Venligst udfyld nedenstående så vi ved at du ikke er en robot.Så the letter it´s a danish “å”. How can I correct this?
- This reply was modified 7 years, 12 months ago by lech07.
December 22, 2016 at 10:09 pm #727680Hey!
Yes, you won’t lose any customization since this is on a child theme. As for fixing the letters you might want to use this character entity reference: https://dev.w3.org/html5/html-author/charref
Best regards,
NikkoDecember 22, 2016 at 10:36 pm #727686Thank you so much Nikko, it works!
December 22, 2016 at 11:24 pm #727700Hi!
You’re very much welcome :) Glad we could help.
Cheers!
NikkoMarch 5, 2017 at 2:40 pm #755928Hi Nikko,
as I have issues with the theme and needed to erase and reupload the theme and i lost the settings for this as well.
How can I change the language again for the captcha text?
Do I need to add a code in contact.php? or move contact.php to child folder and then add a code?
If you please can write exactly how to do it, then I can always go back and look in the thread and make the corrections.thanks
March 6, 2017 at 4:03 am #756110Hey!
If the child theme isn’t deleted, you don’t need to add it but if you have deleted it as well then you will need to do the same process as before.
Best regards,
NikkoMarch 6, 2017 at 10:07 am #756273I had a backup of the files so i uploaded the old child theme, seems to work.
- This reply was modified 7 years, 9 months ago by lech07.
-
AuthorPosts
- The topic ‘Change the captcha note: Please prove that you are human by solving the equation’ is closed to new replies.