Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hey there.
    No that’s not possible, i’d suggest using a custom field and then accessing that data that way in your repeater.

    Thread Starter Delpierooo

    (@delpierooo)

    Hi,

    thanks for the answer. What about getting the page ID where the current repeater is used? That way we can use the custom field on pages(not posts).

    Is there a way to read it inside the repeater?

    Plugin Author Darren Cooney

    (@dcooney)

    You can get the post id within a repeater like this;

    global $post;
    $id = $post->ID;

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add own parameter’ is closed to new replies.