Okay
  Public Ticket #601920
Bug - Latest Posts tab
Closed

Comments

  • Eduardo Weidman Barijan started the conversation

    Hello, we are using the home tabs feature and our last tab is a Latest Posts type (the Ăšltimas tab). Unfortunately there seems to be a bug in how the posts are fetched. The limit is set to 5 and yet the theme is loading a LOT of posts instead of only those 5 we set.

    The category option is working fine.

    The bug is also present in the vertical slider

  •  93
    djwd replied

    Hi there,

    as far as I can see Sliders are working fine to me, showing 2 posts each. Isn\'t that correct?

    There is definitely something going on with the Home Tabs instead, although that seems to be specific to your usage since it\'s the first report I get about this. Kindly check your settings carefully and disable all plugins as first troubleshooting.

    Regards
    djwd

  • Eduardo Weidman Barijan replied

    EDIT: We found the problem. When migrating from Joomla, the articles that were marked as Featured was inserted in WP database as sticky. And there were a ton of them! I went to database and updated the wp_options table in the sticky_posts row and removed everything there and it worked as it should.

    So there is a problem with how those sticky_posts are playing with the query setuped for the sliders, but we don\'t know what the problem is in that case.

    -----------------

    Yeah the sliders are working indeed.

    We will disable plugins and report our results to further troubleshoot the issue. We have this problem in the home tab and the vertical slider (that we are not using at the moment because the issue in fetching the posts).

    How are the posts fetched though? This particular installation of wordpress is a result of a migration from Joomla, so it can be related to how posts were migrated.