Skip to content

Instantly share code, notes, and snippets.

View benpohdigital's full-sized avatar

benpohdigital

View GitHub Profile
@benpohdigital
benpohdigital / theme.json
Created April 22, 2024 09:54
Example theme.json
{
"version": 2,
"settings": {
"blocks": {
"core/button": {
"border": {
"radius": false
}
}
}
@benpohdigital
benpohdigital / nginx.conf
Last active February 6, 2023 11:07 — forked from mckernanin/nginx.conf
Example nginx config to get WordPress uploads from remote if they don't exist locally
# save space, and grab uploads from the live site
location /app/uploads/ {
if (!-e $request_filename){
rewrite ^/app/uploads/(.*) http://yourlivesite.com/app/uploads/$1 redirect;
}
}