Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
recent entries? (resolved)
(my original message was about a plugin for recent articles but i found the <txp:recent_articles /> so im editing my post so a mod can move this where ever it belongs)
i have my recent articles in my left column but how do i go about adding a bullet to each entry because im using ul and li but the bullet only comes up on the 1st acticle
as you can see here http://www.endcruelty.ca/index.php
Last edited by blazin6543 (2006-06-27 21:55:08)
Offline
#2 2006-06-26 06:21:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: recent entries? (resolved)
It’s because you actually have just one list item, rather than individual ones:
<ul>
<li class="recent_articles"><a href="http://www.endcruelty.ca/takeaction/36/michael-moore">Michael Moore</a><br />
<a href="http://www.endcruelty.ca/article/35/please-sign-the-petition">Please Sign The Petition</a><br />
<a href="http://www.endcruelty.ca/etcetera/34/happiness-in-all-the-wrong-places">Happiness In All The Wrong Places</a><br />
<a href="http://www.endcruelty.ca/takeaction/30/doug-holyday">Doug Holyday</a><br />
<a href="http://www.endcruelty.ca/takeaction/31/costco">Costco</a></li>
</ul>
</div>
Can you post the tag you’re using, please?
Offline
Re: recent entries? (resolved)
ya the thing is though i’d like to have it automatic instead of having to change it everytime i post something new………. im using
<code><ul>
<txp:recent_articles wraptag=“li” limit=5 />
</ul>
</code>
(edited to show code. -Els)
Last edited by els (2006-06-26 06:36:05)
Offline
#4 2006-06-26 06:35:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: recent entries? (resolved)
You’ve misunderstood how the wraptag and break attributes work.
<txp:recent_articles wraptag="ul" break="li" limit="5" />
:)
Offline
#5 2006-06-26 06:38:05
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: recent entries? (resolved)
I was going to answer but Mary was quicker ;)
Offline
Pages: 1