Posts Grid

The code have structured as follows

[ct_post_grid layout="" condition="" count="" order="" cats="" tags="" featured="" ids="" speed=""]

  1. layout–  – select – choose one of 3 predefined layouts or  possible enter values 1 | 2 | 3. Please check here to view all Posts Grid Layouts
  2. count– number – number of items to query
  3. condition– select – condition to query items
    • latest – order by published date
    • view – order by most viewed posts
    • like – order by most liked posts
    • comment – order by most commented posts
    • title – order by title alphabetically
    • input – order by input IDs (only available when using ids parameter)
    • random – order randomly
    • tags – sort by provided tags
  4. order– select
    • ASC – Ascending
    • DESC – Descending
  5. cats– mix – list of categories (ID) to query items from, separated by a comma. For example: 1, 2, 3
  6. tags– mix – list of tags to query items from, separated by a comma. For example: tag-1, tag-2, tag-3
  7. featured– 1/0 – choose yes (1) to only query featured posts
  8. ids– mix – list of post IDs to query, separated by a comma. If this value is not empty, cats, tags and featured are omitted
  9. visible– number – Number of items per page. If items_per_page is smaller than count value, the pagination buttons/arrows will appear
  10. speed– number (milliseconds) – speed of animation effect in milliseconds. Leave empty or 0 if autoplay is disabled (Slider only activated when Post Grid change to Slider on Mobile)

grid

Articles