Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @lewispm ,

    I had to wait a few days between each test, so it took quite a while to get back to you.

    Since a week now, I haven’t had the problem anymore; I think I’ve found the cause (in my configuration).

    I disabled all the Yoast SEO plugin options in > Crawl Optimization > Disable unwanted content formats.

    Some of these “options” are potentially present in other plugins, like Asset CleanUp.

    I hope this answer help you.

    I prefer this solution to excluding pages from my cache because I use the Filter&Grids grid on many pages, including the homepage.

    Hi @isabeljev ,

    I had to wait a few days between each test, so it took quite a while to get back to you.

    Since a week now, I haven’t had the problem anymore; I think I’ve found the cause (in my configuration).

    I disabled all the Yoast SEO plugin options in > Crawl Optimization > Disable unwanted content formats.

    Some of these “options” are potentially present in other plugins, like Asset CleanUp.

    I hope this answer help you.


    Hi @isabeljev ,

    Is your problem solved?

    Because I have the exact same issue,

    I use too LiteSpeed ​​Cache, and like you, after few days posts in the grids stop displaying, and I have to clear the cache manually. The problem returns after a few days.

    Thanks 🙂


    Hello lewispm,

    Is your problem solved?

    Because I have the exact same issue, and I see in the forum that others are experiencing it.

    A possible solution seems to be suggested here: https://ww.wp.xz.cn/support/topic/need-to-exclude-results-module-from-cache/

    Personally, I use LiteSpeed ​​Cache, and like you, after a while, posts in the grids stop displaying, and I have to clear the cache manually. The problem returns after a few days.

    Thread Starter Antoine ecodev

    (@ecodev)

    Thank you for your response.

    I understand, but the hassle of creating separate taxonomies and associating them with post types will multiply my taxonomy count by 12 (because I have taxonomies common to my 12 custom post types). Therefore, if I ever need to modify (or add or delete) one of the terms in the “country” taxonomy, I’ll have to do it for all 12 “country” taxonomies. I would have thought there was a more dynamic solution.

    Note that in the filter-layout4.php file, if I replace :
    “$is_disabled = ( $object_term->count === 0 ) ? ‘isDisabled’ : ”;”
    By

    $post_types_target = [‘collectives’]; // Ajoute d’autres CPT si nécessaire

    $has_posts = false;

    foreach ( $post_types_target as $post_type ) {
    $args = [
    ‘post_type’ => $post_type,
    ‘posts_per_page’ => 1,
    ‘post_status’ => ‘publish’,
    ‘tax_query’ => [
    [
    ‘taxonomy’ => $object_term->taxonomy,
    ‘field’ => ‘term_id’,
    ‘terms’ => $object_term->term_id
    ]
    ]
    ];
    $query = new WP_Query($args);
    if ( $query->have_posts() ) {
    $has_posts = true;
    break;
    }

    }

    $is_disabled = $has_posts ? ” : ‘isDisabled’;

    So this works correctly, but only for my “collective” custom post type; it doesn’t dynamically handle all the post types affected by the taxonomy.

    If you tell me that there is really no other solution than multiplying the taxonomies by the number of custom publications, I will do it, but I will lose the advantage of common taxonomies.

    Thread Starter Antoine ecodev

    (@ecodev)

    In summary, the class “$is_disabled” (present in the code “$is_disabled = ( $object_term->count === 0 ) ? ‘isDisabled’ : ”;”) does not take into account the publication type of the grid, whereas it should.

    Thread Starter Antoine ecodev

    (@ecodev)

    Hello 🙂
    Yes, that’s exactly right. Terms that aren’t associated with posts aren’t clickable unless they’re used in another post type. In that case, even if the grid is displayed for a specific post type (let’s say post type “A”), the terms will be highlighted in the grid because they’re used in post type “B.”

    In short, I have two grids.

    • The first grid displays posts related to post type “A.”
    • The second grid displays posts related to post type “B.”
    • Both post types use the same “Country” taxonomy.
    • For post type “B,” I have a post with the term “France” in the “Country” taxonomy.
    • So, “France” is highlighted in the “Country” filter for post type “B,” which is fine.
    • But “France” is also highlighted in the “Country” filter for the grid of publication type “A” while no publication (of publication type “A”) is associated with this term, the problem is here.

    Hello, I would like to say that I notice exactly the same thing, I have reported numerous tickets, and I am obliged to correct the bugs myself and make improvements so that it works well.

    However, there is so much personalized code to maintain with each update, which represents additional work for each website that I have installed and which uses your plugin and the complementary WP Event Manager plugins.

    I also see a degradation due to the latest update.

    I too have received feedback that corrections or improvements will see the light of day, but I haven’t seen any of that.

    Thank you for considering support.

    Your plugin is very interesting, I am sure that by taking into account the feedback from your users and making the requested corrections and improvements, this would give an even more interesting and attractive result.

    Sincerely.

    Same problem, so I can’t use this plugin for the moment.

Viewing 9 replies - 1 through 9 (of 9 total)