Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Grouping posts by date.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 17, 2010, 02:34 AM
grimbles
 
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;
endif

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.
  #2  
Old Jun 17, 2010, 05:20 AM
juggledad's Avatar
juggledad
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
why don't you do a google wearch using 'wordpress post plugin' and check out some of the plugins
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

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 09:05 AM
How to have %date('..')% appear twice? qda Post-Kicker, -Byline & -Footer 3 Oct 13, 2010 01:29 PM
[SOLVED] Messed-up Date jdtfk Languages & Translations 2 Feb 2, 2010 07:46 AM
[SOLVED] Order Posts by Modified Date ysbwriel2k Excerpts, Read more, Pagination 3 Aug 21, 2009 01:36 PM
date of comments Francesco788 Atahualpa 3 Wordpress theme 4 Jun 4, 2009 09:15 AM


All times are GMT -6. The time now is 11:36 PM.


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