GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress Experts: How to list post on index page grouped by date (https://gfy.com/showthread.php?t=1024540)

tonyparra 05-29-2011 10:53 AM

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?

CurrentlySober 05-29-2011 11:01 AM

Just do a great big poo...

It will probably work out in the end... If you sniff it...

Probably...

Harmon 05-29-2011 11:02 AM

Enjoy your scum baggery. I hope you rot in hell.

And if you can't figure this out, reroll McDonalds. :2 cents::thumbsup

JD 05-29-2011 11:06 AM

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

fris 05-29-2011 12:31 PM

ive done it, its not too hard.

tonyparra 05-29-2011 06:19 PM

Quote:

Originally Posted by Harmon (Post 18175343)
Enjoy your scum baggery. I hope you rot in hell.

And if you can't figure this out, reroll McDonalds. :2 cents::thumbsup

wtf are you talking about?

tonyparra 05-29-2011 06:24 PM

Quote:

Originally Posted by fris (Post 18175503)
ive done it, its not too hard.

well... spill it ...pretty please :upsidedow

tonyparra 05-29-2011 06:25 PM

Quote:

Originally Posted by JD (Post 18175351)
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

where you been man? thanks for the link ill play with it a little if i get frustrated ill pick up the bat phone :winkwink:

tonyparra 05-29-2011 07:38 PM

:mad::mad::mad:ok frustrated now!

fris 05-29-2011 08:27 PM

im too tired, i will throw something up tomorow, i will have to load xhamster, never been to the site before.

fris 05-29-2011 08:41 PM

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

tonyparra 05-30-2011 08:54 PM

Quote:

Originally Posted by fris (Post 18176193)
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

yes that is correct unfortunately my theme use 4 post across so on a day that i have like 2 or 3 post the date shows up on the same row as the previous days post.

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

V_RocKs 05-31-2011 01:49 AM

javascript the date.. Or php

fris 05-31-2011 03:54 AM

Quote:

Originally Posted by tonyparra (Post 18178453)
yes that is correct unfortunately my theme use 4 post across so on a day that i have like 2 or 3 post the date shows up on the same row as the previous days post.

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

its more of a css issue than a php one.

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