Timeline for get_posts output always same post
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 30, 2013 at 14:22 | answer | added | Maruti Mohanty | timeline score: 2 | |
Nov 30, 2013 at 14:16 | comment | added | MultiformeIngegno | The result is NULL. The permalink is correct though (it's the one that title says). | |
Nov 30, 2013 at 14:07 | comment | added | Chris_O |
Before the foreach loop do var_dump( $tag_posts ); so you can see if they really are the same post.
|
|
Nov 30, 2013 at 13:38 | comment | added | MultiformeIngegno | Uhm, doesn't work anymore with that :P | |
Nov 30, 2013 at 13:36 | comment | added | Alex Dumitru | Try to add a wp_reset_query() before get_posts. | |
Nov 30, 2013 at 13:31 | history | asked | MultiformeIngegno | CC BY-SA 3.0 |