I moved a WordPress website to a different host and all post excerpts stopped working in the blog list.
When I make a new post they appear fine but doesn't show for the old posts.
I peaked into the source code and the theme uses,
<?php echo wp_kses_post(get_the_excerpt()); ?>
to display them.
What can I do?
I moved a WordPress website to a different host and all post excerpts stopped working in the blog list.
When I make a new post they appear fine but doesn't show for the old posts.
I peaked into the source code and the theme uses,
<?php echo wp_kses_post(get_the_excerpt()); ?>
to display them.
What can I do?
Share Improve this question asked Feb 28, 2019 at 13:58 nshunznshunz 1151 silver badge5 bronze badges1 Answer
Reset to default 0First of all, you can check your old post excerpt field empty or not. Second thing disabling all your plugins and then reactivate them. Third, you can use more tag on your post