Site logo

[Support request] masonry grid

Home Forums Support [Support request] masonry grid

Home Forums Support masonry grid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1597407
    Nikolaj

    is it possible to do the masonry grid setup (as used on the frontpage) on an individual page ex. a news page?

    #1597487
    Elvin
    Staff
    Customer Support

    Hi,

    To clarify: Did you mean, you want to have a post list w/ masonry grid setup on a static news page?

    If so, you’ll need something like WP Show Posts plugin to display these news “posts” and display it in masonry mode.
    https://wpshowposts.com/

    #1597495
    Nikolaj

    I do loops with custom content shortcode and need to tag up content just like the masonry grid ex.

    [loop category=”news”]
    here I want to tag up content as masonry

    headline
    content

    [/loop]

    #1597572
    Elvin
    Staff
    Customer Support

    I do loops with custom content shortcode and need to tag up content just like the masonry grid ex.

    You’ll have write your shortcode to enqueue script/s for masonry library (usually jquery-masonry) and add the classes + inline scripts used for masonry to this custom shortcode’s printed markup for it to work.

    This is pretty tricky to do and is most likely time consuming.

    You may be better of using a plugin that already does all of this (WP Show Posts) and set the query to display only posts from the “news” category.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.