• Resolved Flyss

    (@flyss)


    Hi,

    First of all, thanks for this amazing plugin. I’ve been searching for a very long time a tool like this one.

    I’m trying to get some tiles on a page with a grid i made, then i would like have another different grid on another page (or even on the same page).
    There must be something I’m missing because both grids look exactly the same despite the grid parameter is different.
    Here’s the shortcode:

    [wp-tiles post_type="post" id="16,151,142" grids="MyGrid" posts_per_page=3]
    [wp-tiles post_type="post" id="30,90,108" grids="TestGrid2" posts_per_page=3

    https://www.ads-software.com/plugins/wp-tiles/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @flyss,

    That is strange! The shortcodes look fine to me. Please make sure that the name of the grids is exactly the title of the grid post (so <b>not</b> the slug, but the actual literal title).

    Is the website this happens on online by any chance? Then I could have a look to figure out what is going on!

    Cheers,
    Mike

    Thread Starter Flyss

    (@flyss)

    The adress is : https://www.lesniouzes.fr
    Don’t pay attention to the content because it’s still under construction and i’m just testing everything ??

    I used the title of the grid in each shortcode, not the id. I also tried with the ID but the result was the same.
    I also noticed that the last grid that I created is always the one applied no matter what the value of”grids” parameter is.

    What MyGrid should look like:
    A A B
    A A C
    What TestGrid2 should lool like:
    A B
    C D

    Thread Starter Flyss

    (@flyss)

    I tested it with a different theme with a larger homepage and it actually worked fine.
    Looks like the width of the main page is not long enough to enable a different grid than my first grid…

    Is there a way to change the size of the tiles so that they could fit in the theme i’m using?

    Plugin Author Mike Martel

    (@mike_cowobo)

    Aha! ??

    The problem is that the breakpoint is set to 800px. So when the tiles are in a container that’s smaller than 800px, they change to the mobile grid. Because your theme is so narrow, the container is always smaller than 800px, so everything will default to the mobile theme. Set the breakpoint option to a lower value (lower than 640px!) or set breakpoint in the shortcodes.

    (Tip: If you set it to 0, it there will be no breakpoint at all)

    Cheers,
    Mike

    Thread Starter Flyss

    (@flyss)

    Thank you so much.
    Problem solved!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Having 2 different grids at the same time’ is closed to new replies.