I got this warning on my website:
Warning: Undefined array key “btn-hover-bg-color” in /www/wp-content/plugins/read-more/classes/ReadMoreIncludeManager.php on line 137
I got rid of it by changing this code:
public function includeCustomStyle() {
$id = $this->getId();
$savedData = $this->getData();
$type = $savedData['type'];
if($type == 'button') {
$hoverBgColor = $savedData['btn-hover-bg-color'];
$hoverTextColor = $savedData['btn-hover-text-color'];
if(!empty($savedData['hover-effect'])) {
echo "<style>
.yrm-toggle-expand-$id:hover {
background-color: $hoverBgColor !important;
color: $hoverTextColor !important;
}
</style>";
}
}
}
Into this code:
public function includeCustomStyle() {
$id = $this->getId();
$savedData = $this->getData();
$type = $savedData['type'];
if($type == 'button') {
if(!empty($savedData['hover-effect'])) {
$hoverBgColor = $savedData['btn-hover-bg-color'];
$hoverTextColor = $savedData['btn-hover-text-color'];
echo "<style>
.yrm-toggle-expand-$id:hover {
background-color: $hoverBgColor !important;
color: $hoverTextColor !important;
}
</style>";
}
}
}
I don’t expect this is the proper solution, but it worked for me!
Kind regards
Robert
hello
is there a way to show the text without the quotations ” ”
And also bugs out if I try to add a space to the two words Read More
]]>Hello.
I am trying the plugin but unfortunately I see that once it is activated, all the special paragraphs options inside the text are “deleted”. I mean: for instance, if I have bullet points they disappear.
Is it a bug or is it not possible?
Thanks.
Hello,
I was wondering if it could be possible to make the “read more” link/button not stop the flow of the text. At the moment the button is always in a new line with padding etc. Therefore if I want to use the read more in the middle of a sentence it will look quite weird.
How I imagine it to work: https://www.w3schools.com/howto/howto_js_read_more.asp
Looking forward to your response!
]]>Hello,
When clicking on Read more > Add New nothings happening, we just go to a blank page. So I tried to put several different buttons by changing the more=” ” content.. It works until you refresh the page all the button get the name of the last one !
Also the “live preview” ist not working”
Its a pity because your plugin could be good. Can you please fix it ?
]]>Its not working in the long description of product page.
]]>The plugin is nor working i tryed my best but not even show the button
]]>As per previous post by ‘Hadala Kitchen’ I updated my WordPress to version 5.5 and the ‘show more’ button still appears but no longer works, it does nothing on click ??
]]>recently I update my WordPress into 5.5 latest versions but when I am using my website read more plugin is not working.
the button is not shown on the website
]]>Hey, I just want to confirm If this works with Elementor?
A single page will have multiple sections so will it hide all the sections after the shortcode section?
And, I don’t want “Read less” just a single button. Is this possible?
Can we make the remaining text blur or something like that?
Hi,
The plugin doesn’t work on category description the shortcode stays.
]]>On this page – https://www.bwsites.net/a-test-pg/
The “read More” plugin a am trying to use is creating the errors as seen at the top of this page.
Is this something you guys can fix?
I just started a WordPress blog. I’m not the most computer savvy so I’m learning as I go. My last step is including a Read More tab so that a reader can click at the end of an exerpt and be brought to the full post. I have added the Read More plugin. It seems like it should be very simple and yet it’s not working. I am so frustrated because there doesn’t seem to be a place to call for help. I am using the SimpleResponsiveBlogily theme.The only option I can find is to click the plus sign and then click “more”. I get a box to come up that says “Read More” but nothing happens when I look at my actual post. Any help would be greatly appreciated.
]]>Hi
I want to try your plug in but when I try to activate it I get a warning
“The plugin does not have a valid header.”
John
Can you supply code to expand/collapse all ‘read more’ buttons on a page at once? Or at least guide me to your code where I might figure it out?
]]>I’ve noticed that the plugin isn’t friendly with search. Default WordPress search will find a text string that’s hidden by Read More Pro. But it just sends the user to the page. Then attempts to search within the page turn up nothing.
Would there be a way to make hidden text findable?
]]>Is there a way make the “read more” inline so I can cut off the text where I’d like and then click the read more for the tab to open?
]]>Dear Adam,
It would be so good to use your plugin but… on the site where I try to use it, nothing can be seen.
I’d like to use it instead of a toggle module.
There is a paragraph called “This is where Read more – Read less should be…”
I inserted the shortcode in the text and the rest is not seen – but the button can’t be seen either.
I don’t know what the problem is, I would really appreciate your help.
Kind regards,
Rita
I have purchased the pro plugin but I have a couple of issues.
1. I can’t change the button colour. When I click the “select colour” button nothing happens.
2. Add button for posts does not work on all my posts ( we have over 3000 posts) and it only seems to pick a few.
Please advise.
]]>Hi Adam,
Congratulations on a super helpful plugin! ??
Question: Any chance you might be able to figure out how to include some text “before” the Read More button with a fade kind of like this cool addon by Namogo (https://shop.namogo.com/elementor-extras/widgets/unfold/)?
Perhaps it could be a “Pro” feature!?
Best way I could think of accomplishing this is to have an attribute within the shortcode that would define the “number of characters” (or words) the shortcode does not hide before it starts to “fade” and then show the button (as in the example link above).
Maybe something like:
[read_more id=”1″ more=”Read more” less=”Read less” characters=”240″]Read more hidden text…lots more text here so the 240 character limit is reached. All of this text is public/NOT hidden by the button, but all the text after the first 240 characters IS hidden, etc.[/read_more]
This would be a great thing to have if it makes sense. Thanks again for releasing this for us to use! ??
]]>Please tell me if it can be used on category page?
Thanks ??
]]>