WP Tiles
[closed] using tiles for search results (2 posts)

  1. maciejkurowski
    Posted 3 years ago #

    Hi all
    I use tiles for a coulinary blog http://serwer1317095.home.pl/autoinstalator/wordpress/ (its proof of concept)

    main page & categories are working fine.

    how can I use tiles to display search results, that is pass to tiles a concrete query on posts to be made ?

    I tried to plug in

    <?php if ( function_exists ( 'the_wp_tiles' ) ) the_wp_tiles(); ?>

    into searchresults.php to make tiles iterate over post collection via the_post() but I failed.


  2. maciejkurowski
    Posted 3 years ago #

    Hi, I'm trying to do the tweak myself

    will try to add an attribute into $atts in order to control how the collection of posts is built.

    Than, inside of show_tiles(), depending on the attribute will use get_posts() or do a loop: while ( have_posts() ) : the_post();

    Anyone has a clue if that correct approach?

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.