• Resolved Abu Maryam

    (@abu-maryam)


    Hello,

    In the content of the Post Grid and Post Masonry there is a set of options that can be enabled or disabled. For example “Show Author”, “Show Date”, “Show Comment” and “Show Excerpt”.
    I really love this feature!!!
    Thank you so much!

    Is there a way to also add “Show Title” as an option that can be enabled/disabled in the content of the Post Grid and Post Masonry.

    It would also be great if the Posts list can have an option with “Offset” so the list can start for example with post number 2 (instead of the first post).

    Let me thank you again for your effort!!!

    Abu Maryam

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey @abu-maryam ,

    Thank you for reaching us out.

    You can achieve both by adding small changes as stated below –

    First of all, you need to add a class from here – https://cl.ly/7d051f308372

    1) Hide Title
    – You can add below code into your Custom CSS section and this will hide your Title
    .my-class .uagb-post__title {display:none;}

    2) Also, you can set offset to your Post Grid add adding the below filter to your functions.php file.

    add_filter( 'uagb_post_query_args_grid', function( $args ) {
    	$args['offset'] = 1;
    	return $args;
    });

    I hope this resolves your query.

    Regards,
    Vrunda Kansara

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Here you need to change the filter from uagb_post_query_args_grid to uagb_post_query_args_masonry for Post Masonry.

    Regards,
    Vrunda Kansara

    Thread Starter Abu Maryam

    (@abu-maryam)

    Hi Vrunda,

    The solution to disable the Post title using a custom CSS class (display: none) is working fine. This CSS class can be added (when needed) to the Post Grid and the Post Masonry. It works like an option to enable or disable the post title.

    However, the solution that you offered for the offset in the functions.php is working but not as I prefered. When using your provided code to offset the post number, then all blocks for Post Grid and Post Masonry will have the offset as a default.

    What I was looking for, is an option to use the offset when needed. I understand that this requires quite some time to code it correctly.

    Thanks for your effort!

    Regards,
    Abu Maryam

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey,

    Thank you for letting us know. I will ask my team to look into it. By next release, they will get a solution for this.

    Regards,
    Vrunda Kansara

    Yes, it would be great to have both of these options in the next update! Came here to find out if I was able to offset the posts in the grid, hope the feature can be added soon. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable post title and offset option in Post Grid and Post Masonry’ is closed to new replies.