Skip to content

Wraps the content of a WordPress media gallery in a Twitter's Bootstrap grid. And make it full responsive.

Notifications You must be signed in to change notification settings

bassjobsen/twitter-bootstrap-galleries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Bootstrap Galleries Plugin

Wraps the content of a WordPress media gallery in a Twitter's Bootstrap grid. Makes your views full responsive. No changes to your theme or other plugins needed.

Installation

Download the latest version as .zip file. Upload the .zip file to your Wordpress plugin directory (wp-content/plugin) and use the activate function in your dashboard. ( Plugins > installed plugins ).

Number of columns (Gallery page)

Choose the number of columns in the Gallery Page. This will be result in the grids shown below:

/* the grid display */
/*
/*
|  	columns		| mobile 	| tablet 	| desktop	|per page 	|
----------------------------------------------------|-----------|
|		1		|	1		|	1		|	1		| 	10		|
|---------------------------------------------------|-----------|
|		2		|	1		|	2		|	2		|	10		|
|---------------------------------------------------|-----------|
|		3		|	1		|	1		|	3		|	 9		|
|---------------------------------------------------|-----------|
|		3(1)	|	1		|	2		|	3		|	12		|
|---------------------------------------------------|-----------|
|		4		|	1		|	2		|	4		|	12		|
|---------------------------------------------------|-----------|
|		5		|	n/a		|	n/a		|	n/a		|	n/a	    |
|---------------------------------------------------|-----------|
|		6		|	2		|	4		|	6		|	12		|
|---------------------------------------------------|-----------|
|		>=6		|	n/a		|	n/a		|	n/a		|	n/a		|
|---------------------------------------------------------------|
* 
* 
*/

Shortcodes

The plugin overwrite the [gallery] shortcodes of WordPress.

Requirements

Support

We are always happy to help you. If you have any question regarding this code. Send us a message or contact us on twitter @JamedoWebsites.

Changelog

1.0

  • First version

About

Wraps the content of a WordPress media gallery in a Twitter's Bootstrap grid. And make it full responsive.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages