All Projects → dcooney → Wordpress Plugin Installer

dcooney / Wordpress Plugin Installer

Licence: gpl-2.0
A PHP class for installing and activating WordPress plugins.

Projects that are alternatives of or similar to Wordpress Plugin Installer

Sportspress
An open source league statistics plugin for WordPress created by ThemeBoy.
Stars: ✭ 124 (+79.71%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Jetpack
Security, performance, marketing, and design tools — Jetpack is made by the WordPress experts to make WP sites safer and faster, and help you grow your traffic.
Stars: ✭ 1,283 (+1759.42%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Wordpress Pubsubhubbub
WebSub/PubSubHubbub for WordPress
Stars: ✭ 49 (-28.99%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Wordpress Indieweb
Helps you establish your IndieWeb identity by extending the user profile to provide rel-me and h-card fields. It also includes a bundled installer for a core set of IndieWeb-related plugins.
Stars: ✭ 64 (-7.25%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Super Progressive Web Apps
SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :
Stars: ✭ 304 (+340.58%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Live Composer Page Builder
Free page builder plugin for WordPress http://livecomposerplugin.com
Stars: ✭ 143 (+107.25%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Kirki
Extending the customizer
Stars: ✭ 1,175 (+1602.9%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Codestar Framework
A Simple and Lightweight WordPress Option Framework for Themes and Plugins
Stars: ✭ 147 (+113.04%)
Mutual labels:  wordpress, wordpress-plugin, plugins
Wp Gdpr Core
This WordPress plugin assists you in making your website ready for the GDPR. We try to cover the core WordPress features with this plugin.
Stars: ✭ 31 (-55.07%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Wp Shopify
🎉 Sell and build custom Shopify experiences on WordPress.
Stars: ✭ 38 (-44.93%)
Mutual labels:  wordpress, plugin, wordpress-plugin
Images Via Imgix
imgix WordPress plugin
Stars: ✭ 51 (-26.09%)
Mutual labels:  wordpress, wordpress-plugin
Wp Gistpen
A self-hosted alternative to putting your code snippets on Gist.
Stars: ✭ 67 (-2.9%)
Mutual labels:  wordpress, wordpress-plugin
Wordpress Cloud Media Offloader Plugin
A simple plugin that allows you to serve your WordPress Media Library files from the Backblaze B2 cloud storage service.
Stars: ✭ 52 (-24.64%)
Mutual labels:  wordpress, wordpress-plugin
Node Audio
Graph-based audio api for Node.js based on LabSound and JUCE
Stars: ✭ 67 (-2.9%)
Mutual labels:  plugin, plugins
Base
Base is the foundation for creating modular, unit testable and highly pluggable, server-side node.js applications.
Stars: ✭ 67 (-2.9%)
Mutual labels:  plugin, plugins
Bitcoin Wordpress Plugin
GoUrl Official Bitcoin Payment Gateway for Wordpress 3.5+ (or higher). Sell Products, Files, Digital Downloads, Membership on your website. Accept Bitcoin, Litecoin, Dogecoin, Darkcoin, Reddcoin, etc Payments Online. Use Pay-Per-Download, Pay-Per-Product, Pay-Per-Membership, Pay-Per-Page/Video-Access on your website. It is Easy!
Stars: ✭ 49 (-28.99%)
Mutual labels:  wordpress, wordpress-plugin
Better Rest Endpoints
A WordPress plugin that serves up slimmer WP Rest API endpoints.
Stars: ✭ 56 (-18.84%)
Mutual labels:  wordpress, wordpress-plugin
Wordpress Zero Spam
The WordPress Zero Spam plugin makes blocking spam a cinch without all the bloated options. Just install, activate, and say goodbye to spam.
Stars: ✭ 56 (-18.84%)
Mutual labels:  wordpress, wordpress-plugin
User Feedback
Collect user feedback directly from your WordPress site
Stars: ✭ 49 (-28.99%)
Mutual labels:  wordpress, wordpress-plugin
Wl Bootstrap
Integrating Laravel into WordPress
Stars: ✭ 54 (-21.74%)
Mutual labels:  wordpress, wordpress-plugin

wordpress-plugin-installer

The Connekt Plugin Installer is a class for displaying a list of recommended or related plugins inside of the WordPress admin.

The installer displays a list of plugins that users can easily install and activate from the screen they are currently viewing.

Connekt Plugin Installer Example

This is a perfect tool for plugin and theme developers who want to make it as easy as possible for users to install recommended or related plugins.

To see a live example, install a copy of Ajax Load More and go to the Extensions section.


Getting Started

To get started, you'll simply need to load and initialize the class. The installer provides the required CSS and JS for display and functionality.

Class Loader

First step is to load the class into your plugin or theme. This would typically appear in functions.php or in the _construct of your plugin Class.

include_once('vendor/connekt-plugin-installer/class-connekt-plugin-installer.php');

Display

Next, build an array of plugin slugs and pass the array to the init method for display.

$plugin_array = array(
  array(
    'slug' => 'ajax-load-more',
  ),
  array(
    'slug' => 'velocity',
  ),
  array(
    'slug' => 'instant-images'
  ),
  array(
    'slug' => 'easy-query'
  )
);

if(class_exists('Connekt_Plugin_Installer')){
  Connekt_Plugin_Installer::init($plugin_array);
}

And that's it. Happy coding :)


Notes

  • Plugins must be available on the wordpress.org plugin repository to be installed and activated using this class.
  • Using this class outside of the plugins directory will require modification to the CNKT_INSTALLER_PATH constant for loading assets. You can define this constant in functions.php prior to loading the class. define('CNKT_INSTALLER_PATH', get_template_directory_uri() .'/vendor/connekt-plugin-installer/');

License

The code is available under the GPLv2 license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].