Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACF field showing in posts and not tags #54

Closed
bradmsmith opened this issue Jul 14, 2016 · 3 comments
Closed

ACF field showing in posts and not tags #54

bradmsmith opened this issue Jul 14, 2016 · 3 comments

Comments

@bradmsmith
Copy link

bradmsmith commented Jul 14, 2016

Any idea why the acf field shows up in the REST API for posts but not tags?

I use ACF to add a "featured image" to each tag. Here is the ACF function from the multi-site network activated plugin that loads the definition:

acf_add_local_field_group(array (
    'key' => 'group_578497be9e603',
    'title' => 'Series Feature Image (Tag)',
    'fields' => array (
        array (
            'key' => 'field_578497dd46a45',
            'label' => 'Sermon Series Featured Image',
            'name' => 'series_image',
            'type' => 'image',
            'instructions' => '',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array (
                'width' => '',
                'class' => '',
                'id' => '',
            ),
            'return_format' => 'array',
            'preview_size' => 'thumbnail',
            'library' => 'all',
            'min_width' => '',
            'min_height' => '',
            'min_size' => '',
            'max_width' => '',
            'max_height' => '',
            'max_size' => '',
            'mime_types' => '',
        ),
    ),
    'location' => array (
        array (
            array (
                'param' => 'taxonomy',
                'operator' => '==',
                'value' => 'post_tag',
            ),
        ),
    ),
    'menu_order' => 0,
    'position' => 'normal',
    'style' => 'default',
    'label_placement' => 'top',
    'instruction_placement' => 'label',
    'hide_on_screen' => '',
    'active' => 1,
    'description' => '',
));
@airesvsg
Copy link
Owner

Hi @bradmsmith,
please, look this issue: #43

Thanks

@bradmsmith
Copy link
Author

Using the work-around in #43 until new version of plugin is available. Thank you.

@airesvsg
Copy link
Owner

@bradmsmith I want to release the new version in August.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants