Git Product home page Git Product logo

gamer7569 / twentytwenty-wordpress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csm123/twentytwenty-wordpress

0.0 2.0 0.0 2.87 MB

A WordPress plugin for Zurb Foundation's TwentyTwenty jQuery plugin, which lets you show draggable before-and-after images. DOWNLOAD FROM WORDPRESS, NOT HERE.

Home Page: http://wordpress.org/plugins/twentytwenty/

License: Other

PHP 25.44% CSS 33.03% JavaScript 41.53%

twentytwenty-wordpress's Introduction

=== TwentyTwenty ===
Contributors: cs123
Tags: images, before-and-after, before and after, comparison, slider, zurb, twentytwenty, twenty twenty
Requires at least: 3.5.1
Tested up to: 4.3
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Show before-and-after pictures in your blog, with an interactive slider that allows users to compare them. 

== Description ==

This plugin brings the power of Zurb TwentyTwenty to your blog. From our friends at Zurb:

> We recently needed a way to showcase the visual differences between two images. Folks tend to typically place two images next to each other in hopes that it'll be clear exactly what changed. We even thought about having one image fade into another. But we knew there had to be an even better way to highlight the differences between two images. A way that would bring everything into focus.

Find out more about TwentyTwenty, and see examples, on the [official TwentyTwenty site from Zurb](http://zurb.com/playground/twentytwenty).

[Watch this screencast](http://aspiringwebdev.com/gorgeous-before-and-after-pictures-in-wordpress/) to see the plugin in action and learn how to use it.

== Installation ==

= Using The WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'TwentyTwenty'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard

== Instructions ==

1. **Make sure your before and after images are the same size.** The before-and-after box will use the size of the first image, and assume that the second image is the same size.

2. Insert two images into a post, one right after the other.

3. Before the first image, type `[twentytwenty]`. After the second image, type `[/twentytwenty]`. See the second screenshot for an example.

[Watch this screencast](http://aspiringwebdev.com/gorgeous-before-and-after-pictures-in-wordpress/) to see the plugin in action and learn how to use it.

== Frequently Asked Questions ==

= Why aren't my pictures lining up properly? =
Make sure that the pictures are the exact same height and width, and that you choose the same display size for the images when you upload them (ex. medium, large, full size).

= What browsers does this support? =
TwentyTwenty is tested the latest versions of Chrome, Safari, FireFox, and iOS, and on IE 9 and above.

= Can I customize how the slider looks? =
Not yet, but I hope to enable that in a future release?

= Will this work on any WordPress theme? =
It should, but please report any issues on [this blog post](http://aspiringwebdev.com/gorgeous-before-and-after-pictures-in-wordpress/) or the support forum to the right.

== Screenshots ==

1. Before and after pictures in a post. Images courtesy Abbie Rowe / National Archives.
2. TwentyTwenty shortcodes in the WordPress editor. Images courtesy Abbie Rowe / National Archives.

== Changelog ==

= 1.0 =
* Initial version

== Upgrade Notice ==

= 1.0 =
* Initial version

twentytwenty-wordpress's People

Contributors

csm123 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.