Timeline for Category page shows only 1 post when that post has more than 1 category?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2016 at 12:57 | vote | accept | ninja08 | ||
Nov 30, 2015 at 2:41 | answer | added | ninja08 | timeline score: -1 | |
Nov 29, 2015 at 16:52 | comment | added | Milo | if you are running multiple loops to divide the page into sections, see this answer for splitting a single query among multiple sections. | |
Nov 29, 2015 at 10:27 | comment | added | ninja08 | @PieterGoosen Ok I updated my question. | |
Nov 29, 2015 at 10:26 | history | edited | ninja08 | CC BY-SA 3.0 |
added 115 characters in body
|
Nov 29, 2015 at 10:05 | comment | added | Pieter Goosen | Without knowing why you are doing it, and why you are breaking the main query, that is a much as I can comment. File an edit and explain what you are trying to do | |
Nov 29, 2015 at 10:03 | comment | added | ninja08 | Unless you're offering me a solution, you're response doesn't really help me much @PieterGoosen | |
Nov 29, 2015 at 10:00 | comment | added | Pieter Goosen | You are doing it all wrong if you have 4 loops on your category archive page. You are going to have an endless amount of crap, gaurenteed ;-) | |
Nov 29, 2015 at 9:43 | answer | added | Hans Spieß | timeline score: 1 | |
Nov 29, 2015 at 9:39 | comment | added | ninja08 | what if I have 4 loops on that page that need to be offset? Thanks for your answer by the way. | |
Nov 29, 2015 at 9:36 | history | edited | Mayeenul Islam | CC BY-SA 3.0 |
edited body; edited title
|
Nov 29, 2015 at 9:36 | comment | added | Mayeenul Islam |
Category archives do not need to get_the_category() again. Simply do a simple WP Loop (the loop), here you can see: github.com/Automattic/_s/blob/master/archive.php
|
|
Nov 29, 2015 at 9:32 | history | asked | ninja08 | CC BY-SA 3.0 |