![]() |
Wordpress Experts: How to list post on index page grouped by date
Im so tired of seeing pornhub clones but one thing i like about xhamster.com is the list of new videos added by date. Check the homepage to see what i mean. How is this possible in Wordpress? I know its possible, how is the question...they are grouped by date anyways but i would like to make an xhamster style list...thoughts / suggestions?
|
Just do a great big poo...
It will probably work out in the end... If you sniff it... Probably... |
Enjoy your scum baggery. I hope you rot in hell.
And if you can't figure this out, reroll McDonalds. :2 cents::thumbsup |
this might be of some help. I've not tested any of it though. If you want me to do the legwork testing it out/getting it working lmk ;)
http://wordpress.org/support/topic/g...the-front-page |
ive done it, its not too hard.
|
Quote:
|
Quote:
|
Quote:
|
:mad::mad::mad:ok frustrated now!
|
im too tired, i will throw something up tomorow, i will have to load xhamster, never been to the site before.
|
what you want, is very simple instead of the_time() just use the_date() that way it will list posts by only printing the date the first time, then each post below. you just need to format your design to do so
|
Quote:
Example what it looks like if i have 4 or 8 post on a day: May 1 2011 post - post - post - post May 2 2011 post - post - post - post post - post - post - post But if i only 3 or if i have 5 or 6: May 1 2011 May 2 2011 post1 - post2 - post3 post1 - post2 May 3 2011 post1 - post2 - post3 - post4 So what im trying to say i wish that i could make so that the date would print the same way no matter how many post like xhamster or craigslist do. I cant figuire should this be done with css or php, the solutions i found were php but they were mostly incomplete or contained errors. :helpme |
javascript the date.. Or php
|
Quote:
the_date() will only print the date, and each post below. so you need to take your design, and modify it so it properly formats the date section. |
All times are GMT -7. The time now is 09:43 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc