March 19, 2014 at 9:28 am #5300
Is it possible to expand the length of a blog post summary on the homepage?
Thanks!March 19, 2014 at 9:29 am #5301This reply has been marked as private.March 19, 2014 at 9:30 pm #5315
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 #5316March 19, 2014 at 11:17 pm #5326
Hi, could you please show me which ShortCode you´re using to display blog posts?
Thanks in advance!March 20, 2014 at 7:42 am #5344
[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 #5345
Also, how do I display the ‘Read More’ button under a except/summary on the homepage?
Thanks!March 21, 2014 at 1:15 am #5359
Hi, 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 #5373
Nope, 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 #5391
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 #5396
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 #5413
Hi, 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 #5425
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 #5457RaghavendraModerator
There 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 #5462
Thanks, 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!
- The forum ‘Agile Theme Support’ is closed to new topics and replies.