


Envato WordPress Toolkit: A must-have toolbox for the savvy WordPress developer
Sep 03, 2023 pm 09:49 PMHave you ever purchased a theme from ThemeForest? Did you do it? great! But even if you purchase a premium WordPress theme, installing the theme may take a little longer than installing a free theme from WordPress.org. However, the folks at Envato have found a quick and easy way to install your purchased items right from your WordPress dashboard!
In this part of the “Smart WordPress Developer Toolbox” series, we’ll introduce the Envato WordPress Toolkit, a “toolkit” for installing and updating themes purchased from ThemeForest.
Steps to purchase and install a WordPress theme on ThemeForest
I’ve always thought that most people who buy WordPress themes from ThemeForest can be divided into two categories: people who buy themes for micro-businesses, and people who work for web design agencies. Let's imagine a story for each type.
Walter is the owner of his new store, "Blue Rock - Handmade Hard Candies" in Albuquerque, New Mexico. Lydia, on the other hand, works in a medium-sized web design agency in Berlin.
Walter didn't want his business to be trapped in Albuquerque and decided to expand his territory by selling his products online. Lydia just got a new card on Trello for a new client, a large company called Madrigal Elektronik.
Walter was new to the world of web design, but Lydia knew what she was in for. While Walt was searching the web and learning WordPress, Lydia had started looking for new corporate themes on ThemeForest. Eventually, Walt was convinced that he would use WordPress and found a roundup of “The 20 Best WooCommerce Themes of 2015” on the WordPress blog.
Lydia has logged into ThemeForest using her agency's account to add a modern professional multipurpose theme called Cartel to her cart, while Walt has signed up for the first time after deciding on a good-looking WooCommerce theme called Combo ThemeForest. They all pay via PayPal, but Walter earns a generous cut for the blog owner through his affiliate links. After paying, they all downloaded their respective themes.
Lydia knows what to do, but Walt needs to check the theme documentation before installing the theme on his new WordPress site. He read the instructions carefully and uploaded the theme's ZIP file in the WordPress admin panel, while Lydia quickly unzipped the ZIP file and uploaded the file via FTP to the wp-content/themes
folder. (Actually, Lydia had to wait longer, as her multipurpose theme had over 600 files totaling 70 megabytes, while the single ZIP file Walt uploaded was 4 megabytes.)
After the upload is complete, Lydia navigates to the Appearance page in the admin panel and activates her new theme. Walt had already activated the theme after uploading it, and was already confused by his new theme's never-ending options panel.
Half the Process: An Introduction to the Envato WordPress Toolkit
In addition to all these extremely subtle references to the legendary TV show, you can tell that both parts deal with unreasonably long thematic installation processes. However, with the help of the Envato WordPress toolkit, we can cut that in half. silently. With a silver axe. (Okay, this is the last one.)
Install Envato WordPress Toolkit
The Envato WordPress toolkit is hosted on GitHub, not in the WordPress plugin repository, so you’ll need to download it there.
After downloading, just upload the ZIP file through the admin panel (Plugins > Add New > Upload Plugin) and activate it; or unzip the ZIP to your website's wp-content/ plugins
folder and activate the plugin in the admin panel.
Enter your Envato username and secret API key
After activating the plugin, go to the new Envato Toolkit page in the main menu. In this page you should enter your ThemeForest username and API key:
You can generate an API key on the Settings > API Keys page of ThemeForest. If you can't find the page, change the USERNAME
part of the URL https://themeforest.net/user/USERNAME/api_keys/edit
to your username and navigate to this page.
Install the theme from the Themes tab
Installing a theme using the Envato WordPress Toolkit is actually easier than the WordPress.org theme’s built-in installer. Just go to the Themes tab and you will see your purchased themes listed. Click the Automatically install link for your desired theme and voila: your theme will be installed like a regular theme installer.
Backup the theme before updating
If your current theme version is out of date and you want to update your theme to the latest version, the Envato WordPress Toolkit will help you with the process as well. But remember: it will replace all of your current theme files with those from the new version; so if you make changes to your theme files (instead of creating a child theme), you may want to back up your current theme files beforehand. Or you can let the Envato WordPress toolkit do this for you automatically.
If already selected, simply uncheck the following box in the Envato Toolkit page:
Disable GitHub Plugin Updater
Since this plugin is hosted on GitHub, it requires a fork of the WordPress GitHub plugin updater to update itself. However, if for some reason you don’t want to update the Envato WordPress Toolkit plugin, you may need to disable future plugin updates. If this is the case, all you have to do is check the following checkbox:
Remember: You are not disabling theme updates, you are disabling plugin updates. But seriously: don't do it. Updates are important – especially when they fix security vulnerabilities.
Today’s summary
ThemeForest offers some great themes, and it doesn’t have to be expensive to create a neat collection of WordPress themes. That being said, installing a theme from your collection requires more steps than installing a theme from WordPress.org. This can be annoying, especially if you need to do this on a regular basis. Thanks to the Envato WordPress toolkit, this process is much shorter.
What do you think of the Envato WordPress toolkit? If you have anything to add, correct, or criticize, please leave a comment in the comments section below. If you liked this article, don’t forget to share it with your friends!
See you in the next part where we will discuss two gadgets: WXR File Splitter and WP Serialized Search & Replace.
The above is the detailed content of Envato WordPress Toolkit: A must-have toolbox for the savvy WordPress developer. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

To roll back the WordPress version, you can use the plug-in or manually replace the core file and disable automatic updates. 1. Use WPDowngrade and other plug-ins to enter the target version number to automatically download and replace; 2. Manually download the old version of WordPress and replace wp-includes, wp-admin and other files through FTP, but retain wp-config.php and wp-content; 3. Add code in wp-config.php or use filters to disable core automatic updates to prevent further upgrades. Be sure to back up the website and database before operation to ensure safety and reliability. It is recommended to keep the latest version for security and functional support in the long term.

The steps to create a custom shortcode in WordPress are as follows: 1. Write a PHP function through functions.php file or custom plug-in; 2. Use add_shortcode() to bind the function to the shortcode tag; 3. Process parameters in the function and return the output content. For example, when creating button shortcodes, you can define color and link parameters for flexible configuration. When using it, you can insert a tag like [buttoncolor="red"url="https://example.com"] in the editor, and you can use do_shortcode() to model it

The main reasons why WordPress causes the surge in server CPU usage include plug-in problems, inefficient database query, poor quality of theme code, or surge in traffic. 1. First, confirm whether it is a high load caused by WordPress through top, htop or control panel tools; 2. Enter troubleshooting mode to gradually enable plug-ins to troubleshoot performance bottlenecks, use QueryMonitor to analyze the plug-in execution and delete or replace inefficient plug-ins; 3. Install cache plug-ins, clean up redundant data, analyze slow query logs to optimize the database; 4. Check whether the topic has problems such as overloading content, complex queries, or lack of caching mechanisms. It is recommended to use standard topic tests to compare and optimize the code logic. Follow the above steps to check and solve the location and solve the problem one by one.

Methods to optimize WordPress sites that do not rely on plug-ins include: 1. Use lightweight themes, such as Astra or GeneratePress, to avoid pile-up themes; 2. Manually compress and merge CSS and JS files to reduce HTTP requests; 3. Optimize images before uploading, use WebP format and control file size; 4. Configure.htaccess to enable browser cache, and connect to CDN to improve static resource loading speed; 5. Limit article revisions and regularly clean database redundant data.

Miniving JavaScript files can improve WordPress website loading speed by removing blanks, comments, and useless code. 1. Use cache plug-ins that support merge compression, such as W3TotalCache, enable and select compression mode in the "Minify" option; 2. Use a dedicated compression plug-in such as FastVelocityMinify to provide more granular control; 3. Manually compress JS files and upload them through FTP, suitable for users familiar with development tools. Note that some themes or plug-in scripts may conflict with the compression function, and you need to thoroughly test the website functions after activation.

TransientsAPI is a built-in tool in WordPress for temporarily storing automatic expiration data. Its core functions are set_transient, get_transient and delete_transient. Compared with OptionsAPI, transients supports setting time of survival (TTL), which is suitable for scenarios such as cache API request results and complex computing data. When using it, you need to pay attention to the uniqueness of key naming and namespace, cache "lazy deletion" mechanism, and the issue that may not last in the object cache environment. Typical application scenarios include reducing external request frequency, controlling code execution rhythm, and improving page loading performance.

Object cache assists persistent storage, suitable for high access and low updates, tolerating short-term lost data. 1. Data suitable for "persistence" in cache includes user configuration, popular product information, etc., which can be restored from the database but can be accelerated by using cache. 2. Select a cache backend that supports persistence such as Redis, enable RDB or AOF mode, and configure a reasonable expiration policy, but it cannot replace the main database. 3. Set long TTL or never expired keys, adopt clear key name structure such as user:1001:profile, and update the cache synchronously when modifying data. 4. It can combine local and distributed caches to store small data locally and big data Redis to store big data and use it for recovery after restart, while paying attention to consistency and resource usage issues.

The most effective way to prevent comment spam is to automatically identify and intercept it through programmatic means. 1. Use verification code mechanisms (such as Googler CAPTCHA or hCaptcha) to effectively distinguish between humans and robots, especially suitable for public websites; 2. Set hidden fields (Honeypot technology), and use robots to automatically fill in features to identify spam comments without affecting user experience; 3. Check the blacklist of comment content keywords, filter spam information through sensitive word matching, and pay attention to avoid misjudgment; 4. Judge the frequency and source IP of comments, limit the number of submissions per unit time and establish a blacklist; 5. Use third-party anti-spam services (such as Akismet, Cloudflare) to improve identification accuracy. Can be based on the website
