View previous topic :: View next topic |
Author |
Message |
WizR
Joined: 23 Jul 2004 Posts: 2
|
Posted: Fri Jul 23, 2004 8:28 pm Post subject: I have some questions |
|
|
Hello everyone
My website: www.photopr.com
Thanks in advance!
I have the archive showing as a list using <?php include("b2archives.php"); ?> post by post
1. How do you add the number of comments next to each post?
2. Can I have a dropdown list box for my archive?
3. Can I limit the number of archive articles and have a "more" option at the end of the lit to list more archive articles?
I have more questions but these will do for now.
Thanks!! |
|
Back to top |
|
 |
lynn
Joined: 04 Jul 2003 Posts: 24 Location: USA
|
Posted: Wed Aug 04, 2004 6:08 pm Post subject: |
|
|
I'm not sure I can help or not since I have almost no idea what I'm doing but since no one else has responded to this I will tell you what I know. On my blog I have the number of comments displayed under each post. My comments work a little strange. I could never get the pop-up to work so your's might not look exactly like this but here is what the code for the comments looks like in my template. (With spaces added before and after the brackets < > so it will display properly. I hope.)
< a href="<?php comments_link() ? > " target="_blank"><?php comments_number("no comments", "1 comment", "% comments") ? > < /a >
Regarding questions #2 and #3, I haven't a clue but it sounds like a good idea. I like the idea of a drop down archive list because the list gets really long if you keep blogging for a long time. |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 428 Location: Oslo, Norway
|
Posted: Thu Aug 05, 2004 9:36 am Post subject: |
|
|
There's already a feature, letting you list categories and archived items in a dropdown:)
The readme, again:D
Regarding comments-numbers you can use this in the b2-loop:
<?php comments_number("0", "1", "%") ? > _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
WizR
Joined: 23 Jul 2004 Posts: 2
|
Posted: Thu Aug 05, 2004 8:54 pm Post subject: Thanks! |
|
|
lynn, thanks!! but it didn't help much, since I already have that inside the loop.
Sigg3, the readme file only mentions that you can have the category in a dropdown, it doesn't say anything about the archive.
Thanks guys! |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 428 Location: Oslo, Norway
|
|
Back to top |
|
 |
|