WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. maciejkurowski
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/wp-tiles/

  2. maciejkurowski
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.