With lazy loading, you only load images when they are in the visible area of the visitor. Combining this method with a masonry grid can cause problems because the images are not loaded yet when the position of the grid items is calculated. Here I show you how to solve that. Continue reading Lazy loading images in a masonry grid
The plugin team introduced two changes for the plugin guidelines. The topics are spam and the usage of libraries which are bundled with WordPress. Continue reading WordPress weekly recap #5: Plugin guideline changes and more
You can install automatic updates for themes from the WordPress.org directory. Here I show you how you can provide these automatic updates for themes, which are not in the directory. Continue reading Automatic updates for WordPress themes which are not in the theme directory
The core team works on improvements for the settings API. It should become easier for developers to use the API and the accessibility of the generated markup should be improved. Continue reading WordPress weekly recap #4: Improving the settings API and more
WordPress creates a
robots.txt dynamically. To overwrite it in a normal non-multisite installation, you can just upload a static
robots.txt to the server. On a multisite install, this would overwrite the
robots.txt for all sites, which is not always the wanted behavior. This post explains how you can modify
robots.txt for individual sites of a multisite. Continue reading Modifying robots.txt for individual sites of a multisite install
The customization team thought about the issues they can tackle this year — as well smaller problems for the first months of the year as bigger projects for the rest. Besides that, they noted things which should be possible by the end of the year. Continue reading WordPress weekly recap #3: customization in 2017 and more
In my online shop, customers from the EU have to pay their country’s VAT rate. Customers from the USA, for example, do not have to pay any VAT. If I set the price to 15 Euros in WooCommerce and specify that the prices include taxes, the default behavior is the following:
Customers from a country for which a tax rate is specified pay 15 Euros including their country’s tax rate. Customers from countries without a specified tax rate pay less than 15 Euros. I am not sure, but I think in this case the price is reduced by the tax rate from the shop’s base location. The desired effect is that these customers pay 15 Euros too, but without any included taxes.
The WooCommerce wiki on GitHub has the solution for that. You only have to insert the following line of code into your theme or into a plugin:
add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );
The REST API team had a kickoff meeting for 4.8. Besides that, the two design leads for the focus areas editor and customizer asked the community for feedback, what they would like to see in these components. Continue reading WordPress weekly recap #2: REST API kickoff and more
Drop caps (larger first letters of paragraphs which go about multiple lines) are a relatively rare used element in web design, but they can look really great. In this post, I show you how to implement them. Continue reading Creating responsive drop caps
From now on I sell my themes to all countries. That is possible because I state sale taxes from this year on. Because of that, I am going to increase the price of Schlicht from 15 to 18 Euros on February 1, 2017 (circa the 19 percent sales tax in Germany).
Update from January 26, 2017: From now on, all customers can use automatic theme updates. Because of this, I deactivated the possibility to create an account on a purchase.
Besides that, it is now possible to buy a theme without creating a customer account. But if you use the guest checkout, this means you cannot use the automatic update process. You will need to download the new theme versions manually with a link you get after purchasing.