- This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hello all, I'm new to the site and new to Studiopress. I'm using Author Pro to set up my author site, annasayburnlane.com. So far so good, but I can't see how to get the excerpts from pages that show on the home page to cut off as specific points in the text. At the moment I'm getting sentences cut off mid-way, which isn't ideal. I've tried playing with the character count but it doesn't seem very accurate and I've been unable to get it to cut off where I want. Anyone have any experience with this? Many thanks.http://annasayburnlane.com/
These look like posts (vs pages), have you tried using the Read More Tag?
Possibly Mika's post will help.
Let us know how you make out. If this helps to resolve your issue, please mark "Resolved."
Hi Terry, they are pages not posts (I don't have any posts yet) so I don't think I have the Read More tag option.
OK, Anna... let's try something different.
Using a page excerpt lets you easily display a subset of your page content or something entirely different.
You can add excerpts to Pages by editing your themes functions.php file and then use the Genesis Featured Page Advanced plugin to display your selected Page excerpt in the widget area.
This approach requires that you're comfortable editing the functions.php file. If you're not quite comfortable doing that, I'd tweak the length in your (current) Genesis - Featured Page widget to get what you need. Yes, that'll be some trial and error but since your pages won't change often is a solution.
Now, back to it...
To add excerpts to Pages - insert the following line at the end of your themes functions.php file:
add_post_type_support( 'page', 'excerpt' );
Add the new excerpt in your (WP Admin) page editor. If the excerpt is not displayed, navigate to the top and view screen options to selects excerpts.
Now add the Genesis Featured Page Advanced plugin. Add it to your widget area and configure to display your specified Page Excerpt (similar to what you did to configure your current Genesis Featured Page widget).
Hope that gets you where you're headed.
© 2023 WPEngine, Inc.