Changes in the 1.8 update

  • Author
    Posts
  • #126772
    Zed
    Cryout Creations mastermind

    Tempera v1.8 includes several structural changes that can cause issues with your site when using a child theme:

    • We’ve completely rewritten styles enqueues (to bring the functionality up to date with WordPress coding standards and improve child themes support) – however this change also means that existing child themes will partially malfunction after the 1.8 update.
      If you’re using our NoLink child theme, you can find the updated version in your account.
      Depending on the complexity of your child theme the update will simply require that you edit your child theme to use the new styling enqueue methods or may require a complete child theme rewrite.
      If you notice styling issues (like missing fonts, incorrect layout) after the update because the styles get loaded in the wrong order, edit your child theme and replace the existing enqueues with:
      // enqueue parent theme styling
      function child_parent_styling(){
      	wp_enqueue_style( 'tempera-style', get_template_directory_uri() . '/style.css', array(), _CRYOUT_THEME_VERSION );  // restore parent stylesheet
      	wp_enqueue_style( 'tempera-child', get_stylesheet_directory_uri() . '/style.css', array( 'tempera-style' ), '0.7' ); // enqueue child 
      }
      add_action('wp_enqueue_scripts','child_parent_styling');
    • We’ve rearranged some code generating the presentation page. If you have customized this functionality in your child theme (specifically the frontpage.php and includes/theme-frontpage.php files), it may need updating.
    • To comply with the current wp.org repository accessibility requirements, all links with the content of the site are now underlined by default. This can be undone with CSS:
      .entry-content a:not([class]),
      .entry-excerpt a:not([class]),
      #comments .comment-body a:not([class]),
      .widget-container.widget_text a:not([class]),
      .ppbox a:not([class]) {
      	text-decoration: none;
      }

    If you’re seeing anything unusual after performing the update and you’re not using a child theme, clear the cache (if you’re using one) and force refresh the browser.

    If you’re still having trouble after performing the described solution steps, don’t hesitate to start a topic or contact our support service.

    If you’re not happy with the 1.8 changes there’s also the option of reverting to the previous 1.7.2 theme release. WordPress does not include an integrated solution for the procedure, however it can be done using the Rollback plugin: https://wordpress.org/plugins/wp-rollback/


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #126958
    ollyeden
    Power User

    Hi Zed,

    after Updating to 1.8.0 The Theme on Mobile-Device looks smaller and I am Missing the Hamburger-Menu.

    Do you have an idea to fix it?

    Kind regards,
    Oliver

    Website: www.haus-seedeich.de

    #126960
    ollyeden
    Power User

    Please ignore or delete it: After cleaning Browser- and WordPress-Cache, everything is fine.

Viewing 3 posts - 1 through 3 (of 3 total)

You need to log in to reply to this topic.