the answer for all question about Oxygen Builder plugin and WordPress

Hello,

Hello,
it might be a general wordpress question but still. How do I get the post ID of the post inside of the repeater so I can handle it as a variable? If I try this:
<?php
$examplePost = get_post();

echo $examplePost->ID; // Display the post’s ID
?>
it returns post ID of a page which contains a repeater, not the ID of a post inside the repeater. I need this to be able to get custom fields’ values of Meta Box custom fields. Provide their helper functions with correct post IDs. Now they get post ID of the page.
please help
thanks



Source

1 Comment
  1. Rich Deane says

    In a code block try

    ID;

Leave A Reply

Your email address will not be published.

Oxyrealm Docs