-
AuthorPosts
-
October 21, 2015 at 9:48 am #522211
Hi,
Thanks for the great theme.
I wondered if it is possible to have a custom excerpt for post before the “read more” link ?
I would like to show not the beginning of the article but a text especially written on the page with the categories or the tag of the postsI tried using the custom except but when I see the tag archive or the category archive, it show the beginning of the post (before the read more) and not the Excerpt. What should I do ?
https://codex.wordpress.org/Excerpt- This topic was modified 9 years, 2 months ago by anniet. Reason: Excerpt, post
October 21, 2015 at 8:30 pm #522502Hi anniet!
If you have written a custom excerpt then it should also be displaying in the archives as well. Send us a link to the post and your archives and we’ll take a look.
Be sure to deactivate all plugins while testing.
Regards,
ElliottOctober 22, 2015 at 10:55 am #522833Hi Elliott
I tried deactivating extensions, especially zencache but no result.
two posts have manual excerpt (see links below) and the articles are tagged and in caterogies but the archives page or the tag page show the beginning of the article (before the read more ) and not the custom excerpt.October 22, 2015 at 11:50 pm #523371Hey!
Can you hand us a temporary admin account in a private reply?
Best regards,
JosueOctober 23, 2015 at 9:29 am #523535of course
October 23, 2015 at 4:40 pm #523964Hey!
Hmm, go ahead and update to the latest version, 3.3.2, first off. Your currently using 3.2.3.
It looks like the problem though is that your using the more tag. Remove the more tag from the post content and then change line 30 in the /enfold/includes/loop-index.php file from this.
$blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
To this.
$blog_content = "excerpt_read_more";
Now the custom excerpt you have written should display.
Cheers!
ElliottOctober 24, 2015 at 5:42 pm #524247Hi Elliott,
I will make the updates.
Anyway I doubt that it is due to the more tag as I tried to remove it from the post —> no change.I’d rather not change the php functions. It is suppose to work normally.
October 26, 2015 at 9:49 am #524751Let us know if Elliot’s advice worked for you or if you need further assistance.
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.