Title: single shortcode
Author: attosoft
Published: <strong>29 Αυγούστου  2011</strong>
Last modified: 11 Σεπτεμβρίου  2011

---

Αναζήτηση πρόσθετων

Αυτό το πρόσθετο **δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress**.
Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας
με τις πιο πρόσφατες εκδόσεις του WordPress.

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

# single shortcode

 Από [attosoft](https://profiles.wordpress.org/attosoft/)

[Λήψη](https://downloads.wordpress.org/plugin/single-shortcode.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/single-shortcode/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/single-shortcode/#reviews)
 *  [Εγκατάσταση](https://el.wordpress.org/plugins/single-shortcode/#installation)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/single-shortcode/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/single-shortcode/)

## Περιγραφή

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://el.wordpress.org/plugins/single-shortcode/?output_format=md#item1)
>  * [item2](https://el.wordpress.org/plugins/single-shortcode/?output_format=md#item2)
>  * [item3](https://el.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)

## Εγκατάσταση

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

## Συχνές Ερωτήσεις

  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.

## Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

## Συνεισφέροντες & Προγραμματιστές

“single shortcode” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει
στη δημιουργία του.

Συντελεστές

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

[Μεταφράστε το “single shortcode” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/single-shortcode)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/single-shortcode/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/single-shortcode/)
ή εγγραφείτε στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/single-shortcode/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/single-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

#### 0.1.1

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

#### 0.1

 * Initial release

## Μεταστοιχεία

 *  Version **0.1.1**
 *  Τελευταία ενημέρωση: **πριν από 15 έτη**
 *  Ενεργές εγκαταστάσεις: **10+**
 *  Έκδοση WordPress: ** 2.5 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/single-shortcode/)
 * Ετικέτες:
 * [excerpt](https://el.wordpress.org/plugins/tags/excerpt/)[hide](https://el.wordpress.org/plugins/tags/hide/)
   [shortcode](https://el.wordpress.org/plugins/tags/shortcode/)[single page](https://el.wordpress.org/plugins/tags/single-page/)
   [Single post](https://el.wordpress.org/plugins/tags/single-post/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/single-shortcode/advanced/)

## Αξιολογήσεις

No reviews have been submitted yet.

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

[Δείτε όλες τις κριτικές](https://wordpress.org/support/plugin/single-shortcode/reviews/)

## Συντελεστές

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

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/single-shortcode/)