Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Grouping posts by date.

Old Jun 17, 2010, 03:34 AM
1 posts · Jun 2010
I am using WP 2.9.2, and Ata 3.4.9.

I am trying to find a way to group all posts from a specific date together. I plan to be posting many small posts/day, and having them grouped as such is pretty much essential.

Something like http://www.breakfastpolitics.com/ , but with posts instead of single lines.

I know that part of the work's already done since the posts are displayed chronologically. The theoretical method I would use would be to, within the loop display a date "header", and put that date into a variable, not posting another date "header" until the stored date and post date didn't match, then repeat:

something along the lines of the below but, y'know, with proper syntax.
if stored_date == called_date;
print date;
set stored_date = called_date;

Problem for me is that I don't know the backend of WP or Ata well enough to know how to call that date.

Is there a simple function within WP/Ata I can use within the loop to get each post's date?
Is there a simpler way of doing what I'm trying to do?

Any help appreciated.
Old Jun 17, 2010, 06:20 AM
juggledad's Avatar
23,687 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
why don't you do a google wearch using 'wordpress post plugin' and check out some of the plugins
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar icon for date jpreuss Post-Kicker, -Byline & -Footer 7 Jun 9, 2011 10:05 AM
How to have %date('..')% appear twice? qda Post-Kicker, -Byline & -Footer 3 Oct 13, 2010 02:29 PM
[SOLVED] Messed-up Date jdtfk Languages & Translations 2 Feb 2, 2010 08:46 AM
[SOLVED] Order Posts by Modified Date ysbwriel2k Excerpts, Read more, Pagination 3 Aug 21, 2009 02:36 PM
date of comments Francesco788 Atahualpa 3 Wordpress theme 4 Jun 4, 2009 10:15 AM

All times are GMT -6. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.