Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Before After

Descripción

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

Demosites:

Demo with Latest version
Operation on custom theme

Author info:
Follow me on Twitter or become my Friend on facebook
Also on Google+

Utilización

  • 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.

Instalación

Requisitos

  • WordPress: 2.9 or newer

Auto Installation

  • Go to your blog’s WordPress Admin Panel -> Plugins -> Add New
  • Search for «before after instruite»
  • Click «Install now»

Configuración

  • 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

Instalación manual

  • Plugin folder in the WordPress plugins folder must be before-after
  • Upload folder before-after to the /wp-content/plugins/ directory
  • Activa el plugin desde el menú ‘Plugins’ de WordPress
  • Check out ‘Other Notes’ for usage instruction.

FAQ

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.

Reseñas

30 de noviembre de 2016
Hi Your plugin works it with a site using loading ajax ? Thanks
3 de septiembre de 2016 3 respuestas
I like the simple idea of this plugin, and using it isn’t difficult, but alas, it doesn’t work in Wordpress 5 in Chrome. In the end only two links show up on the final page: «Show only before» and «Show only after» links. The links do nothing and there are no visible images.
Leer todas las 11 reseñas

Colaboradores y desarrolladores

«Before After» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Before After» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.2

  • Bumping the version number
  • Updated readme file with new demo info and updated FAQs

1.0.1

  • Minor Bug Fix

1.0.0

  • Total revamped of code
  • Using modified version of Jquery Before After original script to V1.3
  • Added options page
  • Before After Javascripts options can be provided through shortcode attributes now

0.1.5

  • Fixed the bug causing php error

0.1.4

  • 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

0.1.3

  • Upgrade the original jquery.beforeafter to V1.2

0.1.2

  • Fixed a bug causing the button to put shortcode not showing up in editor

0.1.1

  • Fixed a bug caused by themes (like twentyten) which set max-width for images

0.1.0

  • Changed to show effect on pages other than single post
  • Added activation and deactivation functions to add/delete options in wp-table

0.0.3

  • No change in code just changing the version to push the upgrade

0.0.2

  • Bug fix for Internet explorer

0.0.1beta

  • Beta Release for Testing