• 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://www.ads-software.com/plugins/wp-tiles/

Viewing 1 replies (of 1 total)
  • Thread Starter justawebbie

    (@justawebbie)

    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.