Support » Plugin: ACF-VC Integrator » Templera

  • Hi, can you add support to Templera?

    This is what I did:
    1) created field group which is visible only on certain category
    2) created a new Templera element adding the fields created at point 1 (VC see them)
    3) created a post with the Templera element created at point 2

    Actually on post your plugin retrieves values from Templera element and not from current post/page where it’s added.

    Is it possible?

Viewing 1 replies (of 1 total)
  • Thread Starter stefanomaxis

    (@stefanomaxis)

    Now it works.

    I’ve added:
    function get_current_post() {
    global $wp_query;
    return $wp_query->post;//get_the_ID();
    }

    and changed your code in :
    get_field_object($field_key, get_current_post()->ID);

    Do you see any problem? If it’s ok, can update the plugin?

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Templera’ is closed to new replies.