Advanced Search
Search Results
82 total results found
Web
Sync the database schema
In rare situations, the WordPress database schema might not match the schema expected by the applications or plugin. For example switching to multisite, and the wp_users table is missing the spam and deleted colums To fix this issue locally, create a file in ...
Automation
Shell
Notetaking Tools
I'm always looking for a cross platform good value note taking solution. I work with the Linux and Apple ecosystems. Requirements I have the following requirements: Strong Privacy. Minimal effort required to input, grouping and search notes. Cross platf...
Bookmarking
To prevent rethreading the same research paths, I'm documenting my bookmark journey. I'm currently using Firefox across my devices and using it's inbuilt bookmark system. Acceptance criteria Bookmarks are searchable from the address bar, because that's wh...
Godot
DJ Setup
Hardware and Software WIP Categorising Music Separate DJ Music from your other music by moving it into a new location, ie DJ Music. Within that create a folder XXXX Added where XXXX is the year purchased, to separate music by time purchased. This is helpf...
Nginx
Nginx (pronounced "engine x"[8] /ˌɛndʒɪnˈɛks/ EN-jin-EKS) is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and publicly released in 2004. Nginx is free and open-source s...
Hooks for assets
Quick reference for where to hook in styles and scripts: Where Action Admin admin_enqueue_scripts Frontend wp_enqueue_scripts Block editor (admin) enqueue_block_editor_assets Blocks (front and admin) enqueue_block_assets ...
Linux
Troubleshooting local environment problems
A collection of troubleshooting tips to diagnose issues with a local environment that's not working right. WP CLI Issues Try wp cli info, if this fails then the issue is limited to WP CLI or PHP as this doesn't touch the codebase / DB.
Onboarding Questions
I’ve found information related to the following helps me onboard ne client services projects easier. Some of this might be already covered in a project overview, but might be a helpful as a checklist: Are there particular skills that are important for this ...
Nonces
WordPress nonces are not cryptographic nonces, as the latter are used only once, and the former are not: Nonces are regenerated every 12h, but are valid for 24h, hence that code. (12h = 1 tick, and they’re valid for two ticks)
React
Move a site to a new domain
Move a site workflow: Delete existing domain mappings for the site. wp search replace $old_url $new_url --all-tables; wp cache flush, avoiding trailing slashes. wp rewrite flush --url=$new_url; wp rewrite flush; Login to the network site, edit the site,...
WagTail
A cms on top of Django
Docksal Setup
Thoughts on running CodeIgniter with Docksal. Initial setup is easy # Setup CodeIgniter composer create-project codeigniter4/appstarter myproject cd myproject # Initialise a new Docksal project # set DOCROOT to public fin init # Plug the database ...
Change root site
To change the root site in a multisite network: define( 'BLOG_ID_CURRENT_SITE', 1 ); Plugins might not be compatbile with this change.