• Resolved Jamie Richards

    (@jamorecords)


    I’m only showing 10 posts when I use the following suggested shortcode from this article (https://displayposts.com/2019/01/04/post-grid-styling/):

    [display-posts image_size=”thumbnail”?wrapper=”div” wrapper_class=”display-posts-listing grid” meta_key=”_thumbnail_id”]

    I also included the required CSS

    /* Grid style */
    .display-posts-listing.grid {
    display: grid;
    grid-gap: 16px;
    }

    .display-posts-listing.grid .title {
    display: block;
    }

    .display-posts-listing.grid img {
    display: block;
    max-width: 100%;
    height: auto;
    }

    @media (min-width: 600px) {
    .display-posts-listing.grid {
    grid-template-columns: repeat( 2, 1fr );
    }
    }

    @media (min-width: 1024px) {
    .display-posts-listing.grid {
    grid-template-columns: repeat( 3, 1fr );
    }
    }

    All it shows is the title and the last 10 posts I’ve made.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Only showing 10 posts using multiple shortcode combiatino’ is closed to new replies.