Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-20 15:51:02

RobJ25
New Member
Registered: 2004-11-12
Posts: 3

Display only articles from a single category on the front page?

I’m working on a site that has five sections; one of these sections is a catalogue of new items for sale (one article per item). This section is currently syndicated and featured on the front page.

However, it has become clear that only certain articles in the section should be featured on the front page: just the new releases, say, rather than re-releases of old items, or items that might not be appropriate to appear on the front page. The obvious solution is to set up a category — ‘new releases’ — and just have that featured on the front page. Is there any way to go about this?

Offline

#2 2005-11-20 15:56:59

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,117
Website GitHub Mastodon Twitter

Re: Display only articles from a single category on the front page?

Try the <a href=“http://forum.textpattern.com/viewtopic.php?id=4526”>glx_if</a> plug in and the article_custom tag


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2005-11-20 19:21:04

RobJ25
New Member
Registered: 2004-11-12
Posts: 3

Re: Display only articles from a single category on the front page?

Perfect — thank you!

Offline

#4 2005-11-20 20:58:54

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Display only articles from a single category on the front page?

You could avoid using a plug-in, and you know it makes sense, by using <code><txp:article_custom section=“sectionName” category=“categoryName” /></code>.

Last edited by thebombsite (2005-11-20 20:59:20)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB