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)
-   -   WP Question. (https://gfy.com/showthread.php?t=1024790)

v4 media 05-31-2011 12:52 PM

WP Question.
 
Numbering posts #1 - #10 before the post title. I'm pretty sure it doable, I think I've even found a tutorial before explaining how. Just not sure what to search for 'number posts and wp' delivers up so much junk.

Anyone any ideas?

MediaGuy 05-31-2011 12:55 PM

Quote:

Originally Posted by v4 media (Post 18180617)
Numbering posts #1 - #10 before the post title. I'm pretty sure it doable, I think I've even found a tutorial before explaining how. Just not sure what to search for 'number posts and wp' delivers up so much junk.

Anyone any ideas?

In the actual post, or in the URL?

.

v4 media 05-31-2011 01:09 PM

Actual post

#1 post title
post content
#2 post title
post content

and so on...

MediaGuy 05-31-2011 01:22 PM

Check that out:

http://www.transformationpowertools....s-post-numbers

:D

v4 media 05-31-2011 01:25 PM

Quote:

Originally Posted by MediaGuy (Post 18180708)

Thank you very much, will do.

fris 06-01-2011 04:00 AM

add a counter to your loop

v4 media 06-01-2011 04:13 AM

Yep, the code I used is here http://pastebin.com/md6Xd3SE from that link above.
Worked perfectly.

fris 06-01-2011 06:46 AM

Quote:

Originally Posted by v4 media (Post 18182332)
Yep, the code I used is here http://pastebin.com/md6Xd3SE from that link above.
Worked perfectly.

glad it works but you dont really need to perform a custom sql query.

just a counter in the loop and increment it each post.


All times are GMT -7. The time now is 12:20 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123