Tagged: information, theme, update, upgrade
-
AuthorPosts
-
August 20, 2014 at 6:31 pm #306989
I want to know if I do changes in ‘function.php’, It will keep my changes after new theme update?
I say that if you make a new theme version.
Thanks for the info.
August 20, 2014 at 6:58 pm #307001Hey pnacho!
No, it will be overwritten. Please use Child theme if you would like to make changes on theme files – http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/
Best regards,
YigitAugust 21, 2014 at 7:58 pm #307509Hi,
For exemple this change: https://kriesi.at/support/topic/instant-ajax-search-on-sidebar/#post-198969 must be added in the child theme folder? I tried but it doesn’t work.August 22, 2014 at 9:32 am #307696Hey!
The change or modification on the link you provided should be done on avia.js file not on function.php. If you want to modify the avia.js file on the child theme, add this on the child theme’s functions.php:
if(!is_admin()) add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100); function avia_register_child_frontend_scripts() { $child_theme_url = get_stylesheet_directory_uri(); wp_dequeue_script('avia-default'); //register js wp_register_script( 'avia-default-child', $child_theme_url.'/js/avia.js', array('jquery'), 1, true); wp_enqueue_script( 'avia-default-child' ); }
Create a js folder then insert the avia.js file.
Cheers!
IsmaelAugust 22, 2014 at 12:40 pm #307801What makes that code? If I want to change another different file is the same process? Which parts of code have to change?
August 22, 2014 at 12:57 pm #307807Hi!
It enqueues avia.js file from your child theme and does not use the one on parent theme. You do not need to make this change for all files
Cheers!
YigitAugust 22, 2014 at 1:51 pm #307836Other files only following the directory structure?
August 22, 2014 at 1:53 pm #307837Hi!
Exactly. For more information, please see – http://codex.wordpress.org/Child_Themes
Regards,
YigitAugust 22, 2014 at 5:58 pm #308005Well, I’m having the same problem with ‘custom.css’ located in ‘css’ folder.
August 22, 2014 at 6:04 pm #308008Hey!
You can use Style.css file of your child theme to add your custom CSS code, you do not need custom.css file.
Regards,
YigitSeptember 8, 2014 at 4:09 pm #315171Hi,
I have a problem with child theme. When I click ‘Enfold Child’ at left WordPress menu it shows like this image: https://drive.google.com/file/d/0B89QUyIFnsEWR3l4WWZtUUk0U2M/edit?usp=sharing
And don’t show the left ‘enfold menu’. What is the problem?
September 8, 2014 at 6:14 pm #315259Hi!
Please try to increase the allocated php memory and set it to 128M. Open up wp-config.php and below the php tag:
<?php
insert this code:
define('WP_MEMORY_LIMIT', '128M');
Cheers!
PeterSeptember 8, 2014 at 7:32 pm #315305The problem persist :(
September 8, 2014 at 8:27 pm #315333Hi!
Make sure you don’t have any browser extensions activated, also check it in another browser to discard.
Cheers!
JosueSeptember 8, 2014 at 8:38 pm #315336I test with Explorer and Chome without extensions and nothing :(
September 8, 2014 at 9:05 pm #315346Is it possible that it is the WP 4.0 without Enfold update?
September 8, 2014 at 9:31 pm #315353If you have WP 4.0 you must have the latest version of the theme too (2.9.2).
Regards,
JosueSeptember 9, 2014 at 10:37 am #315735Why? Are there important changes or security holes?
Cheers
September 9, 2014 at 11:56 am #315777 -
AuthorPosts
- You must be logged in to reply to this topic.