Title: Post Order By Category
Author: Atanas Yonkov
Published: <strong>9 outubro, 2019</strong>
Last modified: 24 junho, 2026

---

Pesquisar plugins

![](https://s.w.org/plugins/geopattern-icon/post-order-by-category.svg)

# Post Order By Category

 Por [Atanas Yonkov](https://profiles.wordpress.org/nravota12/)

[Baixar](https://downloads.wordpress.org/plugin/post-order-by-category.1.05.zip)

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

 [Suporte](https://wordpress.org/support/plugin/post-order-by-category/)

## Descrição

Reverse the post order for a specific category to be date ascending. This is a lightweight
plugin that adds the option to reorder the posts from a specific category by published
date (ascending or descending). When creating or editing a category from the Admin
Dashboard, the user can choose to sort the posts for that category by oldest (old
posts on top of the page) or newest (new posts first). Useful for journals, books
or achives, who need to have a chronological sort order for certain category archives.

## Capturas de tela

[⌊Sort posts from a certain category⌉⌊Sort posts from a certain category⌉[

Sort posts from a certain category

## Instalação

 1. Take the easy route and install through the WordPress plugin installer or download
    the .zip file and upload the unzipped folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Perguntas frequentes

### Where are the options?

When editing or updating a category from the WordPress dashboard (click on posts
=> categories => edit), a dropdown to select options will appear after the category
description. The options are “Oldest” (show posts by date ascending or the so called
chronological order) or “Newest” (show posts by date ascending or the WordPress 
way). The default value is “Newest”, which is the same as the WordPress default 
post sort.
 When you choose “Oldest”, the plugin will automatically display the 
posts from that category archive page in chronological order.

### Are there more options to sort the posts?

The plugin currently does not have any more options. However, it can be forked to
sort posts by other criteria, including post title. It can also be adjusted to sort
posts by more than one criteria. For more information on how to do it, feel free
to check this [article](https://yonkov.github.io/post/change-post-order-for-a-specific-category-in-wordpress/)
or contact me directly! The plugin does exactly what it states it does. If you like
it, please give it a 5-star rating.

### Is there support for custom post types?

Yes, since version 1.03, you can reverse post order for category archive pages that
belong to custom post types, e.g. projects or portfolio, as long as the custom post
type supports post categories. This plugin works with [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
plugin. However, WordPress does not support category archives by default. To display
category archive page for category “awesome-projects” for custom post type “project”,
you need to add the following code in your child theme’s functions.php:

    ```
    function my_custom_query_post_type($query) {
        if ( is_category() && ( ! isset( $query->query_vars['suppress_filters'] ) || false == $query->query_vars['suppress_filters'] ) ) {
            //replace project and movie with your custom post type name
            $query->set( 'post_type', array( 'post', 'project', 'movie' ) );
            return $query;
        }
    }
    ```

If you are using the CPT UI plugin to create custom post types, you would also need
to go to Edit post types>Taxonomies and put a tick on “Categories”. Check this [article](https://www.wpbeginner.com/wp-tutorials/how-to-add-categories-to-a-custom-post-type-in-wordpress/)
if you need more information how to set up categories on custom post types.

## Avaliações

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

### 󠀁[Still working (with WordPress 7.0)](https://wordpress.org/support/topic/still-working-with-wordpress-7-0/)󠁿

 [janbletz](https://profiles.wordpress.org/janbletz/) 12 junho, 2026

Excellent plugin, still does what it is supposed to.

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

### 󠀁[Works like a charme](https://wordpress.org/support/topic/works-like-a-charme-57/)󠁿

 [YogieAnamCara](https://profiles.wordpress.org/yogieanamcara/) 4 janeiro, 2025

I am so grateful for this plugin, it does exactly what I was looking for! Some categories
at my blog need to follow the publishing date and be read/displayed in chronological
order. Job done with this plugin!

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

### 󠀁[Fantastic! Just what I needed.](https://wordpress.org/support/topic/fantastic-just-what-i-needed-8/)󠁿

 [ade2002](https://profiles.wordpress.org/ade2002/) 27 maio, 2022

I'm still learning this craft of blogging and I'm not the most technical person,
so this plugin really helped to get my memoirs in the right order. Thankyou.

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

### 󠀁[Perfect for Travel Blogs](https://wordpress.org/support/topic/perfect-for-travel-blogs-2/)󠁿

 [darro](https://profiles.wordpress.org/darro/) 26 maio, 2021

This is a perfect plugin for me. Super simple to achieve what I needed. While I 
want people who visit my blogs to see the latest posts, I have a category for each
trip. Having the ability to list these historical trip in chronological order from
the first post is absolutely perfect. Thanks so much for this plugin. Darro

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

### 󠀁[Work Perfect](https://wordpress.org/support/topic/work-perfect-64/)󠁿

 [healiny](https://profiles.wordpress.org/healiny/) 13 outubro, 2020

I have tried other plugins, this plugin works perfect. Thank you 🙂

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

### 󠀁[Oldest to Newest: Just what my Time Line needed](https://wordpress.org/support/topic/oldest-to-newest-just-what-my-time-line-needed/)󠁿

 [cynthiablue44](https://profiles.wordpress.org/cynthiablue44/) 25 julho, 2020

Simple to use. I wanted to sort a historic Time Line of a Botanist Explorer, Allan
Cunningham, from oldest to newest. So now the Time Line starts with the birth of
Mr Cunningham, and not with his death. PERFECT!

 [ Leia todas as 7 avaliações ](https://wordpress.org/support/plugin/post-order-by-category/reviews/)

## Colaboradores e desenvolvedores

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

Colaboradores

 *   [ Atanas Yonkov ](https://profiles.wordpress.org/nravota12/)

[Traduzir o “Post Order By Category” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/post-order-by-category)

### Interessado no desenvolvimento?

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

## Registro de alterações

#### 1.0.5

Improve localization support

#### 1.04

Fix deprecation notice in wp-admin. Add support to Custom Post Type UI plugin and
update docs.

#### 1.03

Fix php notices on 404 pages. Add support to custom post types.

#### 1.02

First release in WordPress repo.

#### 1.01

Sanitized input and output.

#### 1.0

 * First publicly available version of the plugin.

## Meta

 *  Versão **1.05**
 *  Última atualização **4 meses atrás**
 *  Instalações ativas **1.000+**
 *  Versão do WordPress ** 4.4 ou superior **
 *  Testado até **7.0.7**
 *  Versão do PHP ** 5.2.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/post-order-by-category/)
 * Tags
 * [chronological](https://br.wordpress.org/plugins/tags/chronological/)[post order](https://br.wordpress.org/plugins/tags/post-order/)
   [reverse post order](https://br.wordpress.org/plugins/tags/reverse-post-order/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/post-order-by-category/advanced/)

## Classificações

 5 de 5 estrelas.

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

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

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

## Colaboradores

 *   [ Atanas Yonkov ](https://profiles.wordpress.org/nravota12/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

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