- This topic has 5 replies, 3 voices, and was last updated 4 years, 1 month ago by
Tom.
-
AuthorPosts
-
January 24, 2017 at 4:26 am #267417
Brian
Hi,
Should the standard “Read More” tag work in sections? (Didn’t work for me.)
If not, recommend any alternatives? I just tried popular plugin “collapse-o-matic”, which worked, but after clicking two up arrows appear instead of one.
There support forum says:
“This is a css issue from your theme’s span definition.
try change the default tag from span to div
or use the tag attribute: tag=”div” ”
REFBut I haven’t wanted to try changing or adding any css yet. (A newbie.)
Recommendations?
January 24, 2017 at 4:29 am #267418Brian
By the way, I wasn’t sure if this doc said “for your posts on the index pages (archive, category, tags etc.)” because that is the only place it works or because that is the most common use.
January 24, 2017 at 8:55 am #267518Leo
StaffCustomer SupportHi Brian,
Yes the read more tag can only be used on index pages as it’s used to manually control excerpt for blog page.
So I assume you have lots of (non-blog) contents in each section and you don’t want to show it all at once and use the read more button like the blog? This could be a little tricky…
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 24, 2017 at 9:59 am #267550Brian
Yes. Some notes that I want to be able to show/hide. It’s not critical because that probably won’t be a longstanding feature, but does the “collapse-o-matic” support comment make sense and reasonable to do?
There support forum says:
“This is a css issue from your theme’s span definition.
try change the default tag from span to div
or use the tag attribute: tag=”div” ”
REFJanuary 24, 2017 at 10:30 am #267561Leo
StaffCustomer SupportI’m not familiar with the plugin but perhaps give it a shot if it works for another user with the same problem?
As far as I understand, I wouldn’t say the issue is from the theme either since according to the post you linked, the user is using twenty fourteen which is the most generic WordPress theme and it wouldn’t define
<div>
or<span>
different than how it normally should be done.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 24, 2017 at 10:42 am #267582Tom
Lead DeveloperLead DeveloperGP doesn’t really do anything to
<span>
tags, so that’s strange.Have you tried switching it to a
div
like the author suggested?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.