Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Before After

Descriere

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+

Folosire

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

Instalare

Requirements

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

Configurare

  • 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

Instalare manuală

  • Plugin folder in the WordPress plugins folder must be before-after
  • Upload folder before-after to the /wp-content/plugins/ directory
  • Activează modulul în meniul „Module” din WordPress
  • Check out ‘Other Notes’ for usage instruction.

Întrebări frecvente

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.

Recenzii

3 septembrie 2016 3 răspunsuri
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.
Citește toate cele 11 recenzii

Contributori și dezvoltatori

„Before After” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Tradu „Before After” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

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