6 Important WordPress Server Requirements You Should Know

Recently, one of our users asked what the recommended server requirements are for running a WordPress website.

The best thing about WordPress is that it will work in almost any kind of environment. However, when you’re picking a hosting solution for your site, it’s important to check whether it meets the basic prerequisites or not.

In this article, we will share important WordPress server requirements you should know.

Important WordPress server requirements

Why is it Important to Check Server Requirements?

All WordPress websites on the internet need a server to function. They are used to store and use website files, databases, media files, content, and other important data.

When it comes to running WordPress smoothly, there are some server requirements you should look into. Technically, WordPress will work in minimalist conditions, like on outdated versions of PHP or basic hardware, but it’s not ideal.

WordPress server plays a big role in your site’s performance. Limited server specifications can slow down your site, which can have a negative impact on user experience and keyword rankings.

It will also make it difficult to handle large spikes in traffic. If you run multiple WordPress plugins and third-party tools, then meeting server requirements is critical. Otherwise, you’ll risk breaking your site or experiencing sluggish performance.

That said, let’s look at the server requirements for WordPress. You can click the links below to jump ahead to any section:

Important WordPress Server Requirements

To run WordPress, you will need to check some prerequisites. These include the PHP version, MySQL or MariaDB version, HTTPS support, web server type, storage space, and other hardware specifications.

Let’s take a closer look at each of these requirements.

WordPress currently requires PHP version 7.4 or higher to work smoothly. PHP is a programming language for creating dynamic interactive websites. It is open source and WordPress is written using PHP.

Just like any other programming language, there are many versions of PHP you can use. Each version receives updates and fixes for up to 2 years. While WordPress officially recommends PHP version 7.4, it no longer gets any security updates.

That’s why we would suggest using the latest version. If you already have a WordPress site, then it’s better to update the PHP version at the earliest.

This will protect your site from security vulnerabilities, bugs, malware, and hackers. Plus, it will improve performance by running processes much faster and reducing memory usage.

You can also check the PHP version of your server by going to Tools » Site Health from the WordPress dashboard. From here, switch to the ‘Info’ tab.

Opening the Info tab inside the Site Health menu in the WordPress admin area

Next, you can scroll down to the ‘Server’ tab.

Go ahead and click the tab to expand the Server section and view the server’s system information along with the PHP version.

Checking your server's PHP version in the WordPress Site Health page

Besides that, you should also check the PHP memory allocated by the WordPress server. PHP memory is the amount of memory reserved for running PHP-based processes.

The standard PHP memory used by WordPress is 64MB, but this is often not high enough. If a task or process requires more memory to work, then it could lead to the WordPress memory exhausted error.

A simple fix is to increase the PHP memory by manually editing the wp-config.php file or .htaccess file. Or you can reach out to your web hosting provider and increase the limit.

2. Check for Suggested MySQL or MariaDB Versions

WordPress recommends MySQL version 5.7 or greater and MariaDB version 10.4 or higher to function.

MySQL and MariaDB are database management systems used by WordPress to store and retrieve blog information. You only need any one of the systems to install and use WordPress on a server.

You can easily access the databases from your hosting provider’s cPanel. For instance, simply use phpMyAdmin to access the MySQL database in your web browser.

phpMyAdmin

However, when checking the WordPress server requirements, make sure that the database is stored on a solid-state drive (SSD). It is the fastest storage technology currently available and offers quick performance.

You should also see if the server offers automated database optimization and if there is an option for automated database backups.

3. Look for NGINX or Apache Web Server Software

The optimal web server software recommended by WordPress is NGINX or Apache. While it is not mandatory to run WordPress, using either software has certain advantages.

For instance, Apache is an open-source server software that is fast, reliable, and secure. It powers almost 31% of web servers and is highly customizable. You can use different extensions and modules to meet the needs of any environment.

On the other hand, NGINX is newer and faster and requires fewer resources to run than Apache. It runs more than 34% of web servers and is developed to address performance issues. However, it doesn’t offer the flexibility that you’d get with Apache.

When looking for a web server for your WordPress site, either Apache or NGINX is a great choice.

PRO TIP: Many users have had great success with Litespeed server software as well. If you’re interested in checking it out, we recommend using Hostinger because they have optimized Litespeed hosting for as low as $2.99 per month.

4. Support for HTTPS by WordPress Server

HTTPS, or hypertext transfer protocol secure, is an encryption method that secures the connection between your server and your user’s browser. It is an extension of HTTP, and all web addresses begin with HTTPS.

The HTTPS protocol in WPBeginner's domain

HTTPS makes it harder for hackers to eavesdrop on your connection, and it helps make your site more secure. Plus, it also sends a positive signal to search engines like Google and helps improve your WordPress SEO.

That’s why it’s important to check if your WordPress server supports HTTPS and offers SSL certificates.

For more details, you can see our guide on how to get a free SSL certificate for your WordPress website.

5. WordPress Server Hardware Requirements

When choosing a WordPress server, you should also look into some basic hardware specifications.

That’s because a web server is actually a physical server that stores and shares websites with people on the internet. If the hardware requirements are limited, then you could run into storage issues, poor performance, and other WordPress errors.

Some important hardware requirements include checking the disk space available for storage, RAM (random access memory), and CPU (central processing unit).

  • Storage (Disk Space) – The minimum disk space requirement for WordPress is 1 GB. However, we suggest looking for servers that offer at least 10 GB or more storage. WordPress will use disk space to store website files, images, videos, plugins, themes, and other data. So, as your site grows, it is better to have enough space to keep your website running smoothly. Plus, look for SSD drives as they are faster than the standard HDD (hard disk drives).
  • Memory (RAM) – It acts as a link between your server’s hard disk and processor. RAM speeds up server processes by temporarily storing data required by the CPU from the hard disk. WordPress itself only requires at least 512 MB of RAM, but look for a web server that has an option for expansion. As your site grows, you’ll need more RAM to improve performance.
  • Processing Power (CPU) – The processor or CPU is the brain of your web server, and it controls how many processes can happen at a given time. Its performance is usually measured in gigahertz (GHz) or the number of cores available. WordPress requires only a 1.0 GHz CPU to work normally. However, more powerful processors will have multiple cores and deliver faster performance.

To learn more, please see our guide on how to determine the ideal size of a web server for your website.

6. Check Your WordPress Server Location and CDN Option

The physical distance between your site’s server location and the user’s location can affect the loading speed of your website. If a user is located near your server, then your site will load faster compared to someone living further away.

To speed up your WordPress site, many web servers offer a content delivery network (CDN).

It is a network of servers spread across the globe, and they store static versions of your site. When a user wants to view your content, the closest server in the CDN will instantly load the website.

Content Delivery Network (CDN)

Even though it’s not a technical server requirement, when you’re looking at hosting companies for your site’s needs and requirements, there is an added advantage if the one you choose offers a CDN.

You may want to see our list of the best WordPress CDN services.

Bonus: Pick the Best WordPress Servers

Now that you know some important WordPress server specifications, the next step is to pick a hosting solution that meets these requirements.

In our 16+ years of experience, we’ve tested multiple website hosts. And to help you out, here are some of the best hosting providers you can choose from.

1. Bluehost

bluehost website

Bluehost is the oldest web host in the market, and they’re an official WordPress-recommended hosting provider.

It offers a free domain for 1 year, a free SSL certificate, and a 1-click WordPress installation with every plan. Plus, you get SSD web storage space starting from 10 GB and going all the way up to 100 GB.

Besides that, it offers free CDN with every pricing plan. If you opt for dedicated hosting, then you get a minimum of 4 CPU cores (2.3 GHz) and 1TB HDD storage.

2. SiteGround

SiteGround web hosting

SiteGround is one of the most popular and highest-rated hosting providers. They provide a unique in-house speed and security solution for WordPress.

With SiteGround, you get free WordPress installation, 10 GB of web storage space that goes up to 40 GB, a free SSL certificate for HTTPS support, free CDN, and more.

It easily meets the minimum WordPress server requirements and offers advanced solutions. For instance, it automatically updates the PHP version once it is stable, and lets you create unlimited MySQL databases, offers SSD storage, and more.

3. Hostinger

Hostinger website

Hostinger is one of the fastest WordPress hosting services in the industry. It offers automatic 1-click WordPress install, free CDN, free domain name, and 24/7 customer support.

The best part about Hostinger is that the minimum storage space it offers is 100 GB, which goes up to 200 GB. Plus, it offers the fastest SSD technology currently available.

Besides that, you get free SSL, unlimited bandwidth, regular backups, unlimited databases, and multiple PHP version support. Their shared plans also run on Litespeed web server software, a popular alternative to Apache and NGINX.

If you want more options for picking a website server, then please see our guide on how to choose the best WordPress hosting.

We hope this article helped you learn about important WordPress server requirements you should know about. You may also want to see our guide on the difference between a domain name and web hosting and how to move WordPress from HTTP to HTTPS.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 6 Important WordPress Server Requirements You Should Know first appeared on WPBeginner.

5+ Best WordPress Plugins to Try Out [2024 edition]

The WordPress directory has 50k+ free plugins that were developed so you can extend a WordPress website with functions and features far beyond your imagination.

Additional thousands of WordPress plugins are available from various marketplaces.

No matter how much you might have a need for a specialized plugin or two, would you really want to spend a full workday on reseraching? Probably not.

So, what, if anything, can you do? We have an answer to that.

We tested tens of WordPress plugins and selected the 8 best WordPress free and premium plugins for a range of both popular and lesser used functions.

These plugins focus on important functionalities that you won’t typically find in a WordPress theme. They address web designer/developer needs for:

  • problem-free building of landing pages that catch the eye.
  • management and displaying of financial, commercial, scientific, statistical, and other data, as well as of substantial amounts of data.
  • visual storytelling that enhance UX.
  • automating and streamlining appointments bookings.

These 8 best WordPress plugins for 2024 are available in trial, free, or premium.

What key qualities do these top WordPress plugins have?

Support – We reviewed product development teams’ responses to problems and questions and recommended only those products whose teams have a history of answering support issues within 24 hours.

Reviews by users. We extensively read product reviews and testimonials that specified both ‘Have’ and ‘Have nots’ of these plugins.

Features – We scrutinized each plugin to ensure its advertised features would meet the goal the plugin was designed and built to satisfy.

Free version – All 8 have free versions with a large number of features.

Compatibility – We made certain each plugin was fully compatible with the latest WordPress and PHP versions, and has been updated within the past two months.

8 Best WordPress Plugins for 2024

These 8 WordPress plugins are excellent in their areas. And we have made your job easier by doing time-consuming work for you.

Below, you will read about each plugin’s key features, how their customer evaluated them, and we will give you links to test them out or find out more info for yourself.

1. Amelia™ WordPress Plugin — Appointment Booking WP Plugin

Amelia is the best WordPress plugin for a service-oriented business looking for an automated booking system.

More than 70% of Amelia’s users agree that Amelia’s standout feature is its powerful multilingual Notifications system that enables users to seamlessly manage their appointment and event bookings via SMS, email, and/or WhatsApp messages.

Product qualities users realize once they begin using Amelia:

  • effortless navigation and ultramodern backend and frontend interface attributes.
  • the ability to tailor Amelia to meet their specific needs.
  • a user-friendly design that is free from unwelcome surprises together with the value inherent in transparent functionality and pricing.

A service-oriented business like the one shown in the barbershop template can take advantage of Amelia’s new and improved booking form, organize an appointment flow that best suits their business model, and receive appointment requests online  24/7.

Product rating: 4.8/5 on Captera.

Customer Insight: 
Pros: “
Amelia is one of my favorite plugins because: 1. Easy to install and use. 2. Reliable and professional quality. 3. Full of great features – better than any others I have used. 4. Great layout, versatile and works seamlessly with clients 5. It is always updated and improved. 6. Support help and communication is fast, friendly, and excellent. 7. Not just a flash in the pan. It has been around for a long time.”

Cons: “Nothing I can think of or have had to be concerned with.”

Instant Support: Documentation, Videos on YouTube and a Discord Group.

Find out more here

2. wpDataTables: The Best WordPress Table & Chart Plugin

wpDataTables is the best WordPress plugin for organizations or individuals tasked with creating tables and charts from complex and/or massive amounts of data.

wpDataTables’ key feature is its Multiple Database Connections capability. This groundbreaking feature is a data management breakthrough that allows a table to set up independent connections to MySQL, MS SQL, or PostgreSQL databases and become a versatile data hub in the process.

Product qualities users quickly become aware of:

  • a user interface that does not require technical ability to effortlessly create tables or charts.
  • wpDataTable’s blend of powerful features that handle complex data structures with finesse.
  • effortlessly show informative tables by seamlessly incorporating data and information sourced from diverse origins.

wpDataTables is excellent for statistics data tables that are responsive. Other uses include:

  • fixed headers and columns that ensure that key columns and headers remain visible while scrolling and make data analysis more straightforward.
  • Shortcode for single cells: helpful for useful adding multimedia, links, or other dynamic elements to a table.
  • The ability to populate tables with data from various APIs.

Product rating: 4.83/5

Customer Insight: “Really great for tables using csv or Excel. Solved a very difficult content issue for me. Thanks so much!”

Instant support options: Excellent documentation and on point YouTube videos.

Use WpDataTables for free.

3. Brizy: Best Website Builder

Brizy is the ideal WordPress website builder for those looking for a White Label solution to market their own brand.

Brizy’s standout feature is its White Label option. You can brand the Brizy builder as your own and encourage clients to create websites using “your” builder.

Product qualities users discover as they use Brizy Builder:

  • You will never have a problem editing in place whether you are clicking on a text, an image, or any other kind of content.
  • Content is never created in a disjointed sidebar, as is the case in some competing builders.

Tailored features for agencies and resellers in addition to the White Label option, include Billing, Reseller Client Management, Multi-language capabilities, and Marketing integrations.

Brizy Builder is ideal for building creative websites and landing pages in the Brizy Cloud or when used with the Brizy WordPress theme. “Petits” Brizy’s pet website template is ideal for a pet shop in addition to having a wide range of  other uses.

Product rating: 4.6/5 on Trust Pilot

Customer Insight: “In many way a very satisfying pagebuilder, with a generous and fantastic free version. Especially the way of working with pictures is really nice. However, sometimes experience that Brizy is a little unstable, some things that in between do not flow as they should. But can warmly recommend it, not least for beginners.”

Support capabilities include the Brizy support manual and YouTube videos.

Click here to check out  the Brizy Builder plugin.

4. Slider Revolution

Slider Revolution is the best WordPress plugin for those looking to incorporate a WOW factor into their sliders without any need for coding.

Some say it’s the knockout effects for WordPress that turn them on. With others, Slider Revolution’s top feature is the one that enables them to create sliders visually. Both are right.

Revolution Slider has a host of design options for every category of user:

  • Web shop builders will tell you that the WooCommerce sliders are especially useful.
  • Businesses and small agencies find the one-page portfolio templates particularly helpful.
  • The images and cool scrolling effects in Slider Revolution’s mesmerizing Brewery Website slider template will tempt you to take time out for a cool one. It’s great for a wide variety of uses.

Users quickly take note of the features that allow them to easily upgrade a WordPress website visual in mere minutes.

Product rating: 4.6/5

Customer Insight: This is a stunning tool. There are great templates that are easily modified to suit you. There’s a learning curve which should come as no surprise once you recognize its potential (and therefore yours.) I don’t know one line of code.

Support: Slider Revolution’s support manual and YouTube videos provide instant support.

Click for a preview of the Slider Revolution plugin.

5. LayerSlider: #1 WordPress Slider Plugin

LayerSlider is the best WordPress plugin for web designers looking for an uncompromising approach to making amazing web content with gorgeous visual effects.

LayerSlider is not only for building responsive sliders and popups but is also excellent for creating more complex websites. LayerSlider’s top feature is, in fact, a scroll effect in which a hero image magically animates as visitors scroll through the page, as is the case in the Fairy Magical Company example with its scroll scene, scroll transition, and pinned layers.

With respect to templates, the Wood Sculptor website template shows a great example of LayerSlider’s capabilities.

Qualities that only its users will notice include:

  • A Project Editor that matches professional desktop applications in terms of performance and usability.
  • A complete suite of visual content creation online services without leaving the UI.
  • Built-in transitions and effects that can be applied instantly.

Although LayerSlider’s popup and banner-creating capabilities and popular animation features are excellent for marketing purposes, LayerSlider is “tailored” for use on any website niche.

Customer Insight: “Powerful features and a flexible slider for many effects. Makes a very professional looking slider.”

Support: A support manual comes with the package, plus built-in help for almost everything inside the LayerSlider Project Editor.

Click for a preview of the LayerSlider plugin.

6. Essential Grid

Essential Grid is the #1 WordPress gallery plugin for creating galleries guaranteed to capture visitors’ attention.

The grid skin options and 50+ unique grid skins are clearly Essential Grid’s top feature.

Users can easily plug and play these customizable templates to complete projects in no time at all, plus Essential Grid’s visual skin editor enables users to create as many skin variations as they want.

  • Essential grid created galleries load with a rocket-fast speed and are responsive to display the content on all devices in the most perfect way.
  • It’s also possible to do search engine optimization of an Essential Grid gallery using deep linking and pagination to achieve a higher ranking on Google.

Team, blog, portfolio, and You/Tube Vimeo channel stream grids are popular among target client categories. The Portfolio Grid example features a image-based portfolio grid layout with pinned text layer and hover effects.

The developers of the wildly popular Slider Revolution plugin, which also appears on this list of best plugins, created Essential Grid as well.

Product rating: 4.7/5 on Trust Pilot

Customer Insight:It’s rare in today’s world to find support that is competent and responsive, but Theme Punch’s Essential Grid support is AMAZING!!! My issue was resolved on the first contact, and within an hour of submitting a ticket.”

Support: Look to the support manual and YouTube videos for instant support.

Preview Essential Grid.

7. Web Stories – WordPress plugin

Web Stories helps users create powerful narratives and fast-loading full-screen experiences.

The top feature of this WordPress storytelling editor is how smoothly it blends a selection of story creation capabilities into a WYSIWYG creation tool. WebStories also provides an impressive selection of templates. Bike Shop is simple, straightforward, and also one of the most popular eCommerce themed templates.

Other popular features include even more beautiful page templates to help get story creation activities underway together with:

  • a visually rich and intuitive dashboard that makes it easy to navigate through the entire story creation process.
  • drag-and-drop capabilities designed to make composing beautiful stories as easy as possible.
  • access to the WordPress media library through the plugin’s dashboard.

Product qualities that Web Stories’ users discover when they begin using the plugin include:

  • fast loading times that keep visitors engaged and entertained.
  • sharing and linking stories on the open web.
  • tracking and measuring stories for monetization.

Product rating: 4.1/5

Customer Insight: On our website, we personally love the web story platform! It’s SO beautiful and customizable, we can create different posts that fit our media outlet, and our public likes it a lot. It isn’t that easy to make in the beginning, but once you get it, you can produce a lot!

Instant support option: Solid documentation.

View the Web Stories plugin.

8. Tablesome

Tablesome is the best WordPress form automation plugin for those who need to efficiently transfer information from submitted forms into tables.

Tablesome’s top feature is easily its WordPress Automation feature which enables users to automate certain data management processes when people have submitted forms such as:

  • storing the form entries in a table.
  • saving the form entries to Google Sheet.
  • sending the form entries in an email.

Tablesome’s users appreciate what Workflow Automation does to make their work easier. As they become familiar with Tablesome they gain a better understanding of the tasks it can do, and also become aware of the significant reduction in the number plugins needed to carry out those tasks.

Tablesome can also be used to support building of or improving data-centric websites thanks to its integrations with MailChimp, Google Sheets, Slack, HubSpot CRM, OpenAI/ChatGPT, and WordPress.

Product rating: 4.7/5

Customer Insight: “I was searching for a simple responsive table plugin that allowed Excel file imports in the free version, and after testing all the so-called popular table plugins, I realized that none of them offered excel imports in the free version or if they did, they were not responsive. Then I found Tablesome, and it worked perfectly! Within minutes I had the table setup from the existing excel sheet. Thank you to the authors of Tablesome, and I highly recommend it to everyone!”

Support: YouTube videos and Tablesome’s user manual are best for instant support.

Preview Tablesome.

***** 

Which plugins or plugins you might use in 2024?

It’s understandable you would not need every one of them, but having one or two could add significant value to your projects. With so many free and premium WordPress plugins to select from in the 4 areas that we covere, we saved you a great amount of time.

Each of these best WordPress plugins is:

  • super-fast, solid, and has excellent UX.
  • free of restrictions or limitations within its area.
  • a huge time saver thanks to its prebuilt demos that make creating web projects efficient and enjoyable.
  • designed for looking excellent on both desktop and mobile.

And customer support for each of these plugins is on point, responsive and pro.

Check out these free and premium wordpress plugins, take them for a spin and go premium if you need the extra features.

Read More at 5+ Best WordPress Plugins to Try Out [2024 edition]

10 Excellent WordPress Themes for 2024

There is certainly no shortage of excellent WordPress themes you can select from to help you create an engaging and high performing website. Finding the best one for the job would most certainly be a challenge as there are literally thousands of great WordPress themes available plus you’ll have to define just what the makeup of the “best” would be like. Simply finding one you can rely on to help you create a website that will attract and engage new visitors to your site can be a problem in itself.

Since the one you pick will go a long way toward determining the look and feel of your site and would play an essential role in creating a source of information potential customers can feel they can rely on, one of our 10 top picks for the best WordPress themes should suit you quite nicely in that each brings a wealth of powerful website-building features to the table. 

  1. Be – The Fastest WordPress Theme Ever Built

One of the most consistent features of BeTheme is that it keeps getting better with each new release, with each new feature or set of features adding to its already well-established popularity. BeTheme has in effect become a total website management system thanks to a multiplicity of powerful core features that can be used for quickly building high performance websites of any type.

  • BeTheme’s 700+pre-built websites, a longtime user favorite, feature total customizability, responsiveness, and built-in UX functionality plus they enable users to get their projects off to a rapid start.
  • BeBuilder heads up an imposing collection of builders that include a Header Builder, a Footer Builder, a WooCommerce Builder, a Loop Builder, a Popup Builder, and a Sidebar Menu Builder. Thanks to BeBuilder, BeTheme can lay claim to being the fastest, most flexible, and most intuitive WordPress theme ever built.
  • BeBuilder’s Blocks mode features 80+ building blocks to work with together with selections of premade payouts and global theme options.
  • BeBuilder’s Developer mode improves workflow and takes users to the next level.
  • Other new BeTheme features include a Dynamic Data feature, a Conditional Logic tool that can determine if a content element or section can be rendered, a Single Post option, a Single Portfolio option, a Layer Navigator, and a Nested Wraps capability for managing more advanced layouts.

Click on the banner to check out each of BeTheme’s core website-building features. You’ll be impressed and glad you did.

  1. Pro Theme + Cornerstone Builder

Take Cornerstone, the most advanced builder in WordPress, pair it with Pro Theme, and what you get is the most powerful combo in WordPress. Cornerstone, with its app-like design and development capability is website building in the browser at its best and makes building websites fun, as it should be.

The Cornerstone Builder brings to the table the ability to build custom layouts and templates, stunning headers, content blocks, optimized workflows, glorious grids, and much more.

Cornerstone’s imposing family of builders include a Header Builder, a Footer Builder, a Layout Builder, and a Blog Builder.

  • Cornerstone’s Design Cloud asset is only a click away and features hundreds of ready-made templates, an ecosystem of premium plugins, and a collection of valuable courses that include Cornerstone Charts, Web Design Magic, Super Loopers, Gridorama, Modern Sliders, and others.
  • Headline technical features include Blank & Starter Stack, Theme Parameters, Components, and Elements, Conditional Logic, Native Web Effects, Native Sliders, Native Mega Menus, Font Awesome 6, Presets, Responsive Modals, Element API, and much more.
  • Cornerstone recently launched an External API feature that enables users to connect any 3rd party API to WordPress.

Click on the banner, visit the Pro + Cornerstone website and be prepared to be impressed with what you see. Reviews by satisfied users are included. 

  1. Total WordPress Theme

Whether you have a new website building project in mind or have decided it would be a good idea to spice up an existing one, having Total at your fingertips will help you do either to perfection. The Total WordPress theme is an ideal choice for developers, small business owners, and web designers of all skill levels.

Having the ability to create a website that does justice to your business is good. Having tools on hand that enable you to build it your way is even better. The Total WordPress theme guarantees both with its:

  • 50+ ready to use demos, 100+ site builder elements, 90+section templates, and hundreds of live customer settings plus the Slider Revolution plugin and an extended version of the WPBakery drag and drop page builder with its ready to use patterns, sample demos, and pre-styled cards.
  • seamless integration with WooCommerce for your shop-building projects.
  • boxed and full-width layout options, dynamic layouts, one-page sites, and advanced page settings.
  • RTL and translation ready code, retina images, a unique WPBakery Slim Mode to speed up your site, and five-star support.

Total is developer friendly with a full complement of action hooks, filters, custom snippets and more. Click on the banner to learn more about what Total could do for you.

  1. Uncode – Creative & WooCommerce WordPress Theme

Suggestion. Visit Uncode’s website and view its inspirational user-built website gallery that shows what its users have accomplished, as well as what Uncode could do for you.

This best-selling (110,000+ sales) creative and WooCommerce theme features include:

  • a remarkable selection of 95 demos or concepts, each of which is built around a specific purpose for creating agency, business, event, or portfolio websites and blog projects.
  • an impressive library of useful page layouts.
  • Uncode’s WooCommerce Builder for designing shop pages and pixel-perfect product listings.
  • the Uncode Wireframes plugin with its 550+ section templates you can work with to create landing your pages or build a complete website.
  1. Outgrid – Multi-Purpose Elementor WordPress Theme

The Outgrid Elementor Theme with its impressive range of 2,000+ blocks, 250+widgets, pages, and stunning interactions gives you everything you need to create an exceptional website that will stand out from the competition.

  • Outgrid’s Theme Options tool gives you total control over every aspect of your website’s static elements.
  • Outgrid’s UiCore Framework, Elementor’s free page builder, and Element Pack Pro plugins provide the theme’s core functionalities and amazing horsepower.
  • Outgrid’s Performance Manager helps you manage your website features, all in one panel, with no extra plugins.
  • Go global with Outgrid’s multilingual, translation, and RTL capabilities,

Outgrid also offers a White Label version. Simply add your logo, brand name, brand color, and disable theme features.

  1. Avada WordPress Theme – #1 Top Selling Theme of All Time

750,000+ first-time WordPress users and professional web designers (more than 24,000 of whom have submitted 5-star reviews) have discovered how Avada, the ultimate website builder and the #1 best-selling WordPress website building theme ever, makes it so fast and easy to create an amazing website.

  • Avada lets you customize anything and everything while its live visual drag and drop builder and huge selection of templates lets you build your website quickly.
  • The demo importer is a time saver. One click, and you’re ready to start customizing.
  • You can build everything from one-page business websites to thriving online marketplaces without ever having to write a single line of code.

Avada is responsive, optimized for speed, e-commerce enabled, and you’ll receive top-notch customer support.

  1. Woodmart – WordPress WooCommerce Theme for Any Kind of Store

Woodmart, the owner of a 4.95/5.0 average rating, offers an all-in-one solution for creating an attention-grabbing online store.

Visit the Woodmart WooCommerce theme website and go down its selection of 80+demos with their shop, business, corporate, fashion, electronics, and furniture themes. Chances are you’ll catch yourself trying to order something before remembering it’s only a demo.

Woodmart is simply demonstrating what an engaging website should look like.

  • The 80+ attractively laid out pre-made websites are inspirational and realistic.
  • Woodmart’s Shop and Product Page Elementor builders and design elements help you build an online store the way you want to.
  • The full AJAX filter and search features and Elementor custom checkout reduce order completion time and increase conversion rates.
  1. Blocksy – Premium WordPress Theme

The 100% eCommerce ready Blocksy WordPress theme is chock full of intuitive website building tools and aids that include –

  • Powerful advanced header and footer builders.
  • Gutenberg capabilities and the latest web technologies together with advanced WooCommerce integration with features calculated to maximize your conversion rates.
  • Blocksy’s Content Blocks module for inserting content anywhere you choose.
  • The mega menu extension for creating gorgeous dropdowns and layouts.
  • Support for custom post types and dynamic data.
  • local Google fonts that endure GDPR compliance.

Blocksy is compatible with Elementor, Brizy, and Beaver Builder page builders. Blocksy also features a White Label module that allows users to emphasize their company brands for maximal trust and user engagement.

  1. XStore WordPress & WooCommerce Theme

Building an online store should be done with careful attention to detail but it does not have to become a tedious grind. You’ll need to have your own content (products, descriptions, etc.) at the ready, but the rest will be the easy part if you let the XStore WooCommerce theme do the work for you.

Design tools include 130+ ready to customize and launch shops, Single Product, Product Archive, Checkout Layout, and Cart Layout builders, and 15 Sales Booster features that include:

  • Fake live viewing as a sales boosting aide.
  • product variation swatches selection dropdown.
  • popup that shows site activity in real-time.
  • frequently bought together ads as customer aids
  • 360 Product Viewer
  • Express Checkout, and
  • sticky add to cart bar that allows customers to add products without leaving pages.
  1. Litho Elementor WordPress Theme

If a creative, multi-purpose Elementor WordPress theme is your cup of tea, Litho is right for you.

Litho is built with Elementor and can be used for any type of business niche like corporate, design agency, restaurant, travel, yoga, architect, fitness, interior, cafe, application and more, plus portfolio, blog, and eCommerce. Just add the WooCommerce plugin and you’re ready to go.

  • The popular Slider Revolution plugin is included along with 37+ ready home pages, 200+ creative elements, and 300+ page-building templates.
  • Litho is WooCommerce ready, multilingual WPML compatible, and features top loading speeds and healthy SEO results.
  • Litho provides its users with detailed online documentation and top-notch customer support.

Litho is ideal for novice and advanced users alike.

*******

Site appearance is key with respect to how people will perceive your brand. It is therefore imperative that your online presence features a professional, visually appealing, and responsive design that helps you gain credibility, engage site visitors, and increase your conversion rates.

A WordPress theme can make this happen by giving you a fast, reliable, and efficient approach to website design by providing you with solutions that allow you to jumpstart your design efforts in minutes as opposed to the time it can take to create a layout from scratch.

Selecting the right WordPress theme is key if you want to present your content in an engaging, easy-to-digest, and functional manner. Now that you’ve checked out these 10 excellent WordPress themes, this might be the time to select one that suits you best and get on with building your site.

Read More at 10 Excellent WordPress Themes for 2024

Important Factors to Consider When Integrating PHP File Uploading Functionality in WordPress Theme

Allowing users to effortlessly upload files through WordPress is game-changing yet rife with challenges if not done properly. You have to plan it carefully and consider several important factors. Here, we have mentioned all important...

The post Important Factors to Consider When Integrating PHP File Uploading Functionality in WordPress Theme appeared first on 85ideas.com.

WordPress Playground: From 5-Minute Install To Instant Spin-Up

Many things have changed in WordPress over the years, but installation has largely remained the same: download WordPress, drop it on a server, create a database, sprinkle in some configuration, and presto, we have a WordPress site. This process was once lovingly referred to as the “famous five-minute install,” although that moniker seems to have faded with time, particularly as many hosting providers offer a more streamlined experience.

But what if WordPress didn’t require any setup at all? As in, you tap a link, and WordPress spins up a site for you right there, on demand? That’s probably difficult to imagine, considering WordPress runs on top of PHP, MySQL databases, and Apache. It’s not the most portable system.

That’s the aim of WordPress Playground, which got its first public boost when Matt Mullenweg introduced it during State of Word 2022.

Notice how the URL is a subdomain of a TasteWP-related top-level domain: hangingpurpose.s1-tastewp.com. It generates an instance on the multi-site network and establishes a URL for it based on a randomized naming system.

There’s a giant countdown timer on the screen that indicates when the site is scheduled to expire. That makes sense, right? Allowing anyone and everyone to create a site on the spot without so much as a login could become taxing on the server, so allowing sites to self-destruct on a schedule is likely as much to do with self-preservation as it does economics.

Speaking of economics, the countdown timer is immediately followed by a call to action to upgrade, which buys you permanence, extra server space, and customer support.

Without upgrading, though, you are only allowed two free instant sites. But if you create an account and log into TasteWP, then you can create up to six test sites on a free pricing tier.

That’s a look at the “quick” onboarding, but TasteWP does indeed have a more robust way to spin up a WordPress testing site with a set of advanced configurations, including which WordPress version to use with which version of PHP, settings you might normally define in wp-config.php, and options for adding specific themes and plugins.

So, how does that compare to WordPress Playground? Perhaps the greatest difference is that a TasteWP site is connected to the internet. It’s not a WordPress simulation, but an actual instance with a URL you can link up and share with others… as long as the site hasn’t expired. That could very well be enough of a differentiation to warrant more players in this space, even with WordPress Playground hanging around.

I wanted to give you a sense of what’s already offered before actually unboxing WordPress Playground. Now that we know what else is out there let’s turn our attention back to Playground and explore it.

Starting Up WordPress Playground

One of the first interesting things about WordPress Playground is that it is available in not just one but several places. I wouldn’t liken it completely to a service like TasteWP, where you create an account to create and manage WordPress instances. It’s more like a developer tool, one that you can reach for when testing your work in a WordPress environment.

You can simply hit the playground.wordpress.net URL in your browser to launch a new site on the spot. Or, you can launch an instance from the command line. Perhaps you prefer to use the official Chrome extension instead. Whatever the case, let’s look at those options.

1. Using The WordPress Playground URL

This is the most straightforward way to get a WordPress Playground instance up and running. That’s because all you do is visit the playground.wordpress.net address in the browser, and a WordPress site is created immediately.

This is exactly how the WordPress Playground demo works, prompting you to click a button to open a new WordPress site. In fact, try clicking the following button to create one now.

Create A WordPress Site

If you want to use a specific version of WordPress and PHP in your Playground, all it takes is adding a couple of parameters to the URL. For example, we can instruct Playground to run WordPress 6.2 on PHP 8.2 with the following URL:

https://playground.wordpress.net/?php=8.2&wp=6.2

You can even try out the developmental versions of WordPress using Playground by using the following parameter:

https://playground.wordpress.net/?wp=beta

2. Using The GitHub Repository

True to the WordPress ethos, WordPress Playground is very much an open-source project. The repo is available over at GitHub, and we can pull it into a local environment and use WordPress Playground right from a terminal.

First, let’s clone the repository from the command line:

git clone https://github.com/WordPress/wordpress-playground.git

There is a slightly faster alternative that fetches just the latest revision:

git clone -b trunk --single-branch --depth 1 git@github.com:WordPress/wordpress-playground.git

Now that we have the WordPress Playground package in our local environment, we can formally install it:

cd wordpress-playground
npm install
npm run dev

Once the local server is running, we should get a URL from the terminal that we can use to access the new Playground instance, likely pointed to http://localhost:5400/website-server/.

We are also able to set which versions of WordPress and PHP to use in the virtual environment by adding a couple of instructions to the command. For example, this command triggers a new WordPress 5.9 instance running on PHP 7.4:

wp-now start --wp=5.9 --php=7.4

3. Using wp-now In The Command Line

An even quicker way to get Playground running from the command line is to globally install the wp-now CLI tool:

npm install -g @wp-now/wp-now

This way, we can create a new Playground instance anytime you want with a single command:

wp-now start

Be sure that you’re using Node 18 or higher. Otherwise, you’re likely to bump into some errors. Once the command executes, however, the browser will automatically open a new tab pointing to the new instance. You’re already signed into WordPress and everything!

We can configure the environment just as we could with the npm package:

wp-now start --wp=5.9 --php=7.4

A neat thing about this method is that there are several different “modes” you can run this in, and which one you use depends on the directory you’re in when running the command. For example, if you run the command from a directory that already contains WordPress, then Playground will automatically recognize that and run the directory as a full WordPress installation. Or, it’s possible to execute the command from a directory that contains nothing but an index.php file, and Playground will start the server and run requests through that file.

There are other options, including modes for theme, plugin, wp-content, and wordpress-develop, that are worth checking out in the documentation.

4. Using The Visual Studio Code Extension

WordPress Playground is also available as a Visual Studio Code extension. It provides a nice one-click process to launch a local WordPress site.

Installing the extension adds a WordPress icon to the sidebar menu that, when clicked, opens a panel for launching a new WordPress Playground site.

Open a project folder, click the “Start WordPress Server,” and the Playground extension boots up a new site on the spot. The extension also provides server details, including the local URL, the mode it’s in, and settings to change which versions of WordPress and PHP are in use.

One thing I noticed while poking at the instance is that it automatically installs and activates the SQLite Database Integration plugin. Obviously, that’s a required component for things to work, but I thought it was worth pointing out that the installation does indeed include at least one pre-installed plugin right out of the gate.

5. Using A Chrome Extension To Preview Themes & Plugins

Have you ever found yourself perusing the WordPress Theme Directory and wanting to take a particular theme out for a test drive? There’s already a “Preview” button baked right into the directory to do exactly that.

That’s nice, as it opens up the theme in a frame that looks a lot like the classic WordPress Customizer.

But how cool would it be to really open up the theme and see what it is like to do actual tasks with it in the WordPress admin, such as creating a post, editing a page, or exploring its block patterns?

That is what the “Open in WordPress Playground” extension for Chrome can do. It literally adds a button to “Preview” a theme in a fresh WordPress Playground instance that, when clicked, allows you to interact with the theme in a real WordPress environment.

I tried out the extension, and it worked as described, and not only that, but it works with the WordPress Plugin Directory as well. In other words, it’s now possible to try a new plugin on the spot without having to install, activate, and test it yourself in some sandbox or, worse, your live or staging WordPress environments.

This is a potential game-changer as far as lowering the barrier to entry for using WordPress and for theme and plugin developers offering a convenient way to provide users with a demo experience. I can easily imagine a future where paid commercial plugins adopt a similar user experience to help reduce refunds from customers merely wanting to try a plugin before formally committing to it.

The extension is available free of charge in the Chrome Web Store, but you can check out the source code in its GitHub repository as well. While we’re on it, it’s worth noting that this is a third-party extension rather than an official WordPress or Automattic release.

The Default Playground Site

No matter which Playground method you use, the instances that spin up are nearly identical. For example, all of the methods we covered have the WordPress Twenty Twenty-Three theme installed and activated by default. That makes a lot of sense: a standard WordPress installation does the same.

Similarly, all of the instances we covered make use of the SQLite Database Integration plugin developed by the WordPress Performance Team. This also makes sense: we need the plugin to establish a database. It also sounds like from the plugin description that the intent is to eventually integrate the plugin into WordPress Core, so perhaps we’ll eventually see zero plugins in a default Playground instance at some point.

There are a few differences between instances. They’re not massive, but worth calling out so you know what you are activating or have available when using a particular method to create a WordPress instance. The following table breaks down the current components included in each method at the time of this writing:

Method WordPress Version PHP Version Themes Plugins
WordPress Playground website 6.3.2 8.0
  • Twenty Twenty-Three (active)
  • SQLite Database Integration (active)
GitHub repo 6.3.2 8.0
  • Twenty Twenty-Three (active)
  • SQLite Database Integration (active)
wp-now package 6.3.2 8.0.10-dev
  • Twenty Twenty-Three (active)
  • Twenty Twenty-Two
  • Twenty Twenty-One
  • Akismet
  • Hello Dolly
  • SQLite Database Integration (active)
VS Code extension 6.3.2 7.4
  • Twenty Twenty-Three (active)
  • Twenty Twenty-Two
  • Twenty Twenty-One
  • Akismet
  • Hello Dolly
  • SQLite Database Integration (active)
Chrome extension 6.3.2 8.0
  • Twenty Twenty-Three (active)
  • SQLite Database Integration (active)

And, of course, any other differences would come from how you configure an instance. For example, if you run the wp-now package on the command line when you’re in a directory with WordPress and several themes and plugins installed, then those themes and plugins will be available to activate and use. Similarly, using the Chrome Extension on any WordPress Theme Directory page or Plugin Directory page will install that particular theme or plugin.

Installing Themes, Plugins, and Block Patterns

In a standard WordPress installation, you might log into the WordPress admin, navigate to AppearanceThemes, and install a new theme straight from the WordPress Theme Directory. That’s because your site has a web connection and is able to pull things in from WordPress.org. Since a WordPress Playground instance from the WordPress Playground website (which is essentially the same as the Chrome extension) is not technically connected to the internet, there is no way to install plugins and themes to it.

If you want the same sort of point-and-click experience in your Playground site that you would get in a standard WordPress installation, then go with the GitHub repo, the wp-now package, or the VS Code extension. Each of these is indeed connected to the internet and is able to install themes and plugins directly from the WordPress admin.

You may notice a note about using the Query API to install a theme or plugin to a WordPress Playground instance that is disconnected from the web:

“Playground does not yet support connecting to the themes directory yet. You can still upload a theme or install it using the Query API (e.g. ?theme=pendant).”

That’s right! We’re still able to load in whatever theme we want by passing the theme’s slug into the Playground URL used to generate the site. For example,

https://playground.wordpress.net/?theme=ollie

The same goes for plugins:

https://playground.wordpress.net/?plugin=jetpack

And if we want to bundle multiple plugins, we can pass in each plugin as a separate parameter chain with an ampersand (&) in the URL:

It does not appear that we can do the same thing with themes. If you’re testing several themes in a single instance, then it’s probably best to use the wp-now package or the VS Code extension when pointing at a directory that already includes those themes.

What about block patterns, you ask? We only get two pre-defined patterns in a default WordPress Playground instance created on Playground’s site: Posts and Call to Action.

That’s because block patterns, too, are served to the WordPress admin from an internet connection. We get a much wider selection of options when creating an instance using any of the methods that establish a local host connection.

There appears to be no way, unfortunately, to import patterns with the Query API like we can for themes and plugins. The best way to bring in a new pattern, it seems, is to either bundle them in the theme you are using (or pointing to) or manually navigate to the Block Pattern Directory and use the “Copy” option to paste a pattern into the page or post you are testing in Playground.

Importing & Exporting Playgrounds

The transience of a WordPress Playground instance is its appeal. The site practically evaporates into thin air with the trigger of a page refresh. But what if you actually want to preserve an instance? Perhaps you need to come back to your work later. Or maybe you’re working on a visual tweak and want to demo it for your team. Playground instances can indeed be exported and even imported into other instances.

Open up a new WordPress site over at the playground.wordpress.net and locate the Upload and Download icons at the top-right corner of the frame.

No worries, this is not a step-by-step tutorial on how to click buttons. The only thing you really need to know is that these buttons are only available in instances created at the WordPress Playground site or when using the Chrome Extension to preview themes and plugins at WordPress.org.

What’s more interesting is what we get when exporting an instance. We get a ZIP file — wordpress-playground.zip to be exact — as you might expect. Extract that, and what we have is the entire website, including the full WordPress installation. It resembles any other standard WordPress project with a wp-content directory that contains the source files for the installed themes and plugins, as well as media library uploads.

The only difference I could spot between this WordPress Playground package and a standard project is that Playground provides the SQLite database in the export, also conveniently located in the wp-content directory.

This is a complete WordPress project. Now that we have it and have confirmed it has everything we would expect a WordPress site to have, we can use Playground’s importing feature to replicate the exported site in a brand-new WordPress Playground instance. Click the Upload icon in the frame of the new instance, then follow the prompts to upload the ZIP file we downloaded from the original instance.

You can probably guess what comes next. If we can export a complete WordPress site with Playground, we can not only import that site into a new Playground instance but import it to a hosting provider as well.

In other words, it’s possible to use Playground as a testing ground for development and then ship it to a production or staging environment when ready. Similarly, the exported files can be committed to a GitHub repo where your production files are, and that triggers a fresh build in production. However you choose to roll!

Sharing Playgrounds

There are clear benefits to being able to import and export Playground sites. WordPress has never been the more portable system. You know that if you’ve migrated WordPress sites and data. But when WordPress is able to move around as freely as it does with Playground, it opens up new possibilities for how we share work.

Sharing With The Query API

We’ve been using the Query API in many examples. It’s extremely convenient in that you append parameters on the WordPress Playground site, hit the URL, and a site spins up with everything specified.

The WordPress Playground site is hosted, so sharing a specific configuration of a Playground site only requires you to share a URL with the site’s configurations appended as parameters. For example. this link shares the Blue Note theme configured with the Gutenberg plugin:

We can do a little more than that, like link directly to the post editor:

Even better, let’s link someone to the theme’s templates in the Site Editor:

Again, there are plenty more parameters than what we have explored in this article that are worth checking out in the WordPress Playground documentation.

Sharing With An Embedded iFrame

We already know this is possible because the best example of it is the WordPress Playground developer page. There’s a Playground instance running and embedded directly on the page. Even when you spin up a new Playground instance, you’re effectively running an iframe within an iframe.

Let’s say we want to embed a WordPress site configured with the Pendant theme and the Gutenberg plugin:

<iframe width="800" height="650" src="https://playground.wordpress.net/?plugin=gutenberg&theme=pendant&mode=seamless" allowfullscreen></iframe>

So, really, what we’re doing is using the source URL in a different context. We can share the URL with someone, and they get to access the configured site in a browser. In this case, however, we are dropping the URL into an iframe element in HTML, and the Playground instance renders on the page.

Not to get too meta, but it’s pretty neat that we can log into a WordPress production site, create a new page, and embed a Playground instance on the page with the Custom HTML Block:

What I like about sharing Playground sites this way is that the instance is effectively preserved and always accessible. Sure, the data will not persist on a page refresh, but create the URL once, and you always have a copy of it previewed on another page that you host.

Speaking of which, WordPress Playground can be self-hosted. You have to imagine that the current Playground API hosted at playground.wordpress.net will get overburdened with time, assuming that Playground catches on with the community. If their server is overworked, I expect that the hosted API will either go away (breaking existing instances) or at least be locked for creating new instances.

That’s why self-hosting WordPress Playground might be a good idea in the long run. I can see WordPress developers and agencies reaching for this to provide customers and clients with demo work. There’s so much potential and nuance to self-hosting Playground that it might even be worth its own article.

The documentation provides a list of parameters that can used in the Playground URL.

Sharing With JSON Blueprints

This “modern” era of WordPress is all about block-based layouts that lean more heavily into JaveScript, where PHP has typically been the top boss. And with this transition, we gained the ability to create entire WordPress themes without ever opening a template file, thanks to the introduction of theme.json.

Playground can also be configured with structured data. In fact, you can see the Playground website’s JSON configurations via this link. It’s pretty incredible that we can both configure a Playground site without writing code and share the file with others to sync environments.

Here is an example pulled directly from the Playground docs:

{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/wp-admin/",
  "preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"steps": [{
"step": "login",
"username": "admin",
"password": "password"
}] }

We totally can send this file to someone to clone a site we’re working on. Or, we can use the file in a self-hosted context, and others can pull it into their own blueprint.

Interestingly, we can even ditch the blueprint file altogether and write the structured data as URL fragments instead:

That might get untenable really fast, but it is nice that the WordPress Playground team is thinking about all of the possible ways we might want to port WordPress.

Advanced Playground Configurations

Up to now, we’ve looked at a variety of ways to configure WordPress Playground using APIs that are provided by or based on playground.wordpress.net. It’s fast, convenient, and pretty darn flexible for something so new and experimental.

But let’s say you need full control to configure a Playground instance. I mean everything, from which themes and plugins are preinstalled to prepublished pages and posts, defining php.ini memory limits, you name it. The JavaScript API is what you’ll need because it is capable of executing PHP code, make requests, manage files and directories, and configuring parts of WordPress that none of the other approaches offer.

The JavaScript API is integrated into an iframe and uses the @wp-playground/client npm package. The Playground docs provide the following example in its “Quick Start” guide.

<iframe id="wp" style="width: 100%; height: 300px; border: 1px solid #000;"></iframe>

<script type="module">
  // Use unpkg for convenience
  import { startPlaygroundWeb } from 'https://unpkg.com/@wp-playground/client/index.js';

  const client = await startPlaygroundWeb({
    iframe: document.getElementById('wp'),
    remoteUrl: https://playground.wordpress.net/remote.html,
  });
  // Let's wait until Playground is fully loaded
  await client.isReady();
</script>

This is an overly simplistic example that demonstrates how the JavaScript API is embedded in a page in an iframe. The Playground docs provide a better example of how PHP is used within JavaScript to do things, like execute a file pointed at a specific path:

php.writeFile(
  "/www/index.php",
  `<?php echo "Hello world!";"`
);
const result = await php.run({
  scriptPath: "/www/index.php"
});
// result.text === "Hello world!"

Adam Zieliński and Thomas Nattestad offer a nicely commented example with multiple tasks in the article they published over at web.dev:

import {
  connectPlayground,
  login,
  connectPlayground,
} from '@wp-playground/client';

const client = await connectPlayground(
  document.getElementById('wp'), // An iframe
  { loadRemote: 'https://playground.wordpress.net/remote.html' },
);
await client.isReady();

// Login the user as admin and go to the post editor:
await login(client, 'admin', 'password');
await client.goTo('/wp-admin/post-new.php');

// Run arbitrary PHP code:
await client.run({ code: '<?php echo "Hi!"; ?>' });

// Install a plugin:
const plugin = await fetchZipFile();
await installPlugin(client, plugin);

Once again, the scope and breadth of using the JavaScript API for advanced configurations is yet another topic that might warrant its own article.

Wrapping Up

WordPress Playground is an excellent new platform that’s an ideal testing environment for WordPress themes, plugins… or even WordPress itself. Despite the fact that it is still in its early days, Playground is already capable of some pretty incredible stuff that makes WordPress more portable than ever.

We looked at lots of ways that Playground accomplishes this. Just want to check out a new theme? Use the playground.wordpress.net URL configured with parameters supported by the Query API, or grab the Chrome extension. Need to do a quick test of your theme in a different PHP environment? Use the wp-now package to spin up a test site locally. Want to let others demo a plugin you made? Embed Playground in an iframe on your site.

WordPress Playground is an evolving space, so keep your eye on it. You can participate in the discussion and request a feature through a pull request or report an issue that you encounter in your testing. In the meantime, you may want to be aware of what the WordPress Playground team has identified as known limitations of the service:

  • No access to plugins and theme directories in the browser.
    The theme and plugin directories are not accessible due to the fact that Playgrounds are not connected to the internet, but are virtual environments.
  • Instances are destroyed on a browser refresh.
    Because WordPress Playground uses a browser-based temporary database, all changes and uploads are lost after a browser refresh. If you want to preserve your changes, though, use the export feature to download a zipped archive of the instance. Meanwhile, this is something the team is working on.
  • iFrame issues with anchor links.
    Clicking a link in a Playground instance that is embedded on a page in an iframe may trigger the main page to refresh, causing the instance to reset.
  • iFrame rendering issues.
    There are reports where setting the iframe’s src attribute to a blobbed URL instead of an HTTP URL breaks links to assets, including CSS and images.

How will you use WordPress Playground? WordPress Playground creator Adam Zieliński recently shipped a service that uses Playground to preview pull requests in GitHub. We all know that WordPress has never put a strong emphasis on developer experience (DX) the same way other technical stacks do, like static site generators and headless configurations. But this is exactly the sort of way that I imagine Playground improving DX to make developing for WordPress easier and, yes, fun.

References & Resources