Skip to content

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.

License

Notifications You must be signed in to change notification settings

kajalsharma2101/rtcamp-slideshow-plugin-assignment

Repository files navigation

Rtcamp Slideshow Assignment

Build Status

Plugin for "Rtcamp-Slideshow-Plugin-Assignment" From here: https://careers.rtcamp.com/wordpress-engineer/assignment/

Demo

You can find the link to demo here

Description

Admin-Side:

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.

  1. It uses "LightSlider" library for displaying sliders.
  2. It can add/remove mutiple images from the slider by just selecting/deselecting it from the slider.
  3. It can change the order of images by dragging them.
  4. It can move slider images by pressing the arrow keys.
  5. 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.
  6. It shows you the live slider preview.

Front-end:

When you add shortcode [rtcamp-slideshow] to any post/page, it will be replaced by a
slideshow of images uploaded from admin-side.

Organized Code:

 The code was written with `wpbb` boilerplate. As a result, it is highly organized and structured.

Coding Standards:

 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.

Unit Test:

 The code was also unit tested.

Dependencies:

 All the dependencies are managed through npm and stored in `node_modules` directory(which is ofcourse gitignored).

Libraries Used

Installation

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
  1. Upload the entire Rt_slideshow folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. You will find Rtcamp_Slideshow Settings menu in your WordPress admin panel.

License

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.

Important Notes

Licensing

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published