Title: Post Link Shortcodes
Author: Evan Mattson
Published: <strong>27 agosto, 2013</strong>
Last modified: 19 outubro, 2019

---

Pesquisar plugins

![](https://ps.w.org/post-link-shortcodes/assets/banner-772x250.jpg?rev=1196653)

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://ps.w.org/post-link-shortcodes/assets/icon-256x256.jpg?rev=1196653)

# Post Link Shortcodes

 Por [Evan Mattson](https://profiles.wordpress.org/aaemnnosttv/)

[Baixar](https://downloads.wordpress.org/plugin/post-link-shortcodes.0.4.1.zip)

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

 [Suporte](https://wordpress.org/support/plugin/post-link-shortcodes/)

## Descrição

This plugin dynamically adds a collection of helpful shortcodes for each registered
post type. These shortcodes can be used to return URLs, or generate HTML elements
like anchors and images to the related post!

Each post type will have 2 shortcodes created for it where `{type}` is the name 
of the post type. Eg: `post` or `page`

    ```
    [{type}_url]
    [{type}_link]
    ```

If the post type was registered with `has_archive`, two more shortcodes will also
be created:

    ```
    [{type}_archive_url]
    [{type}_archive_link]
    ```

**NEW in 0.4.0:**
 If the post type supports `thumbnail` (featured images) two more
shortcodes will also be created: [{type}_src] [{type}_img]

**NEW in 0.4.0:**
 Attachment shortcodes [attachment_src] [attachment_img]

    ```
    [post_src hello-world]
    [post_img hello-world size=medium]
    ```

**For more information and examples: [Read the Documentation](https://github.com/aaemnnosttv/post-link-shortcodes/wiki)**

### More

[Post Link Shortcodes on GitHub!](https://github.com/aaemnnosttv/Post-Link-Shortcodes)

## Capturas de tela

[⌊Basic usage. Source shortcode, with html-escaped output in blue.⌉⌊Basic usage.
Source shortcode, with html-escaped output in blue.⌉[

Basic usage. Source shortcode, with html-escaped output in blue.

[⌊Post thumbnail usage.  Works for any post type which supports post thumbnails 
as well as attachments. Source shortcode, with html-escaped output in blue.⌉⌊Post
thumbnail usage.  Works for any post type which supports post thumbnails as well
as attachments. Source shortcode, with html-escaped output in blue.⌉[

Post thumbnail usage. Works for any post type which supports post thumbnails as 
well as attachments. Source shortcode, with html-escaped output in blue.

[⌊Attachment examples. Source shortcode, with html-escaped output in blue.⌉⌊Attachment
examples. Source shortcode, with html-escaped output in blue.⌉[

Attachment examples. Source shortcode, with html-escaped output in blue.

## Instalação

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

## Avaliações

![](https://secure.gravatar.com/avatar/25e1a73961052a1fc288f15e37f698976e7799196390c0ac1ff54f4314aa1955?
s=60&d=retro&r=g)

### 󠀁[Great plugin, save time](https://wordpress.org/support/topic/great-plugin-save-time/)󠁿

 [betagoo](https://profiles.wordpress.org/betagoo/) 13 julho, 2017 1 resposta

Great plugin, save time

![](https://secure.gravatar.com/avatar/42671dfa029a5b8a4ff1e9bff47a1e4b8b340ea3589485b06629a9b1512ce6c0?
s=60&d=retro&r=g)

 [Mike Zielonka](https://profiles.wordpress.org/mikezielonka/) 3 setembro, 2016

Post Link Shortcodes makes it so much easier for users to create links.

 [ Leia todas as 2 avaliações ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/)

## Colaboradores e desenvolvedores

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

Colaboradores

 *   [ Evan Mattson ](https://profiles.wordpress.org/aaemnnosttv/)

[Traduzir o “Post Link Shortcodes” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/post-link-shortcodes)

### Interessado no desenvolvimento?

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

## Registro de alterações

#### 0.4.1

 * FIXED: Unregistered `{type}_archive_url` shortcode

#### 0.4.0

 * NEW: `attachment_src` and `attachment_img` shortcodes
 * NEW: `{type}_src` and `{type}_img` shortcodes for types that support post thumbnails
 * NEW: added filters
 * Various improvements and optimizations under the hood
 * Added support for boolean html attributes

#### 0.3.1

 * Fix a bug where a shortcode would return data for the current page/post when 
   searching for a target post by a slug that does not or no longer exists.

#### 0.3

 * Aliases introduced

#### 0.2

 * Initial release!

## Meta

 *  Versão **0.4.1**
 *  Última atualização **7 anos atrás**
 *  Instalações ativas **40+**
 *  Versão do WordPress ** 3.6 ou superior **
 *  Testado até **5.2.28**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/post-link-shortcodes/)
 * Tags
 * [custom post type](https://br.wordpress.org/plugins/tags/custom-post-type/)[post link](https://br.wordpress.org/plugins/tags/post-link/)
   [post url](https://br.wordpress.org/plugins/tags/post-url/)[shortcode](https://br.wordpress.org/plugins/tags/shortcode/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/post-link-shortcodes/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  2 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/post-link-shortcodes/reviews/#new-post)

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

## Colaboradores

 *   [ Evan Mattson ](https://profiles.wordpress.org/aaemnnosttv/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

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

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LRA4JZYALHX82)