- This topic has 8 replies, 3 voices, and was last updated 8 years, 11 months ago by
Tom.
-
AuthorPosts
-
September 25, 2014 at 3:22 pm #34291
Ben Hourahine
Hi Tom,
Is this possible?
I would like to do it to retain images, videos and post content, but limit the length of text featured on the front page(s). I would like to do this without using an excerpt type setting as I seem to lose the media / rich content.
Thanks again (last question from me for now!)
Ben
BIG Generatepress fan π
September 25, 2014 at 5:45 pm #34337Tom
Lead DeveloperLead DeveloperHi Ben,
You can use the “Read More” tag to set a specific point in which to cut off your blog posts. This will retain your images and other HTML, and cut the excerpt off exactly where you want.
http://en.support.wordpress.com/splitting-content/more-tag/
Let me know if that helps or not π
September 26, 2014 at 1:41 pm #34611Liz Steyer
I’m going to jump in on this thread because I had a similar question. However, I attempted to use the “Read More” tag as suggested, and it cuts my post off in the right place but not does not show a link in the excerpt to click for more.
If I rely on the excerpt type setting, I can’t control each individual post, but at least I get a “Keep reading…” link at the end of the excerpt. But, if I try to use the “Read More” tag, it cuts off right where I want it but without that link so from the excerpt page it just looks like I have an entry with a couple sentences and no way to get the rest of the content.
September 26, 2014 at 2:06 pm #34612Tom
Lead DeveloperLead DeveloperHmm that’s odd – I just gave it a try myself and “Read more…” shows up if I use the Read More tag.
The only time it doesn’t show up is if I use the custom excerpt metabox – and I’m working on that.
Are you using the most up to date version of the theme?
Let me know π
September 26, 2014 at 2:40 pm #34613Liz Steyer
Thanks for the quick reply.
Everything is up to date, and I’ve tried everything I can think of. I thought it might be because I’d imported a lot of posts from another blog, but even creating a new post and trying the “Read More” tag results in no click through text.
September 27, 2014 at 10:00 am #34659Tom
Lead DeveloperLead DeveloperDo you have any other plugins installed?
Can you try deactivating your plugins and see if the link appears?
If so, can you activate each plugin until it disappears again, so we can see which plugin is causing it?
Let me know what you find out π
October 1, 2014 at 3:15 pm #35861Liz Steyer
Hi, Tom.
Sorry for not responding quicker. I disabled all my plugins just now and the link is still not showing up. I don’t have much experience with WordPress so I don’t know if I’m just overlooking something. I appreciate any help you can provide. Thanks!
October 2, 2014 at 11:04 am #36315Tom
Lead DeveloperLead DeveloperCan you possibly email me a link to your website to support@generatepress.com?
Should help if I can see what’s going on π
Thanks!
October 4, 2014 at 11:54 am #36897Tom
Lead DeveloperLead DeveloperOk, I figured it this – and it seems to be more a WordPress limitation than a GeneratePress issue. That being said, I’ll look into a solution.
The issue is when you choose to display the excerpt, instead of the full post.
When your option to set to display the excerpt, the WordPress function the_excerpt() is used, and won’t listen to the Read More tag.
The Read More tag is designed only for the_content(), which is the function used when displaying the full post.
So, for now, if you’re wanting to use the Read More tag, you’ll need to do so on all posts, and set it so the full post is displaying through the Blog settings.
Let me know if that makes sense or not π
-
AuthorPosts
- You must be logged in to reply to this topic.