Title: Adjacent Archive Links
Author: Justin Watt
Published: <strong>26 novembro, 2012</strong>
Last modified: 18 maio, 2015

---

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/adjacent-archive-links.svg)

# Adjacent Archive Links

 Por [Justin Watt](https://profiles.wordpress.org/justincwatt/)

[Baixar](https://downloads.wordpress.org/plugin/adjacent-archive-links.zip)

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

 [Suporte](https://wordpress.org/support/plugin/adjacent-archive-links/)

## Descrição

After activating the plugin, you will have two new template tags at your disposal:

    ```
    <?php previous_archive_link( 'format', 'link' ); ?>
    <?php next_archive_link( 'format', 'link' ); ?>
    ```

They adapt their output depending on whether the date archive is a day, a month,

or a year, and they will only output a link for an adjacent time period in which
you have published posts. Both tags take two string parameters, _format_ and _link_.

The _format_ parameter defines what comes before and after the link. In it, `%link`

will be replaced with whatever is declared in the link parameter below. `previous_archive_link`
defaults to “`&laquo; %link`” and `next_archive_link` defaults to “`%link &raquo;`“.

The _link_ parameter defines the link text. Both tags default to “`%date`“, the

adjacent archive page’s localized date.

If you’re interested in contributing to the code behind this plugin, it’s also hosted
on GitHub:
 https://github.com/justincwatt/wp-adjacent-archive-links

## Capturas de tela

[⌊This is an example of how it looks on a date archive page customized to only show
post titles in chronological order.⌉⌊This is an example of how it looks on a date
archive page customized to only show post titles in chronological order.⌉[

This is an example of how it looks on a date archive page customized to only show
post titles in chronological order.

## Instalação

 1. Extract the zip file, drop the contents in your wp-content/plugins/ directory, 
    and then activate from the Plugins page.
 2. Edit your theme file (e.g. archive.php) and add the template tags `<?php previous_archive_link();?
    >` and `<?php next_archive_link(); ?>`

## Perguntas frequentes

  How do I make my date archives show all posts for that time period in chronological
order, rather than just 10 at a time?

Just add `query_posts($query_string . '&showposts=1000&order=asc');` to the archive.
php template right under the header call.

## Avaliações

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

## Colaboradores e desenvolvedores

“Adjacent Archive Links” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ Justin Watt ](https://profiles.wordpress.org/justincwatt/)

[Traduzir o “Adjacent Archive Links” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/adjacent-archive-links)

### Interessado no desenvolvimento?

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

## Registro de alterações

#### 3.0

 * Fixed issue where date strings were appearing non-localized (in en_US only)
 * Added Spanish localization (Hat tip: Andrew Kurtis of WebHostingHub)

#### 2.0

 * Fixed use of wpdb->prepare for WordPress v3.5 (Hat tip: Jonathan Patt)
 * Improved output of custom previous/next archive hrefs (Hat tip: Trevor Morris)
 * Added the ability to apply filters to the output of both functions (Hat tip: 
   Trevor Morris)

#### 1.0

 * Initial version

## Meta

 *  Versão **3.0**
 *  Última atualização **11 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **4.2.39**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/adjacent-archive-links/)
 * Tags
 * [archive](https://br.wordpress.org/plugins/tags/archive/)[archives](https://br.wordpress.org/plugins/tags/archives/)
   [date archives](https://br.wordpress.org/plugins/tags/date-archives/)[navigation](https://br.wordpress.org/plugins/tags/navigation/)
   [template tag](https://br.wordpress.org/plugins/tags/template-tag/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/adjacent-archive-links/advanced/)

## Classificações

 5 de 5 estrelas.

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

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

[Ver todas avaliações](https://wordpress.org/support/plugin/adjacent-archive-links/reviews/)

## Colaboradores

 *   [ Justin Watt ](https://profiles.wordpress.org/justincwatt/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/adjacent-archive-links/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://justinsomnia.org/2012/11/adjacent-archive-links-for-wordpress/)