Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.

    #307001

    Hey 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,
    Yigit

    #307509

    Hi,
    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.

    #307696

    Hey!

    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!
    Ismael

    #307801

    What makes that code? If I want to change another different file is the same process? Which parts of code have to change?

    #307807

    Hi!

    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!
    Yigit

    #307836

    Other files only following the directory structure?

    #307837

    Hi!

    Exactly. For more information, please see – http://codex.wordpress.org/Child_Themes

    Regards,
    Yigit

    #308005

    Well, I’m having the same problem with ‘custom.css’ located in ‘css’ folder.

    #308008

    Hey!

    You can use Style.css file of your child theme to add your custom CSS code, you do not need custom.css file.

    Regards,
    Yigit

    #315171

    Hi,

    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?

    #315259

    Hi!

    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!
    Peter

    #315305

    The problem persist :(

    #315333

    Hi!

    Make sure you don’t have any browser extensions activated, also check it in another browser to discard.

    Cheers!
    Josue

    #315336

    I test with Explorer and Chome without extensions and nothing :(

    #315346

    Is it possible that it is the WP 4.0 without Enfold update?

    #315353

    If you have WP 4.0 you must have the latest version of the theme too (2.9.2).

    Regards,
    Josue

    #315735

    Why? Are there important changes or security holes?

    Cheers

    #315777

    Hey!

    No security holes or something like that, updating the theme will just make the theme fully compatible with WordPress 4.0. If you do not update the theme, some features may not function properly

    Best regards,
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.