Title: Tekserve Single Post Shortcode
Author: bangerkuwranger
Published: <strong>8 novembro, 2013</strong>
Last modified: 9 novembro, 2013

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# Tekserve Single Post Shortcode

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

[Baixar](https://downloads.wordpress.org/plugin/tekserve-single-post-shortcode.1.3.zip)

 * [Detalhes](https://br.wordpress.org/plugins/tekserve-single-post-shortcode/#description)
 * [Avaliações](https://br.wordpress.org/plugins/tekserve-single-post-shortcode/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/tekserve-single-post-shortcode/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/tekserve-single-post-shortcode/#developers)

 [Suporte](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/)

## Descrição

There are plenty of plugins to show lists of posts, but if you only want to display
a condensed preview of a post on any wp page, this is the plugin for you! The shortcode
accepts the numeric id of any post as an attribute, and will display a preview that
links to that post. This preview is generated with easily styled html. To show or
hide the featured image for your single post preview, pass the attribute `showimage`
with either `hide` or `show`. It’s pretty easy!

For fun, I decided to also build a widget that does the same thing; it’s included
and can be used like any other widget. Why not?!

## Instalação

 1. Upload the `tekservesinglepostshortcode` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the shortcode anywhere you want a condesed preview of a single post, e.g. `[
    single_post id="1" showimage="show"]`.
 4. To use the widget, go to Appearance->Widgets and drag the Tekserve Single Post 
    Widget into whatever widget area you’d like. Enter the post id, check the box if
    you want to show the featured image, and hit save.

## Perguntas frequentes

  Why would I want to use this?

You want to display a link to a single post with a brief content preview. Plenty
of plugins will create this type of object in a list, or as part of popular or related
posts, but sometimes you want to manually feature a post somewhere and not mess 
around with sticky posts or the loop. This simple shortcode does it for you without
modifying your theme’s functions.php.

You also get a widget, so there’s that!

  How can I style the output?

It’s pretty easy; just add css for the output classes and ids in your style.css 
for your theme, or enqueue a separate .css file in your theme to handle it.

Here’s a listing of targets to style the output:

_Output to Style_ _CSS target_

Single Post Container .tekserve-single-post -or- #single-post-$$ ( $$ is numerical
post id)

Featured Image .tekserve-single-post a img

Title .tekserve-single-post .tekserve-single-post-title

Date and Author .tekserve-single-post .tekserve-single-post-meta

Post Content .tekserve-single-post .tekserve-single-post-excerpt

  Where does the plugin get its output?

From the post, of course! Here are the specifics:

 * Image – Post Featured Image / Thumbnail
 * Title – Post Title
 * Meta – Post Date and Post Author
 * Excerpt – Post excerpt, if it exists. If not, first 90 characters of content,
   sans html tags

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Tekserve Single Post Shortcode” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

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

[Traduzir o “Tekserve Single Post Shortcode” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/tekserve-single-post-shortcode)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/tekserve-single-post-shortcode/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/tekserve-single-post-shortcode/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/tekserve-single-post-shortcode/)
por [RSS](https://plugins.trac.wordpress.org/log/tekserve-single-post-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.3

 * filtered excerpt html tags
 * added support for excerpt field

#### 1.2

 * updated file permissions

#### 1.1

 * added widget

#### 1.0

 * added shortcode

## Meta

 *  Versão **1.3**
 *  Última atualização **13 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 3.1 ou superior **
 *  Testado até **3.7.41**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/tekserve-single-post-shortcode/)
 * Tags
 * [excerpt](https://br.wordpress.org/plugins/tags/excerpt/)[link](https://br.wordpress.org/plugins/tags/link/)
   [preview](https://br.wordpress.org/plugins/tags/preview/)[Single post](https://br.wordpress.org/plugins/tags/single-post/)
   [thumbnail](https://br.wordpress.org/plugins/tags/thumbnail/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/tekserve-single-post-shortcode/advanced/)

## Classificações

 1 de 5 estrelas.

 *  [  0 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/?filter=1)

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

[Ver todas avaliações](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/tekserve-single-post-shortcode/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://www.chadacarino.com/burnallmoney.html)