PHP Classes

Biggidroid Wordpress Gallery Plugin: Display an image gallery on WordPress post pages

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 25 All time: 11,257 This week: 46Up
Version License PHP version Categories
biggidroid-gallery-f 1.0.0The PHP License5PHP 5, Graphics, Content management, B...
Description 

Author

This package can display an image gallery on WordPress post pages.

It provides a WordPress plugin that implements a short code to make an image gallery on the WordPress site page on which that shortcode is used.

The plugin can process the shortcode parameters to extract the gallery image list and generate HTML, CSS, and JavaScript to make the gallery image appear on the current WordPress page.

Innovation Award
PHP Programming Innovation award nominee
January 2024
Number 6
WordPress is a popular content management system that allows developers to extend its capabilities with plugins.

Many site owners want to display a gallery of images on their sites.

This package implements a WordPress plugin that allows site owners to embed an image gallery in a WordPress page.

Manuel Lemos
Picture of Adeleye Ayodeji
  Performance   Level  
Innovation award
Innovation award
Nominee: 18x

 

Example

<?php

/**
 * Plugin Name: BiggiDroid Gallery for WP
 * Plugin URI: https://biggidroid.com/biggidroid-gallery-for-wp
 * Author: BiggiDroid
 * Author URI: https://biggidroid.com
 * Description: A simple gallery plugin for WordPress.
 * Version: 0.1.0
 * License: GPL-2.0+
 * License URL: http://www.gnu.org/licenses/gpl-2.0.txt
 * text-domain: biggidroid-gallery-for-wp
 */

//check if file is access directly
if (!defined('WPINC')) {
    exit(
"Do not access this file directly.");
}

//define plugin constants
define("BIGGIDROID_GALLERY_FOR_WP_VERSION", time());
//plugin file
define("BIGGIDROID_GALLERY_FOR_WP_FILE", __FILE__);
//plugin directory
define("BIGGIDROID_GALLERY_FOR_WP_DIR", dirname(BIGGIDROID_GALLERY_FOR_WP_FILE));
//plugin url
define("BIGGIDROID_GALLERY_FOR_WP_URL", plugins_url('', BIGGIDROID_GALLERY_FOR_WP_FILE));

//check if class exists
if (!class_exists('BiggiDroid_Gallery_For_WP')) {
   
//include the class file
   
include_once BIGGIDROID_GALLERY_FOR_WP_DIR . '/includes/class-biggidroid-gallery-for-wp.php';
}


  Files folder image Files (70)  
File Role Description
Files folder imageassets (3 files, 5 directories)
Files folder imageincludes (1 file)
Files folder imagetemplates (3 files)
Accessible without login Plain text file biggidroid-gallery-for-wp.php Example Plugin setup script
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:25
This week:0
All time:11,257
This week:46Up