Not a developer? Go to MovableType.com

Documentation

include_websites

Use this modifier in loop tags to include specific or all websites in the Movable Type. “site_ids” works same as “include_websites”.

include_websites="all | WebsiteID"
site_ids="all | WebsiteID"
  • A string of comma-separated website IDs selects specific websites.
  • The string “all” selects all websites.

You can use the include_websites and exclude_websites attributes together in Movable Type 5.1 and later.

Examples

 <ul>     
  <mt:Pages include_websites="all" exclude_websites="2">
    <a href="<$mt:PagePermalink$>"><$mt:PageTitle$></a>
  </mt:Pages>
 </ul>

  <ul>
  <MTWebsites exclude_websites="2">
     <li><a href="<$mt:WebsiteURL$>"><$mt:WebsiteName$></a> <span class="count">[<$mt:WebsitePageCount$> pages]</span></li>
  </MTWebsites>
</ul>
Back

Leave a Comment