MiniRecentPosts With Limit

By ErichSteinboeckErichSteinboeck

Description

Work in Progress …
This could work, but doesn't ..

If you'd like to allow users to interactively limit the number of displayed posts when using MiniRecentPosts use the below code.

Code

++ Recent Posts
[[size smaller]]Limit to \
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/3 3]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/5 5]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/10 10]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/20 20]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/50 50] \
most recent posts[[/size]]
[[module MiniRecentPosts]]

In action

Recent Posts

Limit to 3/5/10/20/50 most recent posts

...
(by Sir David Tee 27 Apr 2025 22:29, posts: 13)
This must be a joke… I for real thought this was for real…
(by Sir David Tee 27 Apr 2025 22:13, posts: 2)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:13, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:12, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:10, posts: 1)

Limit="2"

...
(by Sir David Tee 27 Apr 2025 22:29, posts: 13)
This must be a joke… I for real thought this was for real…
(by Sir David Tee 27 Apr 2025 22:13, posts: 2)

Limit="20"

...
(by Sir David Tee 27 Apr 2025 22:29, posts: 13)
This must be a joke… I for real thought this was for real…
(by Sir David Tee 27 Apr 2025 22:13, posts: 2)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:13, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:12, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:10, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:08, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:06, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:05, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:03, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 07:01, posts: 1)
Anything you need, just email to: crdlink#hotmail.com change # into @ We supply too many latest...
(by crships 20 Apr 2025 06:59, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:58, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:56, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:54, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:52, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:51, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:49, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:47, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:45, posts: 1)
Most cracked softwares are here to website download, pls Ctrl + F to search them. Full cracked...
(by crships 20 Apr 2025 06:44, posts: 1)

Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by ErichSteinboeck

TOC's from many pages - 16 Feb 2012 01:47
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown: Details Page - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Feed: Collapsible - 16 Feb 2012 01:23
Module Categories - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17


Rate this solution

If you think this solution is useful — rate it up!

rating: +2+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License