Git Product home page Git Product logo

Comments (13)

quantumhype avatar quantumhype commented on September 24, 2024

In order to get the ACF fields I'm currently using: http://site.dev/wp-json/acf/post/27, where 27 is the post ID.

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

Hi @fabioquarantini,

Try to access that url format:
http://website.com/wp-json/wp/v2/locals/

In my last commit, I have added support for custom post type: 97f1646

Thanks.

Cheers

from acf-to-wp-rest-api.

fabioquarantini avatar fabioquarantini commented on September 24, 2024

Sorry i made a typo in my url.
GET http://website.com/wp-json/wp/v2/locals/id
Thanks

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

πŸ˜„ πŸ‘

from acf-to-wp-rest-api.

fabioquarantini avatar fabioquarantini commented on September 24, 2024

I mean, i made a typo in this issue not in my application, my url is this:
http://website.com/wp-json/wp/v2/locals/id
but "acf" is not showing.
I'm running the last update of your plugin and WP REST API

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

locals is a public custom post type?

from acf-to-wp-rest-api.

fabioquarantini avatar fabioquarantini commented on September 24, 2024

Yes

'public'                => true,
'has_archive'           => true,
'exclude_from_search'   => false,
'publicly_queryable'    => true,

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

can you send your project for me?
[email protected]

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

Hi @fabioquarantini,

try the steps below:
1- Access the permalinks settings ( Settings > Permalinks );
2- Click the Save Changes button.

from acf-to-wp-rest-api.

fabioquarantini avatar fabioquarantini commented on September 24, 2024

The permalink doesn’t resolve the problem. I sent you the data.
Thanks

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

Hi @fabioquarantini,
I updated the plugin in your admin and the magic happened.
I sent screens for your e-mail with the responses.

from acf-to-wp-rest-api.

fabioquarantini avatar fabioquarantini commented on September 24, 2024

Thanks πŸ‘

from acf-to-wp-rest-api.

airesvsg avatar airesvsg commented on September 24, 2024

πŸ‘

from acf-to-wp-rest-api.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.