Title: single shortcode
Author: attosoft
Published: <strong>29 de Agosto de  2011</strong>
Last modified: 11 de Septiembre de  2011

---

Buscar plugins

Este plugin **no ha sido probado con ninguna las 3 últimas versiones principales
de WordPress**. Puede que ya no se mantenga o no tenga soporte, y puede que tenga
problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

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

# single shortcode

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

[Descargar](https://downloads.wordpress.org/plugin/single-shortcode.zip)

 * [Detalles](https://cl.wordpress.org/plugins/single-shortcode/#description)
 * [Reseñas](https://cl.wordpress.org/plugins/single-shortcode/#reviews)
 *  [Instalación](https://cl.wordpress.org/plugins/single-shortcode/#installation)
 * [Desarrollo](https://cl.wordpress.org/plugins/single-shortcode/#developers)

 [Soporte](https://wordpress.org/support/plugin/single-shortcode/)

## Descripción

Using single shortcode plugin, you can hide specified content from [excerpt](https://codex.wordpress.org/Glossary#Excerpt)
of post. The content enclosed with [single] tag is output **only** if single page
is displayed. It’s useful for hiding the following items from excerpt.

 * table of contents
 * footnotes
 * relative links, etc.

Installed this plugin, you can use the following shortcodes.

 * [single] shortcode outputs content **only** if single page is displayed
 * [excerpt] shortcode outputs content **only** if excerpt is displayed

#### Usage

Enclose content with [single] tag.

    ```
    [single] ... [/single]

    [single]
     ...
    [/single]
    ```

You can use [excerpt] tag as necessary.

    ```
    [excerpt] ... [/excerpt]

    [excerpt]
     ...
    [/excerpt]
    ```

#### Example

If you write the following code,

    ```
    <p>paragraph1</p>

    [single]
    <h5>Index</h5>
    <ul>
        <li><a href="#item1">item1</a></li>
        <li><a href="#item2">item2</a></li>
        <li><a href="#item3">item3</a></li>
    </ul>
    [/single]

    <p>paragraph2</p>
    ```

the excerpt is displayed as follows. (Index is NOT output)

> paragraph1
> paragraph2

And single page is displayed as follows. (Index is output)

> paragraph1
>  **Index**
>  * [item1](https://cl.wordpress.org/plugins/single-shortcode/?output_format=md#item1)
>  * [item2](https://cl.wordpress.org/plugins/single-shortcode/?output_format=md#item2)
>  * [item3](https://cl.wordpress.org/plugins/single-shortcode/?output_format=md#item3)
> paragraph2

#### Links

 * [Homepage (attosoft.info)](http://attosoft.info/en/) [[Japanese](http://attosoft.info/)]
 * [single shortcode Plugin Official Site](http://attosoft.info/blog/en/single-shortcode/)[
   [Japanese](http://attosoft.info/blog/single-shortcode/)]
 * ref. [Function Reference / is_single() (WordPress Codex)](https://codex.wordpress.org/Function_Reference/is_single)

## Instalación

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Where is excerpt displayed?

 * Blog homepage (latest posts)
 * Archive, Category, Tag page
 * Search result
 * Posts feed (RSS/Atom)

* Please see [Glossary](https://codex.wordpress.org/Glossary#Excerpt) for more information.

## Reseñas

No hay reseñas para este plugin.

## Colaboradores & Desarrolladores

“single shortcode” es software de código abierto. Las siguientes personas han contribuido
a este plugin.

Colaboradores

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

[Traduce “single shortcode” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/single-shortcode)

### ¿Interesado en el desarrollo?

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

## Historial de cambios

#### 0.1.1

 * [excerpt] shortcode also outputs content in search results and posts feed (RSS/
   Atom)

#### 0.1

 * Initial release

## Meta

 *  Versión **0.1.1**
 *  Última actualización **hace 15 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 2.5 o superior **
 *  Probado hasta **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/single-shortcode/)
 * Etiquetas
 * [excerpt](https://cl.wordpress.org/plugins/tags/excerpt/)[hide](https://cl.wordpress.org/plugins/tags/hide/)
   [shortcode](https://cl.wordpress.org/plugins/tags/shortcode/)[single page](https://cl.wordpress.org/plugins/tags/single-page/)
   [Single post](https://cl.wordpress.org/plugins/tags/single-post/)
 *  [Vista Avanzada](https://cl.wordpress.org/plugins/single-shortcode/advanced/)

## Calificaciones

Aún no se han enviado valoraciones.

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

[Ver todas las reseñas](https://wordpress.org/support/plugin/single-shortcode/reviews/)

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

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