• Open
  • Terry Mason
    Spectator
    September 3, 2020 at 5:08 pm #45288

    I upgraded to WordPress 5.5, then to Evolve 2.9.9.8. I have worked out many issues, however I still have a few left, and I’m hoping that you can help.

    Sticky header – when enabled, my header is duplicated. It does not scroll down the page
    portfolio – no controls, and it only shows one picture / column at a time
    back to top – no icon, just a blue square

    I’ve disabled my plugins one at a time, and I’ve disabled them in the wp-config, with no apparent change.

    I would note that I am using a child theme – the same one from evolve 2.9.7

    Any thoughts?

    Terry Mason
    Spectator
    Posts: 17
    September 3, 2020 at 5:09 pm #45289
    This reply has been marked as private.
    Evgeny
    Keymaster
    Posts: 988
    September 3, 2020 at 5:34 pm #45290

    Hello. Actually, a lot of thoughts )) And they are waiting in your email since this morning. I will paste my email here as well:
    “What you need to do is regenerate your child theme. Our child theme is currently incompatible with WordPress 5.5, it causes a conflict.
    So what you can do is use a plugin such as https://wordpress.org/plugins/child-theme-generator/
    And it will generate a functioning child theme. Another thing is if you are using the child theme just for CSS, then it would be better to use
    Additional CSS and the drop the child theme altogether. If you will switch to Evolve Plus without the child theme, the problem will be solved.

    Do let me know if you have any additional questions.”
    Also, make sure that you have the latest Component Shortcodes 1.0.2.

    Terry Mason
    Spectator
    Posts: 17
    September 3, 2020 at 6:34 pm #45291

    Thanks for the response!
    Is the evolve child theme available in my Theme4Press download section compatible with 5.5? There are a few personal add-ins that I’ve coded, so I’d like to stick with a child theme if possible

    Terry Mason
    Spectator
    Posts: 17
    September 3, 2020 at 9:50 pm #45292

    I tried the evolve plus theme in the Theme4Press downloads, and it does not appear to be compatible with either 2.9.9.8 or WordPress 5.5.

    So, then I tried the plugin you mentioned, and while it worked, it removed all of my customization. Is there a way that I can keep my background and link colors, footer messages, etc?

    Thanks

    Terry Mason
    Spectator
    Posts: 17
    September 3, 2020 at 10:07 pm #45293

    OK, I think I may have fixed things. Here’s what I did to continue using my old child theme (developed for 2.9.7) after upgrading to 2.9.9.8

    Inside of my child theme’s functions.php replace this:

    // Exit if accessed directly
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    // Enqueue parent action
    
    if ( ! function_exists( 'evolve_parent_css' ) ) {
    	function evolve_parent_css() {
    		wp_enqueue_style( 'evolve-parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'evolve-bootstrap' ) );
    	}
    }
    add_action( 'wp_enqueue_scripts', 'evolve_parent_css', 10 );
    

    with this

    if ( ! function_exists( 'suffice_child_enqueue_child_styles' ) ) {
    	function evolvePlusChild_enqueue_child_styles() {
    	    // loading parent style
    	    wp_register_style(
    	      'parente2-style',
    	      get_template_directory_uri() . '/style.css'
    	    );
    
    	    wp_enqueue_style( 'parente2-style' );
    	    // loading child style
    	    wp_register_style(
    	      'childe2-style',
    	      get_stylesheet_directory_uri() . '/style.css'
    	    );
    	    wp_enqueue_style( 'childe2-style');
    	 }
    }
    add_action( 'wp_enqueue_scripts', 'evolvePlusChild_enqueue_child_styles' );
    
    /*Write here your own functions */

    after doing that, things appear to be normal again. I would note that my child theme is called evolvePlusChild, I’m thinking you may have to tweak that for your install.

    Evgeny
    Keymaster
    Posts: 988
    September 4, 2020 at 7:09 am #45294

    Yes, that’s what I offered – to regenerate the child theme. Our copy will be updated soon, together with the next update of our theme. But the child theme can be generated by any means out there. Thank you for your input.