• Resolved Dmytro

    (@mfacom)


    Hello Christine,
    I split my posts into two categories: Portfolio and Blog. These categories are displayed in different pages (I have menu Portfolio and Blog). I like the masonry view in Portfolio, but I would like to display my blog posts as traditional view.
    I found a way to do it using a plugin, but I don’t want to use many plugin if I don’t have to.
    Could you please tell me whether it is possible to disable masonry view for my Blog in the template code?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Christine Rondeau

    (@crondeau)

    Thread Starter Dmytro

    (@mfacom)

    Hi Christine,
    Thank you for the reply.
    I tried the instruction in the link. Sorry, I didn’t see it before. Unfortunately, it doesn’t work for me. I think something was missed in the thread you referred to.
    I created a file category-blog.php which contains exactly the same information as content.php, but <?php post_class(); ?> is removed.
    It disables masonry view, but results in the following view
    While, I want to get this type of layout
    I created this traditional blog layout with the pluging ‘Ajax load more’. I could live with it, but it will not be a good solution when there are 100 posts and they all displayed on one page.
    I would appreciate your further assistance.

    Theme Author Christine Rondeau

    (@crondeau)

    your file category-blog.php should content the same as content.php, it should be the same as index.php

    The content.php is called in both the index.php and archive.php
    So you need to create a template to replace the category but also alter the loop (content.php)

    Thread Starter Dmytro

    (@mfacom)

    Thank you the support, Christine. I got it right this time.
    Everything works!

    Theme Author Christine Rondeau

    (@crondeau)

    Awesome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to disable masonry view’ is closed to new replies.