How to create a “plugin” or “block” that can manipulate WordPress DOM in frontend?


I tried to understand the wordpress plugin dev ecosystem. It is somehow not clear what the right way is for a plugin that displays some HTML/CSS in the frontend of a wordpress/woocommerce page, that also includes javascript to manipulate the DOM or make API calls to woocommerse API?

Do I have to create a normal plugin or is it called blocks now? Is there a simple walkthrough/tutorial for such a plugin?

user3037960 1 month 2022-10-18T15:35:10-05:00 0 Answers 0 views 0

Leave an answer