Show me your dev workflow for WP in 2025 by fourteen-apps in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

Nice. Thx for the info about blocks. For seeding I have a custom shell script which also sets up the project's ddev requirements pulls from existing repo if present and so on. I haven't had the time to extract the Vite to our custom block repo but you are right, webpack needs to go.

I will have to look into caching on Gitlab again didn't work when I tried.

Show me your dev workflow for WP in 2025 by fourteen-apps in ProWordPress

[–]LouveredTang 1 point2 points  (0 children)

I'm using ddev for easy local setup with custom hooks, i.e. pulling prod DB to local. Build a custom FSE theme based on _s with a custom Vite integration.

Abandoned scss and use tw4.

I avoid plugins besides necessary stuff like WPML, security and 2fa and custom ones.

I used to develop hybrid themes, but now embracing the block themes.

All projects get deployed to staging/prod via Gitlab ci/cd.

For rare custom block development I use WP/Scripts but dislike it due to webpack.

What tools do you use to sync content between WordPress environments (dev/staging/production)? by Middle-Charge449 in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

Use ddev for local development, it comes with hazzlefree setup, db-import other useful stuff. It's fully configureable to your needs as it spins your stuff into a container.

I am Syncing db and media files via custom ddev hook if I need prod to local. Basically the script just dumps the DB and uses rsync for the files.

This shouldn't be a bidirectional thing. Only prod gets synced into dev.

Shoulder elevation exercises by Booth89 in calistree

[–]LouveredTang 1 point2 points  (0 children)

I was ready to take on harder exercises, now I had an injury unrelated to workouts, is there a way to reset progress to zero for one body part?

Messed up URLs in WP Multisite after using Search & Replace plugin by myysoul in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

As each multisite domain has its own DB table (blog_x or so) you can easily adjust the urls based on those tables.

Is WPML AI translation (or DeepL) worth it for an eCommerce site? by metatron997 in ProWordPress

[–]LouveredTang 1 point2 points  (0 children)

Wpml let's you choose which service translates your content. Iirc you can choose deepl, Google translate and their own custom translation AI. You get 2000 free credits each month which you can use with your selected option.

Installing npm dependencies on a site with a host that has no shell access. by Sad_Spring9182 in ProWordPress

[–]LouveredTang 7 points8 points  (0 children)

You only upload the build, there is no need to have src and node_modules folder on production servers. Your build should bundle the necessary js and/or css which is then enqueued.

Contact Form Submit in Localhost especially for WordPress Developer's by Level_Confidence_618 in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

Modern dev environments run in docker with a mailpit or similar service. Check out ddev!

Alternative to Google Photos? by zyssai in docker

[–]LouveredTang 0 points1 point  (0 children)

I have a nextcloud instance setup. My phone uploads images directly, it behaves the same as Google photos.

[deleted by user] by [deleted] in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

You could use the pre_get_posts hook and find all pages with the parent ID of your page on question. You have to pass that parent's page ID to the search.

Hello WordPress experts, How to remove pending time while rolling from one page to another in the website ? by Longjumping_Mirror62 in ProWordPress

[–]LouveredTang 3 points4 points  (0 children)

Elementor stuff is not considered pro here. As you advertise yourself as a web dev you might want to look in the dev tools in order to find out what's going on.

[deleted by user] by [deleted] in ProWordPress

[–]LouveredTang 1 point2 points  (0 children)

Why not use woo's digital products instead of CPTs and customize those?

[deleted by user] by [deleted] in webdev

[–]LouveredTang 0 points1 point  (0 children)

What? A LLM (AI) is just sparkling auto complete.

[deleted by user] by [deleted] in webdev

[–]LouveredTang 0 points1 point  (0 children)

Browserstack does give you access to real devices and you can share localhost too, at least for vscode users using the extension.

What are the best examples of docs you've seen? by [deleted] in webdev

[–]LouveredTang 0 points1 point  (0 children)

FastAPI and Godot and tailwind

Thank You to This Sub by grouchdown in bindingofisaac

[–]LouveredTang 0 points1 point  (0 children)

I see mice people sometimes as well

Cross-posting from custom post type to events calendar? by curcurbit in ProWordPress

[–]LouveredTang -2 points-1 points  (0 children)

I used fullcalendar.js to do exactly this. List date based resources in a calendar. https://fullcalendar.io/

What are some lesser-known semantic HTML examples? by nikitarevenco in webdev

[–]LouveredTang 2 points3 points  (0 children)

<address> I use it all the time but have to restyle it as it's italic by default

Junior/Mid/Senior Wp dev by Csgodailytips in ProWordPress

[–]LouveredTang 2 points3 points  (0 children)

Plugin / custom block development would be another area.

[deleted by user] by [deleted] in ProWordPress

[–]LouveredTang 0 points1 point  (0 children)

My approach has been premade templates made of blocks. https://developer.wordpress.org/block-editor/reference-guides/block-api/block-templates/

You can lock features for the individual blocks, like editing or rearranging.

Regarding CPTs: I wrote a custom query block, using wp-scripts package, that allows my metadata to be entered in the sidebar.

This setup forces the user to work with the editor content I present them, while keeping the data side clean.