- Contributors: (Kajal Sharma)
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Plugin for "Rtcamp-Slideshow-Plugin-Assignment" From here: https://careers.rtcamp.com/wordpress-engineer/assignment/
You can find the link to demo here
Rtcamp Slider Plugin Creates an admin-side Menu Rtcamp_Slideshow Settings. This page provides an interface to create slideshows and add/remove images to the slideshow.
- It uses "LightSlider" library for displaying sliders.
- It can add/remove mutiple images from the slider by just selecting/deselecting it from the slider.
- It can change the order of images by dragging them.
- It can move slider images by pressing the arrow keys.
- It can add shortcode by just clicking on "Slider Shortcode" Button present in visual editor toolbar it will add [rtcamp-slideshow] to any post/page.
- It shows you the live slider preview.
When you add shortcode [rtcamp-slideshow] to any post/page, it will be replaced by a
slideshow of images uploaded from admin-side.
The code was written with `wpbb` boilerplate. As a result, it is highly organized and structured.
The code was checked with PHPCS by installing composer in the project directory `Wordpress-Extra` and `Wordpress-Docs` ruleset and follows Wordpress Coding Standards as much as possible.
The code was also unit tested.
All the dependencies are managed through npm and stored in `node_modules` directory(which is ofcourse gitignored).
Install the dependencies and clone the directory into your plugins folder with below command to get started.
git clone https://github.com/kajalsharma2101/rtcamp-slideshow-plugin-assignment /path-to-plugins-folder/Rt-Slideshow
cd /path-to-plugins-folder/Rt-Slideshow
npm install
- Upload the entire
Rt_slideshow
folder to the/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress. - You will find Rtcamp_Slideshow Settings menu in your WordPress admin panel.
All the contents of this repository are licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
A copy of the license is included in the root of the plugin’s directory. The file is named LICENSE
.
All the contents of this repository are licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.
For reference, here's a discussion that covers the Apache 2.0 License used by Bootstrap.