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

Not working with ACF Pro #180

Closed
adamjw3 opened this issue Sep 29, 2017 · 1 comment
Closed

Not working with ACF Pro #180

adamjw3 opened this issue Sep 29, 2017 · 1 comment

Comments

@adamjw3
Copy link

adamjw3 commented Sep 29, 2017

I'm using ACF Pro with WordPress 4.8.1 running My Timber Starter Theme.

I've used your plugin on sites using the standard ACF but the pro version returns

[{"id":2381,"acf":[]},{"id":2377,"acf":[]},{"id":2375,"acf":[]},{"id":1637,"acf":[]},{"id":1635,"acf":[]},{"id":1628,"acf":[]},{"id":909,"acf":[]}]

when doing the following call

http://localhost:8888/wp-json/acf/v3/article

What am i missing?

I've registered my custom post types in functions.php

function register_post_types() {

  $args3 = array(
    'public'       => true,
    'show_in_rest' => true,
    'label'        => 'article'
  );

  register_post_type( 'article', $args3 );

  $args = array(
    'public'       => true,
    'show_in_rest' => true,
    'label'        => 'ebook'
  );

  register_post_type( 'ebook', $args );

  $args2 = array(
    'public'       => true,
    'show_in_rest' => true,
    'label'        => 'quickviews'
  );

  register_post_type( 'quickviews', $args2 );
  
}
@airesvsg
Copy link
Owner

airesvsg commented Oct 4, 2017

Hello @adamjw3,
please follow the issue: #176
Thanks

@airesvsg airesvsg closed this as completed Oct 4, 2017
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