WordPress.org

Ready to get started?Download WordPress

Forums

Single Latest Posts Lite
[resolved] Problem with Content and parameters (9 posts)

  1. Mihai03
    Member
    Posted 1 year ago #

    Hello.
    I have a problem with this plugin. I put 3 widgets with this plugin, all 3 same settings, only the categories are different. On home page, the first and the third plugin gives me the following error:

    Sorry, I could not find content matching your parameters.
    The second widget is corectly displayed.

    However, if I go to a different page, this error doesn't appear and the content is corectly displayed.
    What is the solution?

    http://wordpress.org/extend/plugins/single-latest-posts-lite/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Mihai03,

    Using multiple widgets shouldn't cause any problem, I'm wondering if those categories contain any posts?

    You say two out of three widgets doesn't work while on the homepage but if you go to any internal page, all three of them work as expected, is that right?

    It's strange, could you please double check if widgets displaying the alert are set using category slugs instead of category names? (slugs are lowercase and contain no empty spaces).

    Looking forward to your feedback.

    Cheers.

  3. Mihai03
    Member
    Posted 1 year ago #

    Yes those categories contain post. Also you are right, on homepage they aren't display, but if I go to another page like a category page, they show corectly.
    I verified the category names and category slugs and all it's ok.
    Here is the blog http://i-car.ro/

  4. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Wow this is a good one. I downloaded the same theme you are using in your site, tested three widgets with three different categories, displaying excerpts and full meta and they are working as expected in homepage and internal pages.

    Is your site using a special function/widget in homepage? What is your permalink structure? There must be something extra going on in homepage that is not included into internal pages.

    I know this will sound stupid, but could you please delete both widgets and set them again? Just in case.

    Looking forward to your feedback.

  5. Mihai03
    Member
    Posted 1 year ago #

    Yes, there are some modifications to home page.
    The permalink structure is this : /%postname%/
    Also, I use the plugin Advanced Category Excluder. With this one, only posts from a specific category appears in home page and not all of them( mid col).
    And I use for the slideshow under the menu the plugin: Recent Posts Slider.
    The first widget from the first col from left is made with this plugin: Cat + Tag Filter.
    I deleted the widgets and I put the first one back, but the problem remains.

  6. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, I've installed the Advanced Category Excluder and I found when excluding categories it affects Single Latest Posts, for instance if your category features is being excluded from the homepage then Single Latest Posts won't be able to display posts from that one.

    Are those widgets using any category being excluded from the homepage?

  7. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello again,

    Well I decided to read all Advanced Category Excluder code to understand how it works, a couple of cups of coffee later I found the solution.

    I've added a new parameter called suppress_filters, it allows you to suppress query filters (which are used by ACE to manipulate WP_Query) so it doesn't interfere with Single Latest Posts.

    In your widgets just set "Suppress Query Filters" > Yes and that's it. Please update to version 1.3, test it and let me know if it works as expected.

    Best regards.

  8. Mihai03
    Member
    Posted 1 year ago #

    Ok, it's working. Thank you and sorry for the inconvience.
    I have another question for you, but i'll open another topic.

  9. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your feedback.

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic