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 \
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/3 3]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/5 5]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/10 10]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/20 20]/\
[https://snippets.obscurative.ru/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

Lol
This is how to utilize this, and it's one of the most efficient ways to organize your content on...
(by tera7704 21 Mar 2023 14:11, posts: 1)
enjoy
(by Melphyx 15 Mar 2023 19:17, posts: 11)
Thanks , enjoy
(by Melphyx 15 Mar 2023 18:46, posts: 11)
you cant fit square pegs in round holes
(by Dr seaborne 10 Mar 2023 17:36, posts: 3)
nuclear wepan
(by Dr seaborne 10 Mar 2023 17:35, posts: 3)

Limit="2"

Lol
This is how to utilize this, and it's one of the most efficient ways to organize your content on...
(by tera7704 21 Mar 2023 14:11, posts: 1)
enjoy
(by Melphyx 15 Mar 2023 19:17, posts: 11)

Limit="20"

Lol
This is how to utilize this, and it's one of the most efficient ways to organize your content on...
(by tera7704 21 Mar 2023 14:11, posts: 1)
enjoy
(by Melphyx 15 Mar 2023 19:17, posts: 11)
Thanks , enjoy
(by Melphyx 15 Mar 2023 18:46, posts: 11)
you cant fit square pegs in round holes
(by Dr seaborne 10 Mar 2023 17:36, posts: 3)
nuclear wepan
(by Dr seaborne 10 Mar 2023 17:35, posts: 3)
can someone update it pls?
(by sethnoodles 04 Mar 2023 18:44, posts: 26)
you can just send the document into your site,then click "files" and then click the...
(by ahgywkhwuyv1124322 28 Feb 2023 09:13, posts: 11)
+ Show whatever - Hide whatever The story starts with a caretaker assigned...
(by Oben123 23 Feb 2023 20:00, posts: 18)
+ Show whatever - Hide whatever The story starts with a caretaker assigned...
(by Oben123 23 Feb 2023 19:59, posts: 18)
+ Show whatever - Hide whatever Whatever text to show/hide.
(by Oben123 23 Feb 2023 19:57, posts: 18)
+ show block – hide block [[tabview]] [[tab b...
(by AxoCat 20 Feb 2023 12:26, posts: 87)
thanks !!
(by formationcanva 24 Jan 2023 09:51, posts: 40)
The code block type="Cpp" makes no sense her without content.. What are you wanting?
(by Helmut_pdorf 17 Jan 2023 18:53, posts: 2)
? ? what is this?
(by Helmut_pdorf 17 Jan 2023 18:46, posts: 1)
[[code type="Cpp"]] insert the code here [[/code]]
(by mortamire4 13 Jan 2023 06:14, posts: 2)
where
(by Qwerty_word 04 Jan 2023 13:34, posts: 1)
yoooo it works
(by Maria_Gold 03 Jan 2023 09:56, posts: 18)
+ Show whatever - Hide whatever Whatever text to show/hide.
(by Maria_Gold 03 Jan 2023 09:56, posts: 18)
[[By CARTOON NETWORK]]
(by Mister-Mblack Dom 25 Dec 2022 15:08, posts: 18)
$best$
(by Mister-Mblack Dom 25 Dec 2022 15:05, posts: 18)

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