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.

single shortcode


Using single shortcode plugin, you can hide specified content from 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


Enclose content with [single] tag.

[single] ... [/single]


You can use [excerpt] tag as necessary.

[excerpt] ... [/excerpt]



If you write the following code,


    <li><a href="#item1">item1</a></li>
    <li><a href="#item2">item2</a></li>
    <li><a href="#item3">item3</a></li>


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



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






  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 for more information.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“single shortcode” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “single shortcode” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات


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


  • Initial release