Title: Chapter Based Posting Order
Last modified: August 18, 2016

---

# Chapter Based Posting Order

 *  [hatespitlove](https://wordpress.org/support/users/hatespitlove/)
 * (@hatespitlove)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/)
 * One of my blogs are in autobiography/book format where it is necessary to maintain
   sequential order from one chapter to the next. I have gotten the ‘post by post’
   links to order correctly but upon first visit to the page, the last chapter shows
   up first instead of the “Chapter 1”. In other words, as I add additional chapters
   I still want the visitor to see Chapter 1 on the first page then click a link
   to the 2nd Chapter, etc. etc.
    How/where do I go about sorting in ascending order
   as opposed to descending order?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36041)
 * Hrmmm…. this would be interesting. I wonder if there is a way to set it on a 
   per category basis. ….. will need to think about this as it’s something I could
   use in one of my categories too.
    TG
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36043)
 * This topic may help you out…
    [http://wordpress.org/support/10/2398](http://wordpress.org/support/10/2398)
 *  Thread Starter [hatespitlove](https://wordpress.org/support/users/hatespitlove/)
 * (@hatespitlove)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36088)
 * Where would this part go…
    index.php?orderby=asc&order=title …in order to hard
   code it? It looks like a link.
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36092)
 * Ugh. I swear I just answered this.
    If you want this global for the blog, insert
   a line at the top of index.php, just before the require_once(‘wp-blog-header.
   php’): $order=’ASC’; That should do it. -d [http://www.chait.net](http://www.chait.net)
 *  [Nomad](https://wordpress.org/support/users/nomad/)
 * (@nomad)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36592)
 * > If you want this global for the blog, insert a line at the top of index.php,
   > just before the require_once(‘wp-blog-header.php’):
   >  `$order='ASC';`
 * What if you only want to change the order of posts in one category?
 *  [dss](https://wordpress.org/support/users/dss/)
 * (@dss)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36593)
 * I don’t know if this will help you, but i handle the chronology 2 ways:
    1. i
   tweak the date of each new post to keep the oldest first, and the newest last.
   2. i use the ‘next page’ tag to create one long ongoing article which i edit 
   repeatedly. the second method works well… when i am ready to add, i simply edit
   my topic, scroll to the very bottom, and enter the ‘next page’ tag before i begin
   my newest entry… so the entries are paginated, and page one remains page one.
   also, i set this topic apart from the others by copying the index.php and adding`
   $p="x"` just below `< ? php` in the header. i link to it from my links, as well
   as the categories. trouble is… it’s getting up to like 35 pages, and that’s a
   lot for anyone to sit and read. thinking of figuring out some way to make it 
   also a .pdf download. hope that at least triggered a spark for your solution.
   dss

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Chapter Based Posting Order’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 6 participants
 * Last reply from: [dss](https://wordpress.org/support/users/dss/)
 * Last activity: [21 years, 8 months ago](https://wordpress.org/support/topic/chapter-based-posting-order/#post-36593)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
