Not a developer? Go to MovableType.com

Plugin and Theme Directory

Entries Block Tag Status Filter Argument v0.1.1

By Alfasado Inc.
Posted October 29, 2013, in MT Tags, Templates, Widgets.

Details

In most situations a template should render the Entries marked as “published.” There are scenarios, however, when publishing entries with other statuses is required. This plugin facilitates that with a new argument for the Entries block tag: status_filter.

Entries have one of the following statuses:

  • Unpublished (1)
  • Published (2)
  • Review (not commonly used, 3)
  • Scheduled (4)
  • Junk (used with community-submitted content, 5)

The status_filter argument takes one or more of the numeric status representations; more than one should be in a comma-separated list. Examples are shown below.

The default behavior to render entries marked “published”:

<mt:Entries status_filter="2">
    <p><mt:EntryTitle></p>
</mt:Entries>

Render any Entries marked “unpublished”:

<mt:Entries status_filter="1">
    <p><mt:EntryTitle></p>
</mt:Entries>

Show all unpublished, published, and scheduled Entries:

<mt:Entries status_filter="1,2,4">
    <p><mt:EntryTitle></p>
</mt:Entries>

Compatibility

Movable Type versions: 4.35.05.15.26.0


Back

8 Comments

himanshu mishra

himanshu mishra on January 11, 2018, 5:57 a.m. Reply

At present the time to play the wonderful game fireboy and watergirl on our homepage http://fireboywatergirl.me it is the classic game the players should have to be aware of red blue and green lake and have to collect the diamonds they must suffers from many difficulties to complete the challenge.

Barbara M. Malik

Barbara M. Malik on January 13, 2018, 3:48 p.m. Reply

Thanks for this tips! On my https://collegepaperwritingservice-reviews.com/essayvikings-com-review/ opinion, it is useful information!

Barbara M. Malik

Barbara M. Malik on January 13, 2018, 3:48 p.m. Reply

Thanks for this tips! On my opinion,college paper writing it is useful information!

niall

niall on March 4, 2018, 8:36 a.m. Reply

I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before. Private Limited Company Registration

Annie_Black

Annie_Black on March 13, 2018, 4:40 p.m. Reply

Thanks a lot for posting this! I was simply browsing around, looking for something useful like https://domyhomeworkfor.me/programming-homework-help to bookmark and I think your site is just the one :)

Mike Hall

Mike Hall on March 28, 2018, 10:05 a.m. Reply

Amazing information. Thanks for providing this. Magento Development Company Magento Maintenance

Mike Hall

Mike Hall on March 28, 2018, 10:07 a.m. Reply

Amazing information. Thanks for providing this. Magento Development Company Magento Maintenance

JessicaL

JessicaL on May 4, 2018, 12:23 p.m. Reply

Schön, vielen Dank, dass Sie die Dokumentation mit uns geteilt haben. 192.168.178.1

Leave a Comment