Support ForumChange Character Length on [recent_posts] – Support Forum https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/feed Sat, 21 Dec 2024 16:38:34 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1611 <![CDATA[Change Character Length on [recent_posts]]]> https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1611 Sun, 09 Feb 2014 19:18:25 +0000 urbanryno I’m using this code on my homepage to pull in excerpts from my recent blog posts:

[recent_posts order=”DESC” columns=”3″ count=”6″ show_title_icon=”no” show_media=”yes” show_date=”yes” show_categories=”yes” show_author=”no” show_tags=”no” show_comments=”no” slideshow=”yes” animation=”slide” navigation=”yes” autoslide=”no” interval=””]

I found documentation on what most of these attributes do, but I’m trying to change the character limit. I want to include more text before it says “… read more”. Is there a simple tag for this or do i need to dig deeper into the code?

Thanks.

]]>
https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1613 <![CDATA[Reply To: Change Character Length on [recent_posts]]]> https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1613 Mon, 10 Feb 2014 05:46:41 +0000 IshYoBoy Hey,

There is no attribute for that. You’ll have to change it in the code. If you open the file:

wp-content\themes\minicorp\assets\framework\wp\shortcodes\shortcodes.php

You should find the following code on line 2635:

$excerpt = ishyoboy_custom_excerpt($post->post_content, 30);

If you change the number “30” to a different one, the length will be changed.

P.S. We do not recommend modifying the file directly if wish to leave it future updates compatible. Rather do the modification from a Child Theme.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1678 <![CDATA[Reply To: Change Character Length on [recent_posts]]]> https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1678 Sun, 16 Feb 2014 19:46:31 +0000 urbanryno thanks. I’ll have to go read up on child themes. I have no idea what that means. I appreciate the info.

]]>
https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1685 <![CDATA[Reply To: Change Character Length on [recent_posts]]]> https://support.ishyoboy.com/forums/topic/change-character-length-on-recent_posts/#post-1685 Mon, 17 Feb 2014 08:51:05 +0000 IshYoBoy Hey,

Here is more info:
https://codex.wordpress.org/Child_Themes

The idea is that if you modify the “theme files” directly when a new update is available you will have to delete all files and paste the new “theme files” of the updated theme. This means that all your modifications will be lost and you will have to apply them again. And this will repeat after every theme update.

A child theme is an empty theme which uses the parent one and if you do any modifications to the “child theme” the parent theme remains untouched so even if you update the parent one the child remains the same containing all your changes.

There is a starter child-theme provided by us in the downloaded files from ThemeForest.

Please have use it!
Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>