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

learn more… | top users | synonyms (1)

0
votes
1answer
109 views

Category / Custom Post Type permalink issue

So I'm currently working on a client site and trying to switch some old posts over to use new custom post types. Prior to this point, her website was set up in such a way that she could add both ...
0
votes
1answer
69 views

Custom Postype Query showing only 10 results should show 23 results

This is the code I have currently on my development site. It only shows 10 results from custom post type "pacificheritage" but it should show 23 all together. <?php ...
0
votes
2answers
286 views

Adding Help Tabs To Custom Post Types

Using this well written post - tutorial Edit dashboard's help tab I have full control over all standard WordPress admin screens. Can this be modified to add "Help" Tabs to custom post types?
0
votes
1answer
42 views

Creating a custom post type - want to add an alert for user

My question is easy but I can't find any answers via Google or Stackexchange. I've created a custom post type and everything's going great so far. I'd like to make it so that when the user is ...
0
votes
0answers
33 views

how to do i fix this problem Your backup folder MIGHT be visible to the public

where do I find this wp-content/plugins/wp-dbmanager so that I can move the .htaccess to /home/godel09/public_html/mylesmunroemediavault.com/members/wp-content/backup-db
0
votes
2answers
120 views

How to limit the number of terms (terms acts like categories)

Hello i have created taxonomy in custom post type that act like category. then i have created terms that acts like categories. i have create widget that show all terms from taxonomy. all works ...
0
votes
1answer
259 views

How to set default status to custom post type

When I save my custom post_type 'product', I'd like to set their status to my custom status 'incomplete'.
0
votes
0answers
90 views

next/previous links on custom post single a little screwy

Working on a custom post template, using next_post_link and previous_post_link. And they do -- EXCEPT on the most recent post: where next and previous both point to previous. Which is...confusing. ...
0
votes
1answer
118 views

Custom filtering on month value only of an entire date field

I'm using the plugin Ajax WP Query Search Filter (http://wordpress.org/plugins/ajax-wp-query-search-filter/) to search some custom posts I've created. The filter works great on three custom ...
0
votes
1answer
164 views

Best way to organize book-page structure

I'm wondering what is the best way to organize book-page content without involving taxonomies. So for example, I have a math book with a bunch of problems that I wish to list. I have a custom post ...
0
votes
0answers
92 views

convert Custom Fields Option-Values to Tags/Taxonomy

I have Custom Post Type "Places". In that I have Created Custom Fields. Like: Option Title » Type of Pub Option values » Sports, Rock, Biker, Beer, Live Band, Restro, Gastro, Irish, ...
0
votes
0answers
49 views

Make each Value of custom field show related posts when clicked

i have create a Custom Post Type calle "Places". I have created a Custom Field with Field Type "Multi CheckBox" Option Title "Type of Pub" Option values "Sports, Rock, Biker, Beer, Live Band, Restro, ...
0
votes
2answers
89 views

How to display Multi Checkbos select Custom Field on the post?

i have create a Custom Post Type calle "Places". I have created a Custom Field with Field Type "Multi CheckBox" Option Title "Type of Pub" Option values "Sports, Rock, Biker, Beer, Live Band, ...
0
votes
1answer
98 views

I want to split this into two functions

This code i will add below is for Custom Fields for Custom Post Type and GMap for Custom Post Type. Currently both are pulled by this function. I want to seperate both. One for Custom Fields and One ...
0
votes
0answers
91 views

Average Rating per Post based on Comment Rating

I have created Custom Post Types. In that i have a rating system in comments, for each comment user can rate 1-5 Stars. Now , i want the average of all ratings in comments of that post to show. How ...
0
votes
2answers
772 views

Get image post ID in media upload

I am developing a plugin that adds a Custom Post Type to my theme. It's a retail directory and the post type is a retail listing. Everything is working fine. I can upload content to the DB and then ...
0
votes
1answer
68 views

custom field suit new post with in custom fields

how can i use Custom Field Suite (CFS) https://uproot.us/ to create new posts in post type. what am trying to do is create a music albums using post then create new post based off the tracks in the ...
0
votes
1answer
68 views

Paged within a custom content type template [duplicate]

I'm having a huge problem a custom query within a custom post type template with regards to pagination. For some reason, the previous post, next post links are showing blank. If I do ...
0
votes
1answer
111 views

Ordering by multiple meta keys - Custom post type

I've searched the web to try and do this but none of the examples quite resemble the way my data is currently laid out, I wonder if someone can tell me how to tailor it to my setup? This is the way ...
0
votes
1answer
2k views

Advanced Custom Fields: query posts filtered by multiple field values

I have the following: custom post type: q-and-a custom taxonomy: q_and_a_category taxonomy terms: design, engineering, project-management I'm creating three separate pages that filter the custom ...
0
votes
1answer
72 views

Repeatable Custom Field for Media Upload

I am following this topic to add a repeatable custom field for my Custom Post Type, but I cant get it to work for a media upload, Which will allow the author to add multiple image by uploading or ...
0
votes
1answer
62 views

Storing postID in session variable to query database when visitor on custom template page

I have an application with 3 custom post types, A, B, and C. The post types B and C are related to A using acf relationship fields. I've designed a single template for A post types. When viewing this ...
0
votes
0answers
243 views

Custom post type name and url parent/child structure 404 issue

I'm having a conflict between the name of my custom post type and my url structure. I've got a custom post type called 'timber-frames'. The 'timber-frames' landing page uses a page template that ...
0
votes
0answers
21 views

Add 2 Taxonomies to Custom Post

I have created a custom post type "beers" and added a custom taxonomy "distributor" as a category (see below) register_taxonomy("distributor", array("beers"), array( ...
0
votes
1answer
911 views

custom post type paging not working past page 3

I have a custom post type called services which has 23 custom posts, i also have a custom taxonomy for all the categories (5 categories). I am trying to create a list of all the custom posts of ...
0
votes
0answers
124 views

One-time bulk MySQL copy post_date values to Advanced Custom Field (date field)

Disclaimer First of all let me say this is probably mostly MySQL related and unfortunately I'm nearly a total newbie on database language and commands. The problem Situation is a site running ...
0
votes
2answers
192 views

CMB select with data from CPT

I'm using the CMB framework for creating metaboxes (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) and I want to add a select box which prepopulates with titles from a custom ...
0
votes
1answer
1k views

Use WordPresss menus with anchors

I have a CPT archive page and I want to create a navigation menu which will jump to anchors in the form <a name="post-slug" http="{the permalink goes here}>The CPT Title</a> I have been ...
0
votes
1answer
107 views

custom post types missing ADD NEW

Having a bit of fun with custom post types. I use http://generatewp.com/ to generate the following custom post type to record partner organisation records. Things working: custom post type appears ...
0
votes
1answer
119 views

Single Page Wordpress CSS and JS links

i got a custom template with blog post in it... In my header.php, inside the <head> i have my links like this ... <link href="http://www.mysite.com/css/design.css" type="text/css" ...
0
votes
1answer
41 views

Make meta box appear if the previous if not empty?

I have created a custom post type with the ability to have multiple featured images. However, it would be nice if i didn't have 10 empty boxes on the post page asking for images... I would like a ...
0
votes
1answer
1k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
1answer
95 views

Add html to cpt main page / admin edit.php

I want to add some html under the title of a custom post type I created. See area in image here: http://i.stack.imgur.com/rpkV3.png I tried using different methods including post_row_actions ...
0
votes
1answer
122 views

Show a custom field instead of username in the backend author area

I'm building a new WP site with about 1200 authors(which are actually companies, pulled from my client's existing site), each attached to at least one custom post type. My problem is the admin(our ...
0
votes
2answers
1k views

Creating a gallery of featured images from custom post type

I am new to Wordpress and am busy using it to create an online portfolio site. I have created a custom post type for my portfolio items called 'Portfolio', and I have attached a featured image to each ...
0
votes
0answers
178 views

How to Create Custom Post Type with Multiple Color Options?

Can you please let me know what is the best choice to create a Custom Post type like "Pen" which has Taxonomy called "Brand" now each of these post has definitely Black color which I will use as ...
0
votes
0answers
222 views

Listing terms used by a custom post type (the taxonomy is shared across multiple CPT)

I have multiple custom post types and they share some custom taxonomies. I want to a (hierarchy format) drop down of only the terms used by a specific custom post type - the drop down will be the ...
0
votes
1answer
183 views

Issue on adding Icons to Custom Post Type

Can you please take a look at following code and let me know why i am not able to add icons to custom post type? add_action( 'admin_head', 'my_icons' ); function my_icons() {?> <style ...
0
votes
1answer
198 views

All blog posts are not showing up

This post may already exists but I just missed it in how I searched for it. Here goes. I have recently changed my blog back to the Genesis Framework. I am using the Nameless child theme. These are my ...
0
votes
1answer
28 views

Query a custom taxonomy for certain posts

I am trying to show some posts on a template based on their custom taxonomy. Here is my template code: <?php $field = get_field('newsletter_date'); ?> <?php ...
0
votes
1answer
166 views

Custom post type archive page for multiple post types

Hi I am working on a archive page which I can use for multiple custom post types. I need to make a variable in the $args array which can change to the post_type name on the basis of <?php ...
0
votes
2answers
105 views

Get the post_type of current taxonomy or category page

I want to get post type of currently visited category or term. As for example, I have post_type post and category named Blog. On Blog listing page, how can I get that this is a category of the ...
0
votes
0answers
66 views

How can I set up the URL for a category archive for a custom post type?

I'm working on a site www.site.com that has an additional post type: project. In registering project, I've declared "taxonomies"=>array("category") so that I can categorize the essays. Works fine. ...
0
votes
0answers
135 views

Filter CPT based on meta box value using Flexible Posts widget?

I'm using the Flexible Posts Widget to display a list of "deals" (a custom post type) in my sidebar. I'm also using that plugin's capacity to use a custom template to control the display of that ...
0
votes
0answers
83 views

Custom Post Type supports author

I am using 'author' in 'supports' array for my 'custom post type', that shows a list of all users of the site on add or edit post screen to assign author for the post. But I want to filter that list ...
0
votes
1answer
244 views

How to show particular category all post in custom single file

Let me tell details about what I am trying to do, I have one category call Members this category show in custom category file. and in category page show featured images with <?php ...
0
votes
1answer
99 views

how to show perticular category posts in custome page

i know how to define custom post template vai plugins very easily but i want without plugins how can i define custom post template for particular category post. say like i have one category ...
0
votes
1answer
361 views

Adding Custom Metaboxes to Custom Pages

I want to be able to add a metabox to a new submenu page that I have created. I have the following basic code which I was hoping would work but it seems not to: add_action("init", ...
0
votes
0answers
73 views

How to keep Wordpress from re-formatting my code posts?

As you can see from the image above, it's changing '{print $5}' to '{print $&;5}' I tried the following article about "stop changing my quotes" And then even installed the "Advanced ...
0
votes
2answers
2k views

next_post_link() not working for single custom post type post

I can't for the life of me get this to work - this is the code in my single-osu_work.php file which is used for this post type, but I can't get the next and previous post links to appear - can you see ...