• Resolved istalvies

    (@istalvies)


    Hi,

    Hope you can help!

    I am using the current “stable” version of WP Tiles and trying to link to pages rather than posts. but doesn’t work for my site.

    The URL is here:
    https://www.stalvies.net/news/portfolio/web-creation/

    Here’s the code I am using for comparison …
    [wp-tiles posts_query=”post_type=page&numberposts=4&include=722,569,590,658″]
    – this doesn’t give any output at all (note I tried a few variants like id, ids etc but nothing works …)

    [wp-tiles posts_query=”post_type=page&numberposts=4″]
    – this returns pages, but the top level

    [wp-tiles posts_query=”numberposts=4&include=526,469,385,530″]
    – this seems to work ok?

    Hope you can help! :o)

    Cheers,

    Ian.

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

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

    (@mike_cowobo)

    Hi Ian,

    Sorry for the late reply. I think I have figured out why your pages aren’t showing up properly. In the old version of WP Tiles, the query defaults to post_parent=0, which forces only top-level pages to return. Can you try setting it to false?

    Also, WordPress overwrites numberposts when post ids are passed manually, so you can leave it out. Try the following:

    [wp-tiles posts_query="post_type=page&include=722,569,590,658&post_parent=false"]

    Let me know if that worked out!

    Cheers,
    Mike

Viewing 1 replies (of 1 total)
  • The topic ‘Can't create grid linking to pages’ is closed to new replies.