How to use this simple workaround in WordPress
Category: Development
How to set X-Robots-Tag in htaccess for any query string
Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.It is just a note for me to remember this trick: RewriteCond %{QUERY_STRING} . RewriteRule .* – [E=MY_SET_HEADER:1] [QSD,R=302,L] Header set X-Robots-Tag “noindex, nofollow” env=MY_SET_HEADER It is based on the suggestion here but with a change to support if there is any query […]
How to do a Django cache decorator that exclude by URL parameters
Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.After asking on Reddit, I started digging on internet looking other projects with custom cache decorator and mixing various I was able to achieve this. “””Custom cache decorator.””” from django.http import HttpResponse from django.views.decorators.cache import cache_page as original_cache_page from datetime import datetime from […]
How to do Core Old Ticket Triage for WordPress
Are you ready to contribute to WordPress with triaging very old tickets?
Add YITH Subscription support to your Woocommerce payment gateway
How to extend a Woocommerce payment gateway to add the support for another subscription plugin.
How to create a Woocommerce Rest endpoint to Add all items to cart
Some snippets to achieve something that Woocommerce still doesn’t after years of REST api in the plugin itself…
How to add autolink plugin to TinyMCE in WordPress
An easy way to add a plugin for TinyMce in WordPress
How to do a Woocommerce Product list shortcode with custom taxonomy
Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.I hate blocks, I prefer shortcode and when an official block like in this case from WooCommerce doesn’t allow you to filter by taxonomy, well it is time to create a shortcode that uses the same HTML tags, CSS classes and structure so […]
WordPress Core contributions by (tickets) numbers
The WordPress Core development is healthy and in good shape? Let’s see with tickets numbers.
The Disruptive power of NPM developers for the Open Source brand
How a ecosystem harms the FOSS brand around the world