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?
First 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