Custom Post Types extend the WordPress back-end to support additional, non-Post content.

learn more… | top users | synonyms (1)

0
votes
0answers
2 views

Get the link of the first post of a custom taxonomy in a custom taxonomy list

Currently, I'm doing this using a custom field, but I would love for this to be automatic. Basically, I have a page that will list all the entries of a custom taxonomy, but I want the links of the ...
1
vote
1answer
868 views

WordPress import not importing custom taxonomy

I've posted this already in the WP Support Forum hoping to have more luck here. I'm trying to import a custom post type from one blog to another. (126 posts in the custom post type). I've exported ...
0
votes
0answers
8 views

How to string lines from the_content() hook in WordPress?

Inside my content-video.php template, I have the following codes: <iframe src="<?php echo get_the_content(); ?>" width="960" height="540" frameborder="0" allowfullscreen="allowfullscreen">...
-3
votes
1answer
10 views

ACF select box css color change

i have a trouble with Advanced custom post i try to add select box "K dispozicii is "free" and "Obsazeno" is "occupied" and i need to change colors green for free, red for occupied here is the code ...
0
votes
0answers
7 views

Custom single post pages not using single-template even after flushing permalinks

I have moved my site from a local server to production however my theCommunity custom post types are not using single-theCommunity.php template. I have also tried flushing permalinks as recommended in ...
0
votes
0answers
17 views

Displaying Wordpress Parent field in child post

I want to display the title from a parent field within a single child post (these are custom posts created with wp-types). At the moment, all I seem to get is the title of the current post, and not ...
0
votes
1answer
505 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
6
votes
17answers
425 views

The Great Plugin Nomenclature Contest of 2011

It's been a while since I've done a bounty challenge, so here's another. Same basic rules: 1 answer per person, most creative/useful/helpful/entertaining answer wins. This time around, the award will ...
0
votes
1answer
968 views

save_post custom post type ? $_POST not working?

i have this code. <?php add_action('add_meta_boxes', 'ct_meta_add'); add_action('save_post','ct_meta_save'); add_action('save_post','ct_parent'); // add meta functions function ct_meta_add() { ...
0
votes
2answers
2k views

Pods CMS: How to add custom column to Adnvanced Content Type

I'm using Pods plugin (ver 2.2) to create some 'Pods' or Advanced Content Types, as they would refer to it, which are like custom post types but are actually separate from WP, blank slate, in their ...
0
votes
1answer
14 views

Custom post type in Custom widget - $listItem

Hi i have a slight problem when making a custom post type widget. the problem is that when i add a custom field in the code the part that shows the custom field information get's on top of the output ...
0
votes
1answer
13 views

ACF in wordpress

Hi i have a slight problem when making a custom post type widget. The problem is that when i want to get the field i want to use in a inline style it doesn't work. This is my code: class ...
0
votes
0answers
23 views

Custom post type taxonomoy template is not showing more than two post

I am trying to make a page on a custom post type(new_arrivals) taxonomies (sieraden, trouwringen, horloges) template. I have made the template taxonomy-new_arrivalstype.php like this. Inside I add the ...
1
vote
1answer
1k views

Displaying custom-taxonomy-terms sorted by parent/child-hierarchy?

I have a custom post type with a custom taxonomy (to show some "best practice" examples on my website). On the single-post-page (single-bestpractice.php) I wanted to show all the terms (categories) ...
-5
votes
0answers
40 views

IE 11 & Edge Adding Empty Paragraphs in Editor [on hold]

UPDATE: I've bandaged this by using the following jQuery to remove paragraph tags with   inside of it, however, I am still searching as to why in the editor additional line entries are being ...
0
votes
0answers
23 views

When will they make it possible to exclude post types from an wp_query?

Very simple, when I am setting up the arguments for an wp query, I can't exclude post types. While it is possible to include them, I would love to see an excluding possibility. Is there any ...
0
votes
0answers
15 views

How to display wp_post by custom field value?

How to display post seaching by custom field value. Is that possible to reach custom post using custom field value from URL directly?
0
votes
1answer
15 views

Query events post type after current date and timezone

So I am making changes to a clients website and currently they have an events post type with some custom fields that allow them to set an events end date/time and the events timezone. The custom ...
0
votes
2answers
1k views

Make custom post type column sortable

My site has two custom types: Auction and Lot. Lots are connected to an Auction via the post_parent field. I added an Auction column to the Lots list in the admin area. function ...
13
votes
6answers
8k views

Change the text on the Publish button

Is there a way to change the text of the publish button on a custom post type to say some different? For example, Save instead of Publish. And also remove the draft button?
0
votes
1answer
647 views

WP-API Custom Post Type json_no_route

I have created a custom post type and extended the WP_JSON_CustomPostType class as in the documentation, I can see the custom type when I go to wp-json/ but as soon as I go into wp-json/quizes it ...
0
votes
0answers
16 views

Changed Post Type Name and Taxonomy Name. How to change it in Widget as well?

Hope someone can explain me how to update the widget to the new post type name and taxonomy name. My Old custom Post Type Was "aps-products" and new is "phones" and my old Taxonomy Name was "aps-...
0
votes
0answers
17 views

HTML email template using custom post type on genesis framework

I'm trying to generate HTML emails using a custom post type. What I would like to do is slot content from post type post into this template to build an editoral newsletter. The problem I'm having is I ...
0
votes
1answer
14 views

Add post type pages with plugin

Can I add the archive and single page for a custom post type added by my plugin? I know it will only have to be a best guess with contents like: <?php get_header(); ?> <h2><?php _e('...
2
votes
1answer
1k views

wp_dropdown_categories in custom post type with custom taxonomy

I have a custom post type with its own taxonomy, basically 'show venues' is the post type and venue-regions is the taxonomy. Seeing how a venue cant exsist in mutiple regions, I've removed the ...
0
votes
0answers
14 views

Getting URL from changing custom post type

I have a manually-built secondary navigation with a button that links to a Current Exhibiton custom post. For obvious reasons, the current exhibition post changes over time. How can I manage to ...
0
votes
0answers
18 views

Change the url of a custom post type to include taxonomy

I'm trying to create a custom post type where there will be a lot of identical post names, but they will have different taxonomy values. Is it possible to define a slug mode where the taxonomy ...
1
vote
1answer
420 views

Custom post type “preview” not working

I'm having an issue with custom post type "draft" post previews redirecting to the site home page, if I have pretty permalinks enabled. For instance, I create a new "Project", save as draft, and ...
0
votes
3answers
11k views

Echo current custom post type

I have a all my custom post types list together in blog format. What I'm trying to do is echo the post type name on each post. I tried this: get_post_type_object('post'); echo $obj->labels->...
0
votes
1answer
2k views

Let users upload image(s) to the post from front end

I want to enable logged in users (Wordpress) to submit posts from front end (among with other data). My form is working great, I add custom post meta data which I later display on custom post page. ...
0
votes
2answers
552 views

Display and register custom categories for custom post types

Ok here we go. I have 2 different custom post types. The first is called 'portfolio', the second one 'games'. All the game reviews I write are 'games' posts. To have a better overview I created ...
0
votes
1answer
12 views

Adding/Changing Functionality of Custom Post Type Main Admin Page

I've created a custom post_type plugin. I would like to add a custom filter to the main list page that is displayed when you first click on the menu item in the left-hand menu (see image). But, I ...
0
votes
1answer
21 views

WP_Query Custom Post Type if Category ID Equals

I've setup a custom post type "slides" and I've created two categories for the slides custom post type: "slides-testimonial" (id = 7) and "slides-regular" (id=8). I would like to run a single loop, ...
1
vote
1answer
6k views

Display custom post type with shortcode

I have made a custom post type for my WordPress Theme and a page where the custom post types are displayed. But does anyone know how to make a shortcode that displays posts of a custom post type?
0
votes
1answer
18 views

Programatically inserted posts not showing in Posts Table

I'm trying to insert a custom post through a form. It's a brief post, most content are custom meta fields updated with add_post_meta. So far, post inserting is working fine, except for a detail. This ...
0
votes
1answer
478 views

Dynamically create/remove terms in taxonomy when custom post type is published/trashed

Am struggling a bit with creating & removing terms based on when a custom post type is published and trashed. Ideally, I would like to create a new term in my custom taxonomy when a custom post ...
0
votes
0answers
23 views

Custom Meta Box Image Gallery Not Saving

I'm having an issue of a custom meta box I'm building based off of WooCommerce's Product Gallery meta box. The meta box is not saving for some reason. I've tried some options from many different ...
0
votes
0answers
26 views

Form to custom post type and custom taxonomy 2

Following on successful addition of custom taxonomy with a great help here I've been banging my head on the following three things. How would I add another taxonomy "trademen-category"? How would I ...
1
vote
1answer
454 views

Update ACF fields on a frontend form?

I have the form below to update posts in a custom post type. In my custom post type I have some ACF fields which I also need to be able to update, but unsure how. I can update my default WordPress ...
0
votes
0answers
14 views

Issue with temporary link on the frontend

I have a site working with a custom post type (Exhibition), and custom taxonomies (Exhibitions -> Current, Future & Past). When I display the archives for the Future and Past taxonomy values, it ...
0
votes
1answer
30 views

Form to custom post type and custom taxonomy

I am actually learning still. so if my question sounds a bit silly. kindly pardon me. But I seriously need help here. Using the links below, I managed to get the form working to the extent that it ...
-2
votes
0answers
23 views

How to create an inquiry form in Wordpress [on hold]

I am currently working on creating tour theme for wordpress. I am looking for ways to create an inquiry form that visitor can submit inquiry. After visitor submit the inquiry, it will - ...
13
votes
4answers
6k views

Use register_post_type() to modify an existing post type

There are lots of situations where a theme or plugin registers a post type and you want to modify it. There is of course add_post_type_support() and remove_post_type_support(), but those don't give ...
1
vote
1answer
36 views

Custom template for post type not working

I have a post type shopping and in my single.php I am trying to get a certain template for this post type. So I did: \\ in the single.php get_template_part( 'template-parts/content', get_post_format(...
0
votes
3answers
498 views

Custom post type paging 404 error

I've an issue on custom post type, I've create a custom post type called "Agenda" and the rewrite url for http://example.com/agenda it works correctly, it points to the archive-agenda.php template ...
0
votes
1answer
494 views

Taxonomy Url with Custom post type prefix re-write rule

I have a taxonomy called Section and a Custom post type called Developments. What i need to achieve is a permalink on the taxonomy with custom post type prefixed: e.g: custom post type: development ...
0
votes
1answer
44 views

Running get_posts within get_posts to get children of children

I have a hierarchal custom post type called “courses”. When you arrive on a course post there’s a check to see if the post has children. If the courses post has children it runs get_posts to display ...
0
votes
1answer
18 views

Custom Post-Type not in admin menu

As I'm working on a private and custom theme for my website, I created custom post-types for different kinds of data i want to display (and adding extra data with custom fields). Anyways, as I ...
0
votes
1answer
5 views

Show index and not the archive for “Dog Custom Post” with default slug

When creating a Custom Post, in my case with the name dogs and slug dogs, at the url www.example.com/dogs Wordpress shows by default the archive page if has_archive is set to true I don't want to ...