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.

    #133833
    jcoillard
    Power User

    Hello Zed,
    since 2 days problems posts display with Tempera :
    Warning : undefined array key “tempera_totalSize” in julien/blog-julien/wp-content/themes/tempera/includes

    This problem when viewing posts

    No problem with Parabola

    I change (for the moment) my site to PARABOLA (without the full possibility i had on Tempera
    Best regards

    Website: julien.coillard.fr

    #134826
    Zed
    Cryout Creations mastermind

    Hi @jcoillard,

    Your error message is incomplete as it doesn’t reference the filename and line number. Those are necessary to track down what is happening.


    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.
    #134864
    jcoillard
    Power User

    Thanks for your answer. The full message is :

    Warning : undefined array key “tempera_totalSize” in julien/blog-julien/wp-content/themes/tempera/includes/theme-function.php on line 45

    For the moment i use Tempera with a modification in wp-config.php tu suppresse the warning message :

    /* 22.11.05 Pb warning posts
    https://www.greengeeks.com/tutorials/disable-wordpress-php-error-messages/
    */
    ini_set(‘display_errors’,’Off’);
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);

    Do you that saving Tempera parameters,removing Tempera, download Tempera from your site, restore parameters could be a way to solve the problem ?

    Best regards

    #134903
    Zed
    Cryout Creations mastermind

    Thank you for the detailed info, however I am not able recreate this issue on my test site.

    Could you open a support ticket and include a Tempera settings export from your site?
    Perhaps there’s a specific configuration combination that triggers the fault.


    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.
Viewing 7 posts - 1 through 7 (of 7 total)

You need to log in to reply to this topic.