• Resolved enMovimiento

    (@enmovimiento)


    WordPress version: 3.9.1
    Plugin version: 1.7.1
    Link to my site: http://www.enmovimiento.com.ve

    I expected the plugin to do this: I really need this plugin to arrange by categories some products with thumbnails and titles. Also a flotating box or window to show the description. I really want to buy the PRO version. But I have a problem with the Free version.

    Instead it did this: Everytime that the plugin is activated it works. But for some reason the max number of posts to show in the Home Page or Category Pages change to “1”. And if the plugin is activated I try to change that number but when I save the options, number “1” shows again.

    Here’s what I’ve tried so far: When I desactivate the plugin the problem is resolved.

    https://wordpress.org/plugins/wp-catalogue/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter enMovimiento

    (@enmovimiento)

    I realize that the number of Products per page configurated in the WP Catalogue Settings, for some reason my Theme (Brezponsive by ThemePacific) use that value to show that same quantity of posts in my Home Page. What can I do? I really want to buy the Pro version

    Thread Starter enMovimiento

    (@enmovimiento)

    Hello again.. The conflict between the WP Catalogue and my Theme was that the number of “posts per page” configurated in my theme options was linked with the “products per page” in the plugin. The conflict persist, but I got a solution, I put in my theme functions.php the code below and now I change the number of “posts per page” manually in that code.

    <?php
    add_action( 'pre_get_posts',  'change_posts_number_home_page'  );
    function change_posts_number_home_page( $query ) {
    
        if ( is_home() )
            $query->set( 'posts_per_page', 12 );
    
        return $query;
    }
    ?>

    Now to change the “products per page” I do it with the WP Catalogue options. And to change the number of “posts per page” I do it with the code above.

    Hi enMovimiento,

    Thanks a lot for your solution. It’s exactly what I need and its works very well.

    Thanks again.

    Regards,

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

The topic ‘The plugin changes the max number of posts’ is closed to new replies.