A sustainable WordPress theme is designed to minimize its environmental impact by being lightweight, efficient, and optimized to reduce energy consumption.
Here are some of the coolest features of the GreenPressWP Theme:
- Truly sustainable and super lightweight.
- Performance features like assets minification, critical css and assets lazy loading.
- Well commented OOP based code with WordPress and WordPress VIP coding standards.
- Organized Files and Folder structure.
- Minimal responsive styling with SASS framework.
- All the necessary default template files like single.php, archive.php, page.php, search.php etc.
- Basic theme components like Header, Footer, Menu, Sidebar/Widget, Comments etc.
- Pagination and restricted media file types for security.
- Download the theme ZIP file from GitHub.
- In your WordPress dashboard, go to Appearance → Themes → Add New → Upload Theme.
- Choose
greenpresswp.zip
and click Install Now. - Once installed, click Activate.
To set up your homepage to match the theme layout, follow these steps:
- Create a new page titled Home and add some content to it.
- Navigate to Settings → Reading, choose "A static page" under "Your homepage displays", and set the Home page as your Homepage.
- Visit your site’s frontend — you should now see your custom homepage content displayed.
- Go to Appearance → Menus, create menu for the Header and assign it to the Primary Menu. If the page leads to a 404 error, try resaving the permalink settings and check again. Go to Settings → Permalinks → Save Changes
- Your homepage should now reflect the theme’s intended layout and design.
- Navigate to Appearance → Customize → Colors.
- Customize various theme color settings directly from the Customizer.
- Go to Appearance → Customize → Theme Options → Font Settings.
- Choose between System Fonts, Custom Fonts, or Google Fonts.
- Head to Appearance → Customize → Theme Options → General Settings.
- Set a default OG Image for social sharing.
- Add multiple social media icons to be displayed in the footer.
- Also found under Appearance → Customize → Theme Options → Third Party Integration.
- Add custom header and footer scripts for analytics, tracking, or other third-party tools.
- Go to Appearance → Customize → Theme Options → Header Settings.
- From here you can select if you want to keep menu or the buttons. We have added two button fields here.
- Go to Appearance → Customize → Theme Options → Footer Settings.
- You can add here any text or HTML.
If you plan to modify the theme’s CSS or JavaScript, you’ll need to build the assets. Follow the steps below to get started:
Check for Proper node version
cd assets
nvm use
Install Dependency
npm install
During development
npm run start
Production
npm run build