Add HREFLANG X-Default Tag to WPML Multilingual Site

WPML multilingual plugin for WordPress can already add hreflang tags for your languages used. I like to add x-default language tags too to designate default version to search engines. Here’s how it could be added to your child theme, when default language is English.
Continue reading

Posted in WordPress | Tagged | 1 Comment

Woocommerce Update from v.2 to 3 – Tips for Child Themes

Woocommerce version 3 introduced many changes. You can easily see changes on single product page image galleries. But there are many more changes under the hood.
Continue reading

Posted in WordPress | Tagged | Leave a comment

Randomize Predefined Colors for WordPress Theme Element

Just put this into functions.php of your child theme with the needed CSS selector. Add your desired colors to colors array.
Continue reading

Posted in WordPress | Tagged | Leave a comment

Output Total Number of Locations from Store Locator Plus Plugin

I often use Store Locator Plus plugin to have a store locator on a site. This time I wanted to show a total number of locations present in the locator in my theme design.
Continue reading

Posted in WordPress | Tagged | Leave a comment

Remove Google Fonts from Woo Storefront Theme

Last update (Sept. 2016) of Woocommerce Storefront theme included Google fonts into the theme. While WordPress has finally removed their Open Sans font from the core, WooThemes decided to add a default font from Google. And then to sell their Storefront extensions to remove it. Nice.
Continue reading

Posted in WordPress | Tagged | 1 Comment

Old Wacom CTE-430b With Windows 10 and Photoshop 2015.5 or Later

I wanted to install my very old Wacom CTE-430 (Sapphire) pen pad on my new system with Windows 10. Tried several latest drivers from Wacom, but they didn’t work. At the end, found a driver that worked: PenTablet_5.2.4-5 – you may download it from their  repository.
Continue reading

Posted in Hardware | Tagged | 6 Comments

Making of Zendesk Custom Responsive Theme

Recently I had to create a new custom theme for Zendesk. I believe if you already started making a custom Zendesk templates, you know how to access it. Several highlights that would help to find some hidden features of Zendesk template engine are provided below. Zendesk template help provides a list of helpers.
Continue reading

Posted in Templates | Tagged | 2 Comments

Enhanced Security HTTP Headers Addition

I’ve recently discovered an opportunity to add enhanced security via HTTP headers, as most big sites do. You can test your headers information with developer tools in any modern browser from the Network tab. There is also a good site that could check your HTTP headers for security. In fact most security headers are very easy to add to your site. Here’s how.
Continue reading

Posted in Hosting Server | Tagged | Leave a comment

Custom Transformer Rules Settings when Importing Posts from WordPress as Facebook Instant Articles

Importing posts from WordPress as Facebook Instant Articles (FBIA) is relatively easy. FBIA will show to Facebook mobile app users when you share your posts / pages over the FB networks. Read more about Instant Articles considerations and settings in this post by WebProm. But here I want to show some tweaks possible in Automattic Instant Articles WordPress Plugin.

After you install this plugin, setup guide is written at its settings screen. But the most challenging thing during setup is to avoid and eliminate errors generation when converting WordPress posts into Instant Articles. One must tweak Custom Transformer Rules to remove such errors.
Continue reading

Posted in WordPress | Tagged | 29 Comments

Remove Some Element From Site for Certain Screen Width with JavaScript / jQuery

I needed to remove some div calling for ads network from mobile website display. I’ve already made it with CSS media queries, but it is better to remove the whole element, because when ads are hidden but loaded, some misunderstanding may occur with these networks.
So here’s some JavaScript I’ve compiled for such task.
Continue reading

Posted in Monetizing, Templates | Tagged | Leave a comment

Arconix FAQ Plugin Customization for Better Speed with Autoptimize

Arconix FAQ is a very nice FAQ plugin useful for any WordPress site. It has a good developer support too.
While optimizing my site for better speed in PageSpeed Insights I’ve noticed that when  Autoptimize was switched on for my site, the FAQ page became broken.

Autoptimize is a famous plugin to minify CSS and JavaScript and to optimize their delivery in templates.

I had to add arconix-faq.css into my list of files excluded from optimization in  Autoptimize plugin’s settings.
Continue reading

Posted in WordPress | Tagged | Leave a comment

Woocommerce: Remove One of Product Dimensions from Frontend

When using shipping settings and advanced shipping plugins with Woocommerce Shop, you will usually have to set your product dimensions on Woocommerce back-end product setting tabs. These dimensions will be displayed on Additional Information tab in many Woocommerce themes.

You may find many examples of code to remove whole set of dimensions from the tab, but it’s hard to find a code snippet to remove only one of product’s dimensions.
Continue reading

Posted in WordPress | Tagged | 2 Comments