Title: single shortcode
Author: attosoft
Published: <strong>अगस्ट 29, 2011</strong>
Last modified: सेप्टेम्बर 11, 2011

---

प्लगिनहरू खोज्नुहोस्

यो प्लगिन **वर्डप्रेसका ३ प्रमुख नवीनतम रिलीजहरूसँग परीक्षण गरिएको छैन**। यो अब 
सम्भवतः व्यवस्थित वा समर्थन नभएको हुन सक्छ र वर्डप्रेसका नयाँ संस्करणहरूमा प्रयोग
गर्दा अनुकूलता सम्बन्धी समस्या हुन सक्छ।

![](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://ne.wordpress.org/plugins/single-shortcode/#description)
 * [समीक्षाहरू](https://ne.wordpress.org/plugins/single-shortcode/#reviews)
 *  [स्थापना](https://ne.wordpress.org/plugins/single-shortcode/#installation)
 * [विकास](https://ne.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://ne.wordpress.org/plugins/single-shortcode/?output_format=md#item1)
>  * [item2](https://ne.wordpress.org/plugins/single-shortcode/?output_format=md#item2)
>  * [item3](https://ne.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/log/single-shortcode/?limit=100&mode=stop_on_copy&format=rss)
द्वारा [कोड ब्राउज गर्नुहोस्](https://plugins.trac.wordpress.org/browser/single-shortcode/),
[एसभीएन रिपजिटरी](https://plugins.svn.wordpress.org/single-shortcode/) हेर्नुहोस्,
वा [विकास लग](https://plugins.trac.wordpress.org/log/single-shortcode/) को सदस्यता
लिनुहोस्।

## चेन्जलग

#### 0.1.1

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

#### 0.1

 * Initial release

## मेटा

 *  संस्करण **0.1.1**
 *  पछिल्लो अपडेट **15 वर्ष अघि**
 *  सक्रिय स्थापना **10+**
 *  वर्डप्रेस संस्करण ** 2.5 वा उच्च **
 *  जाँच गरिएको **3.2.1**
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/single-shortcode/)
 * ट्यागहरू
 * [excerpt](https://ne.wordpress.org/plugins/tags/excerpt/)[hide](https://ne.wordpress.org/plugins/tags/hide/)
   [shortcode](https://ne.wordpress.org/plugins/tags/shortcode/)[single page](https://ne.wordpress.org/plugins/tags/single-page/)
   [Single post](https://ne.wordpress.org/plugins/tags/single-post/)
 *  [उन्नत दृश्य](https://ne.wordpress.org/plugins/single-shortcode/advanced/)

## रेटिङ्गहरू

अहिलेसम्म कुनै समीक्षा पेस गरिएको छैन।

[तपाईँको समीक्षा](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/)