Query for multiple post types does not work
I’d like my frontpage to display a list of my lastest blog posts merged with my latest “Products” custom post type posts. From … Read more
I’d like my frontpage to display a list of my lastest blog posts merged with my latest “Products” custom post type posts. From … Read more
I have a custom post type, for examle, products. They can be multilevel, like pages, f.e., Products (custom post type) Books |- LOTR … Read more
I’m trying to pull a custom post type name/title out for use in the breadcrumb of a single-[cpt].php template file. In the archive-[cpt].php … Read more
How can I remove custom post type slug from my base url ? for eg : mywebsiteurl.com/custom-post-slug/postname I would like to make it … Read more
Is there a function that will return the permalink to a custom post types archives that is available to use in WordPress? Something … Read more
I really need your help with a feature I have never worked with so far. I have a custom-post-type named wr_event. And I … Read more
I just discovered a new meta field on the newly created custom post type page. The meta name is slug, and it’s under … Read more
In my plugin, I’m creating a custom post type that has an archive and uses the rewrite parameter to choose a slug: $args … Read more
I’m basically using this bit of code in my functions.php to order my custom post types by title in ascending order. function set_custom_post_types_admin_order($wp_query) … Read more
I have a CTP named leads and have 2 metaboxes added to the CPT new/edit screen. I need to have one of them … Read more