-
AuthorPosts
-
February 13, 2019 at 11:53 am #1066431
Last week (at february 5) I allready posted a request in an existing thread (after I had just payed 40,- for additional support), but nobody responded, except for mentioning to open up a new thread. So here we are.
It seems I am not able to update enfold, because it was too long since my last theme-update. Could somebody please help me asap to update Enfold-theme succesfully to it’s latest version?
At this point Enfold and latest WordPress are not working together at all: lay-outeditors do not work, as wel as tekst editors, which makes it impossible to edit content.I don’t use any Child-theme. Earlier there were a few specific adjustments made. I checked the newest Enfold php-files, which seem to differ from earlier files, so I cannot alter specific adjustments concerning:
1. footer.php (Remove credits from footer)
2. class-breadcrumb.php (Replace “You are here:” with “Je bent hier: before breadcrumb)
3. contact.php (Replace auto-respond header “Thank you for your message” with “Bedankt voor je bericht”)
4. Some custom CSSJust made fresh back-ups…. detailed info in private
February 14, 2019 at 6:32 am #1066805Hey NieuweDag,
We would be happy to help you out with updating, but keeping your customisations might be difficult. That is why you should use a child theme, maybe it would be a good idea if you installed a child theme first and moved your customisation in there?
Best regards,
RikardFebruary 14, 2019 at 1:53 pm #1066960Hi Rikard, installing a child theme sounds great, also to avoid future problems with updates. Could you perhaps help me out with that aswell?
At this point I roughly know how it’s done, and why, but I wouldn’t know the precise details yet to ensure maintaining current content and settings as it is.
February 15, 2019 at 8:19 am #1067336Hi,
You can start off here: https://kriesi.at/documentation/enfold/child-theme/, then import your theme settings from the parent in the theme options once you have installed and activated the child.
Best regards,
RikardFebruary 16, 2019 at 12:18 pm #1067683This reply has been marked as private.February 20, 2019 at 6:56 am #1069282Hi,
Sorry for the late reply, to replace the breadcrumb title, Try adding this code to the end of your functions.php file in Appearance > Editor:function replace_breadcrumb_title(){ ?> <script> (function($){ $(document).ready(function(){ $(".breadcrumb-title").text("Je bent hier:"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'replace_breadcrumb_title');
To change the auto-respond header “Thank you for your message” you will need to change line 460 in \enfold\config-templatebuilder\avia-shortcodes\contact\contact.php
Then add the directory /shortcodes/ to your child theme,
then copy the /contact/ directory to it with all 3 files in it, contact.js, contact.css, contact.php
so you will have this path: /enfold-child/shortcodes/contact/
Then add this code to the end of your functions.php file in Appearance > Editor: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; }
now your child theme contact element will overwrite the theme contact element, you can read more here.
Best regards,
MikeFebruary 20, 2019 at 7:51 pm #1069653This reply has been marked as private.February 21, 2019 at 4:04 am #1069766Hi,
Please copy the contact folder: \enfold\config-templatebuilder\avia-shortcodes\contact\
to your new shortcodes folder so it will be like: /enfold-child/shortcodes/contact/ (this assumes that your child theme is /enfold-child/)
then edit line 460 in contact.php
search for “Thank you for your Message!”
Then clear your browser cache and check.
The reason we want to copy the folder to your child theme and then edit the file there so so the next time you update you won’t lose the changes. If you make the changes to the parent theme, it will also work, until you update, then you will lose the changes.
All of the elements can be modified this way.
If you would like help with this, Please include a admin login & FTP access in the Private Content area.Best regards,
MikeFebruary 26, 2019 at 2:10 am #1071585This reply has been marked as private.February 26, 2019 at 10:28 pm #1072009This reply has been marked as private.February 27, 2019 at 5:22 am #1072156Hi,
I see that you are using Enfold v4.0.1 for this version there was only one contact.php file and not a folder, so to bring your site up to date, I renamed your current theme to “enfold-old” then I uploaded the new “enfold” and checked that your site is working correctly. Please also check for yourself.
Once you are happy you, (or I) can delete the “enfold-old” via ftp, (not the WP theme page)
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.I then checked your child theme functions.php and added the function to override the contact form element, you didn’t have this in place, but you did have the other script to replace the breadcrumb title.
I then activated your child theme, and see the breadcrumb titles are being replaced, and your contact form gave the successful message, but you will have to check that email has the correct text.
Please check your site and contact form and let us know if we should delete the old theme.
Best regards,
MikeFebruary 27, 2019 at 10:33 pm #1072420This reply has been marked as private.February 28, 2019 at 4:06 am #1072460Hi,
I’m glad that you are happy with your site now. Now that you are using a child theme, and are applying the customizations to the child theme, you will be able to update the site without losing anything.
When I look at your site it seems to be in Dutch, but there are two language settings, the first one is for the front end of your site at: WordPress > Settings > General > Site Language, the second is in your user profile at: WordPress > Users > Your Profile > Language which is for the backend when you are logged in.
Please adjust these to suit.Best regards,
MikeMarch 5, 2019 at 12:19 pm #1074831This reply has been marked as private.March 6, 2019 at 7:15 am #1075329Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Update Enfold theme to newest version via FTP & maintaining earlier adjustments’ is closed to new replies.