Amazing WordPress filter for translating & altering any text

Wordpress Bits


Amazing WordPress filter for translating & altering any text

Idea noticed here: https://github.com/rockethouse/rkt-admin/blob/master/index.php
but there is a lot of resources available: https://www.google.rs/search?q=gettext+filter


Simulating raidboxes: Nginx serve WebP automagicaly https://github.com/VirtuBox/advanced-nginx-cheatsheet#webp-images (creator of WordOps)

There are options: purge nginx cache with nginx

Proxy in a subfolder

also WordPress plugin Polylang use a cookie named pll_language Wow

To work with cookies, you can edit the fastcgi_cache_key. Cookie can be added with variable $cookie_{COOKIE_NAME}. For example, the WordPress plugin Polylang use a cookie named pll_language, so the directive fastcgi_cache_key would be :

fastcgi_cache_key “$scheme$request_method$host$request_uri$cookie_pll_language”;


VirtuBox/img-optimize: Image optimization bash script interesting: bash-scripts/wp-cli/https-migrate at master · VirtuBox/bash-scripts

date 01. Nov 2020 | modified 10. Jun 2024
filename: Wordpress » Dump