Page 1 of 1

The Read More Option

Posted: Wed May 11, 2022 3:38 pm
by WineMan
Is there a specific number of words or characters that needs to be written before the "Read More" option is triggered?

Re: The Read More Option

Posted: Wed May 11, 2022 4:18 pm
by Madekozu
just type [more] on the position

Re: The Read More Option

Posted: Mon Jun 06, 2022 12:35 pm
by Arvid
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

Re: The Read More Option

Posted: Mon Jun 06, 2022 2:19 pm
by WineMan
The Read More works for me after following Madekozu's suggestion. Thanks for the hidden tip, I will check into that.

Re: The Read More Option

Posted: Sun Jul 03, 2022 3:42 am
by virtualsky
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

Re: The Read More Option

Posted: Mon Jul 04, 2022 8:34 pm
by dart
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.