Title: WPMC
Author: Kars-T
Published: <strong>2 de febrero de 2008</strong>
Last modified: 3 de febrero de 2008

---

Buscar plugins

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.

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

# WPMC

 Por [Kars-T](https://profiles.wordpress.org/kars-t/)

[Descargar](https://downloads.wordpress.org/plugin/wpmc.1.zip)

 * [Detalles](https://ve.wordpress.org/plugins/wpmc/#description)
 * [Valoraciones](https://ve.wordpress.org/plugins/wpmc/#reviews)
 *  [Instalación](https://ve.wordpress.org/plugins/wpmc/#installation)
 * [Desarrollo](https://ve.wordpress.org/plugins/wpmc/#developers)

 [Soporte](https://wordpress.org/support/plugin/wpmc/)

## Descripción

Plugin that creates _automatic links_ to you _MyMiniCity_ and displays its data.
_Many settings and editable output._

The link to you city will be altered in regards of the city needs. Those needs are
configurated by the thresholds. For example: If you set an industry threshold of
5 unemployment up to 5% will be tolerated. But after this the industry link will
be used to direct people to your city.

The html output for content pages can be custimised in anyway you want. Just use
the variables and build the html as you like.

The varaibles available can be found in the backend.

This plugin caches your cities XML. It will update _only every 5 minutes_. This 
is a caching mechanism to avoid calling to a different webpage everytime a page 
from your blog is loaded.

If you just want a simple link to your city you can use:

**{minicity_link}**

If you want the full html output use:

**{minicity}**

For php integration use:

**`WPMC_getLink()`**

This function will return the link to you city. Do something like this:

    ```
    if(function_exists('WPMC_getLink')){     echo '<a href="'.WPMC_getLink().'">MyCity</a>'; } 
    ```

**`WPMC_displayCity()`**

This function will output the whole html. Use it like this:

    ```
    if(function_exists('WPMC_displayCity')){     echo WPMC_displayCity(); } 
    ```

You can pass a different custom html to this function like this:

    ```
    if(function_exists('WPMC_displayCity')){     echo WPMC_displayCity('<h1>%name%</h1>'); } 
    ```

## Instalación

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the options section. Take a look at the settings and enter at least your 
    MyMiniCity Name.
 4. Place **{minicity}** in your pages or posts

## Preguntas frecuentes

None right now

## Reseñas

No hay reseñas para este plugin.

## Colaboradores y desarrolladores

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

Colaboradores

 *   [ Kars-T ](https://profiles.wordpress.org/kars-t/)

[Traduce «WPMC» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/wpmc)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/wpmc/) , echa un vistazo
al [repositorio SVN](https://plugins.svn.wordpress.org/wpmc/) o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/wpmc/)
por [RSS](https://plugins.trac.wordpress.org/log/wpmc/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1**
 *  Last updated **hace 19 años**
 *  Active installations **Menos de 10**
 *  WordPress version ** 2.3.2 o superior **
 *  Tested up to **2.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wpmc/)
 * Tags
 * [city](https://ve.wordpress.org/plugins/tags/city/)[mini](https://ve.wordpress.org/plugins/tags/mini/)
 *  [Vista avanzada](https://ve.wordpress.org/plugins/wpmc/advanced/)

## Valoraciones

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/wpmc/reviews/)

## Colaboradores

 *   [ Kars-T ](https://profiles.wordpress.org/kars-t/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/wpmc/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Karsten%40plamo%2ede&item_name=Wordpress%20Plugins&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=EN&bn=PP%2dDonationsBF&charset=UTF%2d8)