Support » Plugin: WP API Categories+Tags » Additional functionality for custom taxonomies and post types

  • Resolved Andrew MAGIK

    (@magikru)


    Firstly I want to thank you, for this great plugin, you made.

    Can you add some additional functionality for you plugin? Would be great if custom post types and custom taxonomies would have the same functionality.
    For example in taxonomies I have not only default “category” and “post_tag”, but some additional “clients” and “technologies”. And this taxonomies are attached not only for standard post type = “post”, but for custom post type = “portfolio”.

    So I want to have in my “wp-json/wp/v2/portfolio/” something like that:

    e_clients: [
    	{
    		term_id: 3,
    		name: "Adobe",
    		slug: "adobe",
    		...
    	},
    	{
    		term_id: 5,
    		name: "Microsoft",
    		slug: "microsoft",
    		...
    	}
    ],
    e_technologies: [
    	{
    		term_id: 2,
    		name: "Css",
    		slug: "css",
    		...
    	},
    	{
    		term_id: 6,
    		name: "Scss",
    		slug: "scss",
    		...
    	}
    ]

    Thanks in advice!

    https://wordpress.org/plugins/wp-api-categoriestags/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Additional functionality for custom taxonomies and post types’ is closed to new replies.