-
Author
Tagged: custom excerpt length
-
April 15, 2016 at 23:21 #116947jokeretteParticipant
I’m using the standard PHP to change excerpt length – saving it in functions.php under Kleo Child. It’s being a BEAST and refuses to work – no didn’t clear cache, am developing under Chrome so I pulled the site up in FF and still no joy. Figured it might be a Composer issue, hit their support – they have responded many times to the same question with the same (simple) php function.
Why oh why is my beast of a site the only one not to BEHAVE! hard enough going from php/js/html ect to WP – without tiny little urps like this lol!
Thank you SO much! You guys are life-savers. I did see another theme where excerpt-length JUST HAPPENS to be an option… (hint SEG hint π
April 18, 2016 at 20:33 #117432RaduModeratorHi jokerete,
Let’s try again, use this code it should work
COPY CODEfunction custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Let me know
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 20, 2016 at 14:44 #117882jokeretteParticipantHi!
SOTD page (reach from primary menu) – post masonry grid – masonry grid: defaultNews page (blog posts – News Old (blog-normal) ) – show excerpt is on, small left thumb.
April 20, 2016 at 23:42 #118049RaduModeratorHi,
It seems that a bug create this…
Please replace this file /wp-content/themes/kleo/lib/theme-functions.php with the attached file
This issue will be patched in next theme update at the end of the month
Cheers
R.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.April 24, 2016 at 23:15 #118682jokeretteParticipantHi Radu!
Sorry this took so long – slammed trying to hit that go-live date. No, this didn’t work if you check SOTD from http://www.prowritersint.com/wp/ – andddddd while I’m at it, Post Masonry Grid – default item – isn’t pulling inline images instead of featured images. Have the feeling this and the excerpt thing are likely VC bugs? I’ve seen this one documented here, but – slammed for time – cheating and asking lol!THANK you so much π
April 25, 2016 at 19:21 #118819RaduModeratorHi,
The snippet works, is tested by me and by others and is normally the code not works in pages, the STOD is a page and the snippet cannot trim that content.
REgarding to this
Post Masonry Grid β default item β isnβt pulling inline images instead of featured images
I see images are displayed ok as featured where is the problem ? screenshot that pointing out wrong position of images + link please
Cheers
R.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 3, 2016 at 15:04 #120001jokeretteParticipantAh! So I can’t trim snippets for pages, if I am understanding?
I fixed our other issue by doing something or other you suggested here in these forums. I think I made the image invisible. Now that seems to be working, thanks much.
May 3, 2016 at 16:19 #120021KAStylesParticipantSpeaking of custom excerpt… Is there a way to override Kleo and have the standard WordPress read more feature work for blog posts?
For some reason I cannot start a topic anymore so Im asking about this here.
May 3, 2016 at 18:56 #120110RaduModerator@jokerette if the pages are rendered thru masonry grid yes
Hi KAStyles,
What do you mean by standard WordPress read more feature ?
You can open a new ticket form menu -> Get Support -> Kleo ->
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 4, 2016 at 14:35 #120234KAStylesParticipantIn the WordPress editor there is is the Read more feature you can insert where you want in a post.
May 5, 2016 at 20:35 #120556RaduModeratorYou’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.