• tina_d

    (@tina_d)


    Hi,

    I will try to explain what I want to achieve as clearly as I can but please ask me questions to clarify if unsure.

    I am making a menu based on categories. But instead of displaying all posts that fall into that category into a long scrolling page (with full post showing), I would like to first display them as thumbnails (I guess it would work with the featured images uploaded) with the post title, in a sort of grid-like display. Users can then click on each one at a time and read more.
    So basically clicking on a category will go to a page (or something) that holds all posts in that category but in thumbnail format.

    Is there a way to do this in WP?

    Thanks.

Viewing 1 replies (of 1 total)
  • Michael

    (@alchymyth)

    Is there a way to do this in WP?

    this should be easy enough to do:

    – clicking on a category in the menu will lead to a category archive page; to have that show in the way you want, create either various custom category templates https://codex.www.ads-software.com/Category_Templates or modify category.php of your theme (in a child theme).

    – to get only posts with the ‘featured image’, use 'pre_get_posts' action https://codex.www.ads-software.com/Plugin_API/Action_Reference/pre_get_posts to filter the category archive posts; or use a default image for the posts without ‘featured image’.

    – output specific CSS classes with the posts, to make CSS formatting easier to arrange the posts images into a grid.

    details depend on your currently used theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Making a dynamic page that holds thumbnails of post?’ is closed to new replies.