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

Yes, it's an extremely interesting code. But is it necessary? It would be logical to use it for...
(by Literaller 24 May 2020 11:46, posts: 3)
不起作用啊
(by DukeChristiAN 11 May 2020 16:14, posts: 5)
This is not a snippet of Wikidot code to use ! This is a comercial for google modules to use in...
(by Helmut_pdorf 07 May 2020 12:16, posts: 2)
En la actualidad la ética de la información trata todo lo relacionado con el uso y mal uso de la...
(by GRUPO NKDA 06 May 2020 21:12, posts: 2)
Fantastic, I appreciate the work.
(by Biomatrix 02 May 2020 23:06, posts: 37)

Limit="2"

Yes, it's an extremely interesting code. But is it necessary? It would be logical to use it for...
(by Literaller 24 May 2020 11:46, posts: 3)
不起作用啊
(by DukeChristiAN 11 May 2020 16:14, posts: 5)

Limit="20"

Yes, it's an extremely interesting code. But is it necessary? It would be logical to use it for...
(by Literaller 24 May 2020 11:46, posts: 3)
不起作用啊
(by DukeChristiAN 11 May 2020 16:14, posts: 5)
This is not a snippet of Wikidot code to use ! This is a comercial for google modules to use in...
(by Helmut_pdorf 07 May 2020 12:16, posts: 2)
En la actualidad la ética de la información trata todo lo relacionado con el uso y mal uso de la...
(by GRUPO NKDA 06 May 2020 21:12, posts: 2)
Fantastic, I appreciate the work.
(by Biomatrix 02 May 2020 23:06, posts: 37)
You cen embed audio from soundcloud. You must only to delete all part...
(by roca-pl 01 May 2020 13:03, posts: 12)
Sorry. This is not working ・_・?
(by RTa_technology 21 Apr 2020 10:56, posts: 13)
???
这个CSS不可以改变链接颜色吗?
(by Dr-Mark long 21 Apr 2020 05:45, posts: 22)
北风那个吹~雪花那个飘~
(by Kevin_Peng 07 Apr 2020 02:37, posts: 3)
[[module CSS]] #page-content table.pretty{ border-collapse: collapse; border: #8596A9...
(by Marifer Zapata 23 Mar 2020 21:08, posts: 3)
da
(by sxwjW 19 Mar 2020 08:01, posts: 3)
Item #: SCP-5023 Object Class : Safe Special Containment Procedures: SCP-5023 Is to be Contained...
(by Mason Forester 03 Mar 2020 19:17, posts: 84)
<script type="text/javascript"> today = new Date(); BigDay = new...
(by danarra 01 Mar 2020 14:31, posts: 1)
all you can do is refresh
(by (account deleted) 22 Dec 2019 01:46, posts: 3)
code modified Title 🔼🔽 Date 🔼🔽 Updated 🔼🔽 Creator 🔼🔽
(by Melphyx 07 Dec 2019 08:05, posts: 1)
Thanks for this. I now can just use that instead of trying to get everything to work using copy...
(by (account deleted) 05 Dec 2019 14:09, posts: 11)
sorry, but how can i resize/force the video window to new height, width ?
(by bgegamer 30 Nov 2019 00:17, posts: 7)
thx !!!
(by bgegamer 30 Nov 2019 00:13, posts: 7)
Oh wow, such a simple mistake. Thanks.
(by YouOrMe 28 Nov 2019 08:16, posts: 84)
You're missing the keyword "tab" in your markup. Code [[tabview]] [[tab Before...
(by Ed Johnson 27 Nov 2019 23:41, posts: 84)

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