Envato Wordpress ToolkitThe Envato Wordpress Toolbox
The Envato Toolkit plug-in was upgraded on April 9, 2018 and an obsolete hint was added. If you have upgraded this plug-in to 1.8.0, it is not possible to correctly unregister Uncodes. When you need to unregister your code, you can uninstall 1.8.0 and download/install 1.7.3 here.
Meanwhile, an updated release will be issued where the old release has no safety issue (the only smaller issue is the small alert symbol next to the plug-in name in your administrator). You can also choose not to register the products until the next release of the next one.
We are working on it and a compatiblity patch will be released in the next few weeks.
Integration of the Envato WordPress Toolkit into your theme: Plugin
Being WordPress writers in ThemeForest, we want to make our clients feel lucky by offering them corrections and improvements to our topics from time to time. However, a major issue for us is how to inform our user when an upgrade is available for downloading. Previously, we all had to encode in our own implementation of a thematic updatestifier.
Although there is now a check box to activate notification of article upgrades in Envato marketplaces, the user still needs to activate it per article and run the topic upgrade as well. Wouldn't it be better if the WordPress administrator himself showed updating alerts? Fortunately we now have the Envato WordPress Toolkit Plugin and the Toolkit Library.
Explore how to incorporate these tools into your topics in this episode. Both the Envato WordPress Toolkit plug-in and the library will be implemented in this topic. If our topic is enabled, the toolkit will prompt the end users to download and enable the toolkit plug-in. As soon as the plug-in is running, our themed site will regularly look for updated versions, and if an updated version is found, a message will be shown in the administrator that will lead the users to the plug-in to upgrade the themed site.
Envato WordPress Toolkit is available in two different formats that have different applications and purposes. The Toolkit Plugin will be bundled with our topic and with TGM Plugin Activation the Toolkit will be installed and activated. Well, now that we have the necessary data, we'll begin programming. We have to add the TGM Plugin Activation classes to our features. Phil and hooks to your own WordPress actions.
Here we will make some TGM adjustments and specify which TGM plug-ins should be included. Next, we set up the configuration we need to integrate the toolkit plug-in. If you specified a different plug-in directory in stage 1, modify the pathname in the sources dialog. It is also possible to append other plug-ins by appending additional array to the $plugins variables.
The TGM Plugin Activation website does a good job if you want more information about these options by describing each part of it. php','menu' =>'installierte Plugins','has_notices' => true,'is_automatic' => true,'message' =>'','page_title' => __('Installer les plugs nécessaires', hot_text_domain ), 'menu_title' => __( 'Install Plugins', $theme_text_domain ), 'Install' => __( 'Install Plugin':
_s', $theme_text_domain ),'oops' => __('Something went awry with the plug-in admin interface.', $theme_text_domain ),'notice_can_install_quired' => _n_noop('This topic needs the following plugin: This design needs the following plugins: %1$s. This topic is recommended by the following plugin: This topic suggests the following plugins: %1$s.
The %s plug-in is not installable, but you do not have the right privileges to do so. Please consult the site admin for help installing the plug-in. Sorry, but you don't have the right privileges to use the %s plug-in. Please consult the site admin for help installing the plug-ins.
The following needed plug-in is currently inactive: %1$s. The following necessary plug-ins are currently inactive: %1$s. The following suggested plug-in is currently inactive: %1$s. The following suggested plug-ins are currently inactive: %1$s. Sorry, but you don't have the right privileges to enable the %s plug-in.
Please consult the site admin for assistance in activating the plug-in. Sorry, but you don't have the right privileges to enable the %s plug-in. Please consult the site admin for assistance in activating the plug-ins. The following plug-in must be upgraded to the latest release in order to provide maximal interoperability with this topic: %1$s.
The following plug-ins must be upgraded to the latest release to provide maximal interoperability with this topic: %1$s. Sorry, but you do not have the right privileges to upgrade the %s plug-in. Please consult the site admin for help updating the plug-in.
Sorry, but you don't have the right privileges to upgrade the %s plug-in. Please consult the site admin for help updating the plug-ins. Install_link' => _n_noop('Start of plug-in installation','Start of plug-in installation' ),'activate_link' => _n_noop('Activate plug-in installed','Activate plug-in installed'),'return' => __('Return to Required Plugins Installer', $theme_text_domain ),'plugin_activated' => __('Plugin successfully enabled.
text_domain ),'complete' => __('All plugins installed und activated successfully. If you want to set the text type to'%s', $theme_text_domain ),'nag_type' =>'updated' ); modify the text type to your text domains or keep it as your standard. Attempt to activate your topic. You should see a message similar to this if you have not yet upgraded or enabled the Envato WordPress Toolkit Plugin:
What we have right now, we can actually stop the show and your user will be able to refresh the topic from the administrator, but user will only see that there is an refresh when they are in the Toolkitdmin area. Section 2 of the tutorial shows you how to include the Envato WordPress Toolkit Library and how to view an administrative message when an updated topic is available in ThemeForest.