Title: Before/After
Author: keighl
Published: <strong>Disyembre 1, 2009</strong>
Last modified: Enero 7, 2010

---

Maghanap ng mga plugin

Ang plugin na ito ay **hindi pa nasusubukan sa pinakabagong 3 major release ng WordPress**.
Maaaring hindi na ito minamantine o sinusuportahan at maaaring may mga isyu sa compatibility
kapag ginamit sa mas bagong bersyon ng WordPress.

![](https://s.w.org/plugins/geopattern-icon/beforeafter.svg)

# Before/After

 Ni [keighl](https://profiles.wordpress.org/keighl/)

[I-download](https://downloads.wordpress.org/plugin/beforeafter.zip)

 * [Mga Detalye](https://tl.wordpress.org/plugins/beforeafter/#description)
 * [Mga Review](https://tl.wordpress.org/plugins/beforeafter/#reviews)
 *  [Pag-install](https://tl.wordpress.org/plugins/beforeafter/#installation)
 * [Development](https://tl.wordpress.org/plugins/beforeafter/#developers)

 [Suporta](https://wordpress.org/support/plugin/beforeafter/)

## Deskripsyon

Organize “before and after” style portfolios embedded within WordPress posts. Before/
After allows you to select specific images out of your media library, and sort them
into respective before and after groups from the post editing page. Useful for anyone
who features their work or services (web-designers, artists, plumbers, etc.) on 
their site.

**[Support & Examples](http://www.keighl.com/plugins/before-after/)**

=Use=

 * Add images to your Media Library; these images will become available to you on
   the post add/edit page.
 * On the post add/edit page, simply drag images from the Media Library column into
   the Before and After columns.
 * To remove an item, double-click it.

=Template Tags=

=`<?php $beforeafter->is_gallery( id ); ?>`=

Returns true if there is a Before/After gallery associated with a particular post.

 * id:
    - A post id. Typically the current post, $post->ID

=`<?php $beforeafter->gallery( type , id , file , links , list , rel , limit ); ?
>`=

Returns the images stored in a particular Before/After gallery.

 * type:
    - Determines which gallery to return: before or after.
    - Values: ‘before’ , ‘after’
    - Default: ‘after’
 * id:
    - The post id. If set to 0, will return images from all posts with Before/After
      galleries.
    - Default: 0
 * file:
    - Determines the type of image to return: the original image file, or the thumbnail.
    - Values: ‘thumb’ , ‘file’
    - Default: ‘thumb’
 * links:
    - If set to true, will wrap images with links to the original files.
    - Values: true, false
    - Default: true
 * list:
    - If set to true, wraps the image in
    -  tags.
    - Values: true, fase
    - Default: false
 * rel:
    - Alters the default rel parameter for image links.
    - Default: ‘beforeafter’
 * limit:
    - Limits how many items are returned.
    - Default: all of ’em.

## Mga Screenshot

 * [[
 * A view from the post add/edit interface.

## Pag-install

 1. Upload `beforeafter.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place template tags in theme files.

## FAQ

  Can you upload photos directly from the post edit page?

No. Upload them to the media library directly; it works better.

  Can an image be in more than one gallery?

As of right now, no. If folks feel the need to do this, I can implement that feature.
Please note that the images are still available to do any other WordPress stuff (
eg. insert into post content), but may only used once within Before/After.

I’ve set it up this way to avoid confusing multiple images in the admin interface.

  How is Before/After styled?

It is not styled in any way. The plugin gives you an admin interface, and the template
tags to build any kind of gallery you want. Style it with CSS, or use it in conjunction
with a javascript library like jQuery.

To use this plugin you must be familiar with theme files and rudimentary PHP.

## Mga Review

Wala pang reviews para sa plugin na ito.

## Mga Contributor at Developer

Ang “Before/After” ay open source software. Ang mga sumusunod na tao ay nag-ambag
sa plugin na ito.

Mga Contributor

 *   [ keighl ](https://profiles.wordpress.org/keighl/)

[Isalin ang “Before/After” sa iyong wika.](https://translate.wordpress.org/projects/wp-plugins/beforeafter)

### Interesado sa development?

[Tingnan ang code](https://plugins.trac.wordpress.org/browser/beforeafter/), i-check
ang [SVN repository](https://plugins.svn.wordpress.org/beforeafter/), o mag-subscribe
sa [development log](https://plugins.trac.wordpress.org/log/beforeafter/) sa pamamagitan
ng [RSS](https://plugins.trac.wordpress.org/log/beforeafter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

=0.2=
 * Adds a ‘limit’ argument to gallery()

#### 0.1

 * Initial release.

## Meta

 *  Bersyon **0.2**
 *  Huling na-update **16 taon ang nakalipas**
 *  Mga aktibong installation **10+**
 *  Bersyon ng WordPress ** 2.5 o mas bago **
 *  Sinubukan hanggang **2.9.2**
 *  Wika
 * [English (US)](https://wordpress.org/plugins/beforeafter/)
 * Mga Tag
 * [before after](https://tl.wordpress.org/plugins/tags/before-after/)[cms](https://tl.wordpress.org/plugins/tags/cms/)
   [image gallery](https://tl.wordpress.org/plugins/tags/image-gallery/)[media library](https://tl.wordpress.org/plugins/tags/media-library/)
   [portfolio](https://tl.wordpress.org/plugins/tags/portfolio/)
 *  [Advanced View](https://tl.wordpress.org/plugins/beforeafter/advanced/)

## Mga Rating

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/beforeafter/reviews/#new-post)

[Tingnan lahat ng review](https://wordpress.org/support/plugin/beforeafter/reviews/)

## Mga Contributor

 *   [ keighl ](https://profiles.wordpress.org/keighl/)

## Suporta

May gusto kang sabihin? Kailangan ng tulong?

 [Tingnan ang support forum](https://wordpress.org/support/plugin/beforeafter/)

## Mag-donate

Gusto mo bang suportahan ang pagpapaunlad ng plugin na ito?

 [ Mag-donate sa plugin na ito ](http://www.keighl.com/plugins/before-after/)