• Resolved richardu

    (@richardu)


    Are there plans to allow me to customize the post grid with my own html layout? I need to include ACF etc.

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

    (@brainstormteam)

    Hello @richardu ,

    Unfortunately as of now, there is no such plan yet. But I would love to take this as a suggestion. I will surely convey your feedback to our concerned developers. We are always keen to listen to our customers and to receive their feedback. This is the best way to improve our products and services and maintain our client’s satisfaction. ???

    I’ll put forward your thought about this to our team and if feasible we will try to improve the scenario in our future updates.

    For now, you can used our filter/action hooks to customize the HTML of the Post Grid.

    Like this –

    
    //This filter will help you to display custom field value in the Post Grid block
    function single_post_meta_before( $post_id, $attributes ) {
    
    //get_field('custom_field_name',Post_ID); to get the value of ACF custom field
    $value1 = get_field( 'custom_date', $post_id );
    $value2 = get_field( 'custom_time',$post_id );
    echo $value1.'<br>';
    echo $value2;
    
    }
    add_action( 'uagb_single_post_before_meta_grid', 'single_post_meta_before', 10, 2 );

    I hope that helps.

    Regards,
    Sweta

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @richardu ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Grid Custom Layout’ is closed to new replies.