Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
show a certain number of articles on my front page ?
I am not sure how I accomplished this orignially…
On one site I have several articles on the main page. On another site I have just the article titles on the main page.
How do I adjust the number of articles on the main page ?
Thanks,
Jim
Offline
Re: show a certain number of articles on my front page ?
find the <txp:article /> tag, and add a “limit” attribute, so you get something like this:
<txp:article limit="15" />
Which would give you 15 articles showing. Works the same way with a txp:article_custom tag.
Offline
#3 2011-03-26 01:54:07
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: show a certain number of articles on my front page ?
Use limit="123"
in the article or article_custom tag.
Edit: late again ;)
Last edited by els (2011-03-26 01:54:40)
Offline
Re: show a certain number of articles on my front page ?
Thanks. I knew it was something simple. But after working 60 hours this past week, my brain wasn’t working well.
Offline
Re: show a certain number of articles on my front page ?
Aha ! I found it in the presentation area and I had: <txp:article form=“article_listing” limit=“2” /> on the one just showing article titles. Like I told it to. Ah, memories, sweet memories… :-)
Offline