Title: how to get with shortcode
Last modified: August 24, 2016

---

# how to get with shortcode

 *  [justawebbie](https://wordpress.org/support/users/justawebbie/)
 * (@justawebbie)
 * [11 years ago](https://wordpress.org/support/topic/how-to-get-with-shortcode/)
 * I am on a page and I can not get the posts i want to pull how I want them.
    I
   used this shortcode: `[wp-tiles category=featured]` and i tried this `[wp-tiles
   category=featured]`. If I just use `[wp-tiles]` it will pull the posts.
 * Can I get the tiles to show the title on the post image first, then as they mouse
   over it brings up the title with the excerpt?
 * If possible the php query might work best for me but I can not find how to really
   go about making the wp tiles work that way and do all I need it to. I started
   this code but it made 2 wp tiles on my page:
 *     ```
       <?php $query = new WP_Query( array(
                          'category' => '77',
                           'pagination' => 'none'
                      ) ); ?>
   
       <?php the_wp_tiles( $query ); ?>
       ```
   
 * [https://wordpress.org/plugins/wp-tiles/](https://wordpress.org/plugins/wp-tiles/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [justawebbie](https://wordpress.org/support/users/justawebbie/)
 * (@justawebbie)
 * [11 years ago](https://wordpress.org/support/topic/how-to-get-with-shortcode/#post-6072985)
 * Finally got it working how I want it but still wonder if there is a way to make
   it show the title then on hover show the excerpt.
 * I used this code:
 *     ```
       <?php $query = new WP_Query(array(
                               'post_type' => 'post',
                                'category' => '77',
                                'posts_per_page' => 5,
                                'paged' => 1
                                ) );
                      // WP Tiles arguments
                       $args = array(
                                   'grids' => Featured
                                  );
                      // Display the tiles
                    the_wp_tiles( $query, $args );
               ?>
       ```
   
 * Anyone have some suggestions on how to make the title show then on hover show
   excerpt?

Viewing 1 replies (of 1 total)

The topic ‘how to get with shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-tiles_8f8e84.svg)
 * [WP Tiles](https://wordpress.org/plugins/wp-tiles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-tiles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-tiles/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-tiles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-tiles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-tiles/reviews/)

## Tags

 * [php code](https://wordpress.org/support/topic-tag/php-code/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 1 participant
 * Last reply from: [justawebbie](https://wordpress.org/support/users/justawebbie/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/how-to-get-with-shortcode/#post-6072985)
 * Status: not resolved