• Resolved ginnywills

    (@ginnywills)


    I love the grid view!! Unfortunately, when I use the new upgraded plugin, not all of my products show. I have 104 products in a category but only 60 are showing. Some other pages so all 100+ products in a category, but I just added one more and it does not show on the front end (until I disable the plugin)

    I’m using the Divi theme

    HELP??

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter ginnywills

    (@ginnywills)

    Hi – sorry, but I don’t understand any of that query/taxonomy stuff? Are you saying its just not going to work for me or that you are aware of the problem and you are going to fix it?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Are you saying its just not going to work for me or that you are aware of the problem and you are going to fix it?

    the problem is that there is a bug in WordPress which until it gets patched this problem will persists.

    To get around this issue, I have added an extra functionality to allow you to display your page, but that requires you to put some code in your functions.php file.

    If you are not sure what to do, try putting the following code in your functions.php file,

    add_filter('reorderpwc_filter_multiple_post_type', 'filter_my_ranked_post_type', 10, 4);
    function filter_my_ranked_post_type($type, $post_types, $taxonomy, $wp_query){
      /* String $type post type to filter.
      *  String $post_types post types associated with taxonomy.
      *  String $taxonomy being queried.
      *  WP_Query $wp_query query object. */
      if( in_array( $taxonomy, array('product_cat', 'product_tag') ) && in_array('product',$post_types) ) $type = 'product';
      return $type;
    }
    • This reply was modified 4 years, 6 months ago by Aurovrata Venet.
    • This reply was modified 4 years, 6 months ago by Aurovrata Venet.
    • This reply was modified 4 years, 6 months ago by Aurovrata Venet. Reason: corrected code, added link
    Thread Starter ginnywills

    (@ginnywills)

    I have updated all my plugins, software and theme and now your sorting plugin is working. I did not put the code you suggest into the functions.php file but I can do so if you recommend it. Let me know.

    Thanks again for your persistence in fixing this problem.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    great, glad it works. No need for the etra code in your functions.php

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Love it but its not showing everything’ is closed to new replies.