
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
wp-react-starter-theme
Advanced tools
A professional WordPress theme with React integration, featuring modern design, WordPress Customizer support, multiple menu locations, and seamless React component integration. Perfect for developers who want the power of React with WordPress's content ma
A professional WordPress theme with React integration, featuring modern design, WordPress Customizer support, multiple menu locations, and seamless React component integration. Perfect for developers who want the power of React with WordPress's content management capabilities.
npm install -g wp-react-starter-theme
# Basic usage
wp-react-starter my-professional-theme
# Overwrite existing theme
wp-react-starter my-professional-theme --force
# Install directly to WordPress themes directory
wp-react-starter my-professional-theme --wp-themes=/path/to/wp-content/themes
# Combine options
wp-react-starter my-professional-theme --wp-themes=/path/to/wp-content/themes --force
Or if you prefer npx:
npx wp-react-starter-theme my-professional-theme
After creating your theme, navigate to the theme directory and install dependencies:
cd my-professional-theme
npm install
npm run build
Install directly to your WordPress themes directory to avoid manual uploads:
# Install to WordPress themes directory
wp-react-starter my-professional-theme --wp-themes=/Applications/XAMPP/xamppfiles/htdocs/wordpress-test/wp-content/themes
# Navigate to theme directory
cd /Applications/XAMPP/xamppfiles/htdocs/wordpress-test/wp-content/themes/my-professional-theme
# Install dependencies and start development
npm install
npm run dev
npm run dev - Start development server with hot reloadingnpm run build - Build for production (required for WordPress)npm start - Start development server and open browsermy-professional-theme/
├── src/
│ ├── components/ # Reusable React components
│ │ ├── Header.js # WordPress menu integration
│ │ └── Footer.js # WordPress footer integration
│ ├── pages/ # Page components
│ ├── styles/ # CSS files
│ ├── App.js # Main App component
│ └── index.js # Entry point
├── template-parts/ # WordPress template parts
├── dist/ # Built files (generated)
├── js/ # WordPress JavaScript files
├── style.css # WordPress theme stylesheet
├── functions.php # WordPress functions and features
├── header.php # WordPress header template
├── footer.php # WordPress footer template
├── index.php # Main WordPress template
├── front-page.php # Homepage with React integration
├── webpack.config.js # Webpack configuration
└── package.json # Dependencies and scripts
The theme uses CSS variables for easy customization. Edit src/styles/main.css to change colors, fonts, and other design tokens:
:root {
--primary-color: #2563eb;
--secondary-color: #64748b;
--accent-color: #f59e0b;
/* ... more variables */
}
src/pages/src/App.jsCreate reusable components in src/components/ and import them where needed.
This is a complete WordPress theme that works out of the box! The theme includes:
npm run buildThe theme seamlessly combines WordPress's content management with React's modern frontend capabilities.
The theme is built with a mobile-first approach and includes:
We welcome contributions! Please feel free to submit a Pull Request.
MIT License - feel free to use this theme for any project.
If you have any questions or need help:
Made with ❤️ for the WordPress and React communities
FAQs
A professional WordPress theme with React integration, featuring modern design, WordPress Customizer support, multiple menu locations, and seamless React component integration. Perfect for developers who want the power of React with WordPress's content ma
We found that wp-react-starter-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.