• Hi all,

    I’m having issues trying to display some PHP content in my WpBakery Post grid.

    I’m using XYZ php code snippets and Advanced Custom Fields plugin.

    i would like my post grid to display the members name (this is test, to see if i can get this to work)

    this is the code (in my snippet)

    <?php
    $post_id = get_the_ID();
    ?>
    <?php the_field('members_name', $post_id); ?>'s

    but this seems to retrieve the Page ID that the post grid is on, not the Post ID i require to obtain the data i want to display

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get post ID within WpBakery Post Grid’ is closed to new replies.