I am looking at a custom taxonomy endpoint and there are custom post types for this taxonomy but they don’t show in the endpoint. Is there something I need to add to this endpoint or something to the registering of the custom post type/taxonomy?
I have three different Custom Post Types:
I am implementing the REST API with fetch() promises as requests on a Password protected page with a custom table without using a plugin (only using the WP REST API that has been merged into WordPress core – thumbs up 👍 WordPress team, that was a smart move, thank you).
I have a block that references a custom post type named faq that has a taxonomy named faq_group. This block has one attribute and makes multiple getEntityRecords
calls. One of the calls has an argument that depends on the previous one:
I would like to code a plugin that injects the custom content to any type of post (post, page, product, any others) but I would like to allow the users to let them select the place of content too. Such as; before/after the title, before/after the content, before/after the comment section, and all other possibilities (e.g. the_content_more_link
filter etc).
I’m trying to autofill a custom field only when the post is created and not when it is updated.
I’m using a pair of ACF date fields to create a query on a custom post type (event). I have a “Past Events” feed which is ignoring my usual technique for creating the following behaviour:
Hi there and thanks in advance for any help. I am trying to display custom taxonomies(Themes and Guests)on the current post (of custom post type, Podcasts). I have tried the code below, but I am getting an empty result ie. nothing is showing. I added $post->ID after I realised that the code was working fine, but was displaying ALL categories, not just the ones for the current post.
I created a custom post type (“Organization”), and I’ve also created a custom user role (“Representative”). Also, I’ve ensured that the Representative role has read/edit/create/publish post capabilities.