• Resolved mateusvitor

    (@mateusvitor)


    Hia, love the plugin!
    It would be amazing if i could set number of posts per page on the shortcode.
    I tried going through documentation, but found no info.
    In fact, there must be a couple of arguments/parameters that can go in the shortcode and would make my life muuuuch easier.
    But please, is it possible to define posts per page in shortcode.
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    thanks for your post,

    you don’t need to put any shortcode arguments, just generate shortcode by settings under post grid edit page.
    Please see there is an option under

    Query Post > Posts per page

    please see the screenshot

    View post on imgur.com

    please note the arguments you are looking for isn’t avilable right now.
    Regards

    Thread Starter mateusvitor

    (@mateusvitor)

    Thanks for replying.
    I already know that, but I’ve been replicating post grids for every slightly different situation in my website. I need to be able to show different amount of posts in different pages.

    In fact, for my whole website, if I could define these three: polylang language, woocommerce product category, and number of posts per page; I would use the same post-grid ID for every situation, and would make managing my website much, much easier.

    I saw this:
    https://support.themeblvd.com/forums/topic/using-query-parameter-in-post_grid-shortcode/

    where OP is using a query inside the shortcode. Is this supported by Post Grid?
    Edit: I just realized that forum is not about this plugin…

    • This reply was modified 6 years, 4 months ago by mateusvitor.
    Plugin Author PickPlugins

    (@pickplugins)

    Can you please confirm me which plugin are you using? is this our Post Grid? or another one?

    Thread Starter mateusvitor

    (@mateusvitor)

    yes, it’s this plugin. For now I just created post_grid objects for every situation I need, but for future reference, if there is a simpler way to do this? thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts per page in shortcode’ is closed to new replies.