WP Tiles
[resolved] Beta 1.0 How to link to file in template? (3 posts)

  1. iadagraca
    Posted 2 years ago #

    I tried

    <?php the_wp_tiles(array(
    	'post_type' => 'artwork', //You can insert any category name
    	'link' => 'file'

    Am i missing something? I'd like to know how to customize settings for certain tile set-ups


  2. Mike Martel
    Plugin Author

    Posted 1 year ago #

    Hi @iadagraca,

    The documentation for the template tags in 1.0 is still pending, but this is the syntax:

    the_wp_tiles( $query, $options )

    So, you put your query in the first array (it takes exactly the same arguments as WP_Query) and the settings for WP Tiles in the second. Have a look at the $default array in WPTiles\Options here for an overview of all options accepted by the template tag.

    Let me know if it works out!


  3. iadagraca
    Posted 1 year ago #

    i see, will try this then.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.