Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Excerpts Showing Same for All Posts?

Discussion in 'Misc WordPress Requests' started by Carme Mias, Dec 2, 2017.

  1. Carme Mias

    Guest

    Reply To: Excerpts Showing Same for All Posts?, by Carme Mias

    Hello @kappapride,

    I’ve had a look at your page and the problem seems to only happen for some posts, not all of them. The posts with the wrong excerpt don’t necessarily the share the same category.

    And the excerpt shown by all of them seems to be that of the most recent post within that group of “problematic” posts.

    It is difficult to see excatly what the cause may be without looking at the code but it looks like the page may run more than one query and perhaps


    wp_reset_postdata();

    is missing from one of them.

    You can read more about it here: https://codex.wordpress.org/Class_Reference/WP_Query

    If the problem persists when the theme is changed, I would look if the issue is caused by a plugin.

    Reply To: Excerpts Showing Same for All Posts?
     
    #1

Share This Page

Web Hosting