Slider Revolution: Fix Broken Display and Shifted Elements (SR6 Engine Fix)
After a Slider Revolution update, older sliders display incorrectly. A small plugin forces the SR6 engine so you do not have to rebuild your sliders.
Snippets, solutions, and explanations from PHP, JavaScript, and WordPress development - straight from real projects.
17 postslatest on
After a Slider Revolution update, older sliders display incorrectly. A small plugin forces the SR6 engine so you do not have to rebuild your sliders.
Elementor mega menus only open with Enter or the space bar when you navigate by keyboard. This short JavaScript snippet opens the submenus on focus.
Published email addresses attract spam. How to hide them from spambots on your WordPress website by encrypting them automatically with antispambot().
Hide prices and the add to cart button for WooCommerce products in a specific category. A short PHP snippet, you only need to set the category slug.
An extended version of my Python parser for Austrian land register extracts, written by Philipp Strasser: tested on more extracts and with a GUI.
Send HTML emails through the WooCommerce mail function with the default header and footer templates. Handy for quick status emails without extra settings.
With a fixed header, anchor links scroll the target out of view. This jQuery snippet adds a site-wide scroll offset based on the header height plus 20px.
A code snippet that adds a class with the name of the current language to your HTML body tag, so you can style individual language versions differently.
A Germanized update adds a shipping status column to the WooCommerce order overview for every user. This short snippet disables the column permanently.
WordPress caches embedded content automatically, including faulty output. Here is how to reset the oEmbed cache directly in the database.
A Python script that reads owners and their shares from Austrian land register extracts (PDF) so you can export the data to Excel, CSV or a database.
A handy snippet that removes files from your media library from the general search on your website.
WordPress themes and plugins use DNS prefetching, which sends extra requests that may matter under the GDPR. One line of code disables it in WordPress.
Show the RRP from B2B Market for WooCommerce anywhere on the product page with a shortcode. Especially handy if you use a page builder.
A solution to a fairly specific problem: how to show posts from a completely independent category in a WordPress category as well.
Without German Market, B2B Market charges tax at checkout even for B2B customers. This snippet exempts selected WooCommerce customer groups from tax.
B2B Market for WooCommerce cannot target several B2B groups at once. This shortcode snippet shows text or HTML to multiple customer groups together.
PHP Freelancer
Prefer to have it done for you?
Customizations, plugins, and integrations - cleanly implemented, €120/h plus VAT.
See the PHP freelancer