Title: Add File Version (AFV)
Author: Joemakev
Published: <strong>27 de abril de 2018</strong>
Last modified: 5 de octubre de 2018

---

Buscar plugins

![](https://ps.w.org/add-file-version-afv/assets/banner-772x250.jpg?rev=1865450)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/add-file-version-afv/assets/icon-256x256.jpg?rev=1865450)

# Add File Version (AFV)

 Por [Joemakev](https://profiles.wordpress.org/joemakev/)

[Descargar](https://downloads.wordpress.org/plugin/add-file-version-afv.1.0.6.zip)

 * [Detalles](https://es-cr.wordpress.org/plugins/add-file-version-afv/#description)
 * [Valoraciones](https://es-cr.wordpress.org/plugins/add-file-version-afv/#reviews)
 *  [Instalación](https://es-cr.wordpress.org/plugins/add-file-version-afv/#installation)
 * [Desarrollo](https://es-cr.wordpress.org/plugins/add-file-version-afv/#developers)

 [Soporte](https://wordpress.org/support/plugin/add-file-version-afv/)

## Descripción

Add File Version (AFV) can automatically or manually add file version to the CSS/
JS files that were added using wp_enqueue_style and wp_enqueue_script, admin_enqueue_style
and admin_enqueue_script.

The AUTO mode adds file version based on PHP file modification time, while the MANUAL
mode adds version based on your input to the target files (CSS/JS).

## Capturas

 * [[
 * screenshot-1.jpg shows the plugin administration page, where you can change and
   alter its settings.
 * [[
 * screenshot-2.jpg shows the plugin sample output (HTML source)

## Instalación

#### Installation method 1 (easy way)

 1. Go to WordPress dashboard
 2. Click on Plugins > Add Plugin
 3. Search for Add File Version (AFV)
 4. Then click on Install, then click ‘Activate Now’

#### Installation method 2 (manual)

 1. Go to WordPress dashboard
 2. Click on Plugins > Add Plugin
 3. Search for Add File Version (AFV)
 4. Click ‘Upload Plugin’ button
 5. Upload ‘add-file-version.zip’
 6. Activate the plugin

#### Installation method 3 (manual)

 1. Upload ‘add-file-version.zip’ to the ‘/wp-content/plugins/’ directory
 2. Extract the ‘add-file-version.zip’ archive into the ‘/wp-content/plugins/’ directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

#### Usage

Install the ‘Add File Version (AFV)’ plugin and activate it. Upon activation, AFV
by default will add version in AUTO mode to ALL CSS and JS files added using wp_enqueue_style
and wp_enqueue_script, admin_enqueue_style and admin_enqueue_script. The plugin 
provides a page where you can change and alter its settings. It can be found at 
the WordPress dashboard > Tools > Add File Version.

There are 2 modes available, AUTO and MANUAL. The AUTO mode adds file version based
on PHP file modification time, while the MANUAL mode adds version based on your 
input to the target files (CSS/JS). Each versioning mode allows you to select files
to add version. It can be ALL, CSS only or JS only. To disable the versioning function
of the plugin, just uncheck both modes and save the changes by clicking the button
at the bottom.

## Preguntas frecuentes

  What is the purpose of the plugin?

The plugin can be utilized to flush the CSS/JS files, whenever there are file changes
or modifications (AUTO mode version is based on file modification time, while manual
depends on your version input). It is very useful during development and even live
scenarios, as it can facilitate in making the changes visible and force it to take
effect.

Important Note: If there is an active file cache plugin, this tool may not work 
as the cache plugin interferes/manage the handling of file caching of WordPress.

## Reseñas

There are no reviews for this plugin.

## Colaboradores y desarrolladores

“Add File Version (AFV)” es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

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

[Traduce “Add File Version (AFV)” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/add-file-version-afv)

### ¿Interesado en el desarrollo?

[Revise el código](https://plugins.trac.wordpress.org/browser/add-file-version-afv/),
eche un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/add-file-version-afv/),
o suscríbase al [log de desarrollo](https://plugins.trac.wordpress.org/log/add-file-version-afv/)
por [RSS](https://plugins.trac.wordpress.org/log/add-file-version-afv/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.0.6

 * Fixed array and parsing errors

#### 1.0.5

 * Updated admin layout styling

#### 1.0.4

 * Updated admin layout styling

#### 1.0.3

 * Fixed AJAX error in admin page

#### 1.0.2

 * Fixed directory and file error that causes the plugin to halt

#### 1.0.1

 * Fixed minor issues

#### 1.0.0

 * Initial version of the plugin

## Meta

 *  Version **1.0.6**
 *  Last updated **hace 8 años**
 *  Active installations **10+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **4.9.29**
 *  PHP version ** 5.2.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/add-file-version-afv/)
 * Tags
 * [add](https://es-cr.wordpress.org/plugins/tags/add/)[automatic](https://es-cr.wordpress.org/plugins/tags/automatic/)
   [file](https://es-cr.wordpress.org/plugins/tags/file/)[version](https://es-cr.wordpress.org/plugins/tags/version/)
 *  [Vista avanzada](https://es-cr.wordpress.org/plugins/add-file-version-afv/advanced/)

## Valoraciones

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/add-file-version-afv/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/add-file-version-afv/reviews/)

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/add-file-version-afv/)

## Donar

¿Le gustaría apoyar con el progreso de este plugin?

 [ Done a este plugin ](https://www.theydreamer.com)