Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    Theres no shortcode available within the plugin itself.. (there are reasons for that)

    But there’s another way you can add it to template files..
    You can add this peace of code and it should add the drop down.

    if ( function_exists( 'Woocommerce_Products_Per_Page' ) ) {
        Woocommerce_Products_Per_Page()->frond_end->products_per_page_dropdown();
    }

    (untested, be sure to be able to remove it when needed)

    That should do the trick 🙂

    Cheers,
    Jeroen

    Hi,

    This snippet is not working. It throws an error:
    Call to a member function products_per_page_dropdown() on a non-object in …

    Cheers,
    Lyn

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Lyn,

    Not sure why/when thats happening, but make sure the code is only executed on the front end of the site, only then its available..

    Cheers,
    Jeroen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PPP as shortocde would be great’ is closed to new replies.