Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › Expand length summary
Tagged: blog, blog summary, expand, summary
- This topic has 15 replies, 3 voices, and was last updated 9 years, 6 months ago by
Ernesto.
-
AuthorPosts
-
March 19, 2014 at 9:28 am #5300
yipit
MemberHi there,
Is it possible to expand the length of a blog post summary on the homepage?
Thanks!
March 19, 2014 at 9:29 am #5301yipit
MemberThis reply has been marked as private.March 19, 2014 at 9:30 pm #5315Ernesto
MemberHi,
Could you send me a link to your web page in order to inspect the issue ourserlves?Thanks in advance.
March 19, 2014 at 9:32 pm #5316yipit
Membersure: http://www.etonglory.nl
March 19, 2014 at 11:17 pm #5326Ernesto
MemberHi, could you please show me which ShortCode you´re using to display blog posts?
Thanks in advance!
March 20, 2014 at 7:42 am #5344yipit
MemberHi,
[show_post_snippets post_type=”post” number_of_columns=2 post_count=2 image_size=’large’ excerpt_count=250 display_title=true show_meta=false display_summary=true show_excerpt=”false” hide_thumbnail=”false”]
Thanks!
March 20, 2014 at 9:05 am #5345yipit
MemberAlso, how do I display the ‘Read More’ button under a except/summary on the homepage?
Thanks!
March 21, 2014 at 1:15 am #5359Ernesto
MemberHi, you might want to try using the following code, replacing the X with the desired number of characters you want for your summaries.
[show_post_snippets post_type="post" number_of_columns=2 post_count=2 image_size='large' excerpt_count=X display_title=true show_meta=false display_summary=false show_excerpt="true" hide_thumbnail="false"]
Let me know if it works.
March 21, 2014 at 8:35 am #5373yipit
MemberNope, ain’t working. Do you have any other suggestions?
Also, would it be possible to work with the “split text in read more” in the kitchensink of a post. So I could decided when I wanted to ‘cut’ the excerpt?
And could the excerpt fully align?Thanks in advance!
March 22, 2014 at 1:48 am #5391Ernesto
MemberHi,
If you want to use the Read More link, you need to set the shortcode to this:
[show_post_snippets post_type="post" number_of_columns=2 post_count=2 image_size='large' excerpt_count='X' display_title=true show_meta=false display_summary=true show_excerpt=false hide_thumbnail=false]
In case of the excerpt, you can use:
[show_post_snippets post_type="post" number_of_columns=2 post_count=2 image_size='large' excerpt_count=X display_title=true show_meta=false display_summary=true show_excerpt=true hide_thumbnail=false]
Try that and let us know the outcome.
March 22, 2014 at 7:28 pm #5396yipit
MemberHi there,
I can now adjust the size of the excerpts, although I still can’t see ‘read more button’. Any suggestions?
March 24, 2014 at 2:34 am #5413Ernesto
MemberHi, did you apply the first code?
And did you insert the “Read more” tag in the content of the post?March 24, 2014 at 12:13 pm #5425yipit
MemberHi,
I did. And I did ;). Maybe you could have a look via the test account, because I can’t figure it out. Thanks!
March 25, 2014 at 1:07 pm #5457Raghavendra
ModeratorThere are two code changes to be done to make this work – discovered a small issue where the show_excerpt is ignored. Currently, the Read More button is not supported with this shortcode and hence you will need to make a custom code change (see 2 below). With the change 1 below, the excerpt_count will be ignored and you will need to use the more tag to specify the length(same as regular blog page).
1) Insert the following code to the start of the method at line number 456 of framework/functions/post-functions.php –
$show_excerpt = mo_to_boolean($show_excerpt);
2) Insert the following code at line number 506 of the above file framework/functions/post-functions.php –
$output .= '' . __('Read More', 'mo_theme') . '';
That should help show the Read More button for the blog entries.
March 25, 2014 at 4:15 pm #5462yipit
MemberThanks, you guys are heros! Just one more thing, would it be possible to hide/delete the [···]
at the bottom of the excerpt? Since the button kinda does the same thing. Thanks! -
AuthorPosts
- The forum ‘Agile Theme Support’ is closed to new topics and replies.