• Resolved marinalr

    (@marinalr)


    Hi,
    I’ve done my website with vantage 1.4.2. then I wanted to update to vantage 1.4.4, so I created a child theme, copied my personalised files like style.css, template-tags, footer, archive… under the child theme.
    Then I’ve updated vantage theme, but on my website only the modified ‘archives.php’ has been taken in account….

    For my child theme I’ve created the following functions.php file:
    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );
    }

    Any idea?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter marinalr

    (@marinalr)

    In the loops folder it’s “read more” and not “More info” that you can translate… Doesn’t matter, I modified the parent widget, and it’s fine if it’s the only thing I need to change for further theme udpades; thanks fir your time and patience anyway!

    That’s correct. It is “Read More” as this was a child theme I created a while ago. The user wanted it to say “Read More” so I had already changed the string. I briefly mentioned it above. If you include this folder and file in your child theme and change the “Read More” string on line 22 you should be update safe and good to go! Let me know how you come along. Thanks!

    Thread Starter marinalr

    (@marinalr)

    I’ve done it (I forgot the add the ‘loops’ folder when I previously tried, it works. thanks, I can close the topic now!

    Awesome, that’s a great result. Nicely done 🙂

    All the best with your site.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘child theme not taken in account after updating parent’ is closed to new replies.