Skip to Content

Playwright, Testing WordPress Themes Locally

Set up Playwright for testing a locally installed WordPress theme. Write your tests in JavaScript within a ‘tests’ directory using .spec files for different cases like login functionality or responsive design checks and run them locally using `playwright test`. Use multi-browser tests with Playwright’s capabilities in local environments for performance optimization of WordPress themes.

Everything you need to create a WP plugin sidebar with React/Material UI.

Looking to create your own PluginSidebar but want to use React or Material UI for your components instead of createElement? Look no further! This post walks you through creating a Plugin, Creating the Plugin Sidebar, Webpack & Babel Configurations, and Using WordPress Data stores to hook up to Material UI components. This post has everything …

Set Up ESLint, Prettier for WordPress

If you are interested in getting involved with WordPress development, you might want to follow the WordPress Javascript coding standards that WordPress requires from their developers. You might be tempted to set up formatting and linting to catch common bugs and ensure other contributors can read your code easily. WordPress offers various linting and prettier …