Windows Azure Storage for WordPress plugin not listing blob containers [closed]

The answer is to install the php xml package: sudo apt-get install php-xml <br/> sudo service php7.0-fpm restart <br/> sudo service nginx restart I discovered the actual problem one of the log files: 2017/10/16 22:14:07 [error] 14850#14850: *1090 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in … Read more

Translate text for empty product

In your function ‘translate_text’ variable $product is not initialized, so the price is always empty. You need to provide the $product for use inside the function, consider the function, it should be global. Try modifying function: function translate_text($translated) { global $product; if ($product && empty($product->price)){ $translated = str_ireplace(‘Weiterlesen’, ‘Contact US’, $translated); } return $translated; } … Read more

Customizing Woocommerce Email

Normally you’d copy the email template files from /wp-content/plugins/woocommerce/templates/emails to your theme /wp-content/themes/YOUR-THEME/woocommerce/emails/ and modify the files directly but as a beginner I recommend just buying a plugin and design your emails within a few minutes without coding: https://etzelstorfer.com/en/downloads/wp-html-mail-woocommerce/

How to make a sticky footer?

I think I figured out the answer. In your footer.php file add a div like that goes outside the footer and assign your footer class to it. For example, <div class=”sticky-footer”> <footer id=”colophon” class=”site-footer”> <div class=”site-info”> <?php /* translators: 1: Theme name, 2: Theme author. */ printf( esc_html__( ‘Theme: %1$s by %2$s.’, ‘best’ ), ‘best’, … Read more

Javascript file not included only on home page

This might be because of two issues: Unique handler is not used to enqueue scripts on homepage Path to the file is wrong Unique Handler You should use unique script handler while enqueuing scripts or styles using wp_enqueue_*, I see that you used script as your script handler which is pretty generic and is not … Read more

Animation as shown in the link

Checking out the source code on the page I see the cards are svg and are run by css transitions like this: .svg-cards { display: inline-block; position: absolute; width: 20vmin; overflow: hidden; min-width: 100px; border-radius: 15px; box-shadow: -30px -30px 40px 15px rgba(0, 0, 0, 0.9); line-height: 0; } .svg-cards.rotation { box-shadow: -1px 1px 6px rgba(0, … Read more