Help - Search - Members - Calendar
Full Version: Showing a single category archive
Movable Type Community Forum > Additional Resources > Tips and Tricks
domokun
Hi there,
I've just started using Movable Type but already find it so much more powerfull than Blogger and Greymatter.

Currently I have about five different categories and these all display perfectly on my main archive page.

What Id like to be able to do is to display a list of the entries contained within just one of these categories on my blog homepage (main page).

Any ideas how I can do this?
RussW
do you want to display them on a list like a side bar on the main page?

you can do this
CODE
<MTCategories>
 <a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a><br>
 <MTEntries>
 <$MTEntryTitle$> 
 </MTEntries>
 <br /><br />
</MTCategories>
domokun
But this would just show all the categories wouldnt it?

Perhaps i wasnt clear enough, let me give you an example:

I have three categories A, B and C.

On my homepage (main page) I want to show just the entries in category A. I am showing entries to A, B and C from my archive page but on the homepage I want to show JUST A.

Thanks
RussW
here you go this will work for you
CODE
<MTEntries category="A">


shows all posts in category a
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.