Knowledge Base

How to use multiple weblog entries tags in a Template

You can use as many {exp:weblog:entry} tags in the same Template as you want.  What you must be aware of is that if special information is passed to ExpressionEngine via the URL (such as a category to display or a monthly archive to show), EE will apply the special circumstance to all tags on the page by default.

If you want to make sure a specific tag always shows the same results, regardless of what might be passed via the URL, then you can simply use the dynamic="off” parameter in the tag:

{exp:weblog:entries dynamic="off"}

your entry here

{
/exp:weblog:entries}

It is also important to note that you should always use the disable parameter in order to optimize your templates.

Last Updated on Jun 04, 2007 at 10:41   ( Permalink )
Category: Templates, Entries