-
Author
Tagged: excerpt
-
December 3, 2014 at 17:18 #37506HDcmsParticipant
Hello,
The display of the excerpt is properly in the post list.
I am fully display the beginning of a full article pageHave you a link to that function or help.
I tried get_the_excerpt (); but it does not work
I tried https://archived.seventhqueen.com/ but not seen a reply within a FAQRegards
December 3, 2014 at 17:30 #37512AbeKeymasterwhat do you need? the function is located in wp-content/themes/kleo/lib/theme-functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 3, 2014 at 17:43 #37516HDcmsParticipantHi,
This article http://0cd854a9fd.url-de-test.ws/test-avec-acf-communs-videos/ has a text in the excerpt.
I see from the above list but I can not display this theme on a full articleIn functions.php
echo $excerpt;
kleo_excerpt();@+
December 6, 2014 at 03:44 #37855AbeKeymasteron a post page it displays the full content. If you need something to show on posts list then add text in the excerpt section from the post edit page
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 6, 2014 at 11:37 #37863HDcmsParticipantHi,
show on posts list -> Ok
show on post (http://0cd854a9fd.url-de-test.ws/test-avec-acf-communs-videos/) ->Non okI have tried in functions.php :
echo $excerpt;
kleo_excerpt();can you help me a little more because I did not understand what you tell me
sorry
RegardsDecember 9, 2014 at 11:34 #38280HDcmsParticipantHI,
Well I got there but the page display time can be slow 🙁
Do you have a better solution (especially with kleo function)! ??COPY CODEadd_filter( 'the_content', 'my_the_content_filter', 20 ); function my_the_content_filter( $content ) { if ( is_single() ) $content = get_the_excerpt() .$content ; return $content; }
Regards
December 15, 2014 at 14:30 #39143AbeKeymasterYou are using it wrong since you want to display the excerpt in the single post view which is not the intended way of doing that. Excerpt should be used in archive pages so you have a small summary of the whole post content.
But if you want that then your solution is fineHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.