• So, I just installed the v2 API on a dev site and none of my v1 code is working. I have changed the base, but I’m working with Custom Post Types and Taxonomies associated with those CPTs.

    I can’t seem to access my taxonomies and the v2 docs seem to be mostly empty.

    How can I get a list of all custom taxonomies?

    https://wordpress.org/plugins/rest-api/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rachel Baker

    (@rachelbaker)

    Dave,

    For v2, you can get a list of all taxonomies via /wp-json/wp/v2/taxonomies. All the registered routes are shown in the index at /wp-json/

    Posts
    Pages
    Media
    Post Types
    Post Statuses
    Comments
    Taxonomies
    Terms
    Users

    so… if this is all we get? how to i manage my widgets/sidebars? Am I relegated to kick it old school with a hardcoded sidebar.php ?

    Are we able to use v2 in production for simple sites? Or, recommend v1?

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

The topic ‘v1 API to v2 API’ is closed to new replies.