Before After plugin integrates modified version jQuery Before/After Plugin in the wordpress.
It can be used to show the difference between edited and original photo, before and after photos of changes, etc.
Please check ‘Other Notes’ for the Usage instructions to see how to use it on your blog
- Write the content of your post other than the images
- Switch to ‘HTML-editor’ mode of the post editor area
- Click ‘BeforeAfter’ button (This will start the ‘[beforeafter]’ shortcode)
- Add the photos to your post through the wordpress image/media uploader
- 1 photo should be left align when you insert the images on your post, the other one can be aligned right/center/none
- The ‘left-aligned’ photo is taken as before photo so please align your photos accordingly
- After you have inserted the two images in the post Click ‘BeforeAfter’ button again to close ‘[/beforeafter]’ shortcode.
- You can add more content to your post after closing the ‘[/beforeafter]’ shortcode
- The content other than image information withing the ‘[beforeafter]…[/beforeafter]’ is ignored when the shortcode is executed, in other places like home page archive page the content will be shown as is in the post.
- WordPress: 2.9 or newer
- Go to your blog’s WordPress Admin Panel -> Plugins -> Add New
- Search for “before after instruite”
- Click “Install now”
- Go to your blog’s WordPress Admin Panel -> Options -> Before After
- Set the parameters as per your requirements (should work with default parameters too)
- See Plugin Pagefor more details on configuration parameters
- Plugin folder in the WordPress plugins folder must be
- Upload folder
- Ative o plugin por meio do menu “Plugins” no WordPress
- Check out ‘Other Notes’ for usage instruction.
Before after effect is breaking on my site with Chrome or Safari Browser
This effect requires image height and width to be specified with images, if your img tags conatins those parameters and stil you are having issues with Chrome or Safari web browsers
Enable Automatic Detect Dimensions on Before After Options page and reload your pages.
Issues with images not showing up or only one image being shown
Make sure code for both images “img” tag are with in the beforeafter shortcode and one image (image supposed to be before image) has “alignleft” text in “class” attribute of the “img” tag.
Issues with miss alignment of images/bar
This are mostly due to css issues of the theme. Check the post with default wordpress theme and if it works then you will need to customize css of your theme.
Colaboradores e desenvolvedores
“Before After” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.Colaboradores
Registro de alterações
- Bumping the version number
- Updated readme file with new demo info and updated FAQs
- Minor Bug Fix
- Total revamped of code
- Using modified version of Jquery Before After original script to V1.3
- Added options page
- Fixed the bug causing php error
- Changed code to use JScripts bundeled with WordPress
- Modified the beforeafter.js for a fix for depreceated function
- bug in image cause image height to default to 0
- Upgrade the original jquery.beforeafter to V1.2
- Fixed a bug causing the button to put shortcode not showing up in editor
- Fixed a bug caused by themes (like twentyten) which set max-width for images
- Changed to show effect on pages other than single post
- Added activation and deactivation functions to add/delete options in wp-table
- No change in code just changing the version to push the upgrade
- Bug fix for Internet explorer
- Beta Release for Testing