The Read More Option

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
User avatar
WineMan
Posts: 106
Joined: Tue Sep 01, 2020 5:03 pm

The Read More Option

Post by WineMan » Wed May 11, 2022 3:38 pm

Is there a specific number of words or characters that needs to be written before the "Read More" option is triggered?

User avatar
Madekozu
Posts: 45
Joined: Thu Apr 21, 2022 8:41 am
Location: Hemmingen (Germany, BaWü)
Contact:

Re: The Read More Option

Post by Madekozu » Wed May 11, 2022 4:18 pm

just type [more] on the position
Bäume spenden Schatten und Kettensägen Licht!

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: The Read More Option

Post by Arvid » Mon Jun 06, 2022 12:35 pm

Hi,

though Madekozu is right - control where the "read more" link is by inserting [more] - the Readmore plugin is indeed capable of doing this automatically.

Check out fp-plugins/readmore/plugin.readmore.php where you can change the MODE variable, e.g. to "sentence":

Code: Select all

	$MODE = 'sentence';

	$CHOP_AT = 4; // characters or sentences
This will chop all your entries after 4 sentences (technically, after the fourth occurence of a period/exclamation mark/question mark followed by a blank).

This is more like a "hidden feature" - maybe we should add a plugin settings tab to the Admin Area so the user could set the desired plugin mode there conveniently. Not sure if this is really needed, though; you might want to control the behaviour by yourself.

All the best,
Arvid

User avatar
WineMan
Posts: 106
Joined: Tue Sep 01, 2020 5:03 pm

Re: The Read More Option

Post by WineMan » Mon Jun 06, 2022 2:19 pm

The Read More works for me after following Madekozu's suggestion. Thanks for the hidden tip, I will check into that.

User avatar
virtualsky
Posts: 67
Joined: Thu Mar 11, 2021 4:50 am
Location: Saskatchewan, Canada
Contact:

Re: The Read More Option

Post by virtualsky » Sun Jul 03, 2022 3:42 am

Arvid wrote: Mon Jun 06, 2022 12:35 pm
This is more like a "hidden feature" - maybe we should add a plugin settings tab to the Admin Area so the user could set the desired plugin mode there conveniently.
Thanks for sharing this! I'll find this most useful. :D
It ain't retro to me.... it's just how I live!
https://www.thegrove.in.nf/retroblog

dart
Posts: 58
Joined: Sun May 30, 2021 4:46 pm

Re: The Read More Option

Post by dart » Mon Jul 04, 2022 8:34 pm

yes, thanks Arvid - did not know about this feature !

also, I have used the 'readmore' with no wording preceding it.
ie. A video clip or image - readmore - followed by ... and the rest of the story.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests