Tagged Questions
0
votes
0answers
19 views
Add Custom Post Type Categories to General Categories
I've created three custom post types. I want them seen as general categories. I could not find a solution, can anybody help me?
Thank you.
0
votes
0answers
14 views
How to display related post with custom post type detail page?
global $post;
$terms = get_the_terms( $post->ID , 'product_tags', 'string');
$do_not_duplicate[] = $post->ID;
if(!empty($terms)){
echo ...
0
votes
0answers
25 views
Memory Use in Custom Post Type, Listing All in Admin [closed]
I have a question regarding memory in listing posts.
When you click a tab "List All" logically it should not use a lot of memory. A simple query, a simple list. Yet I find 256 megabytes of memory is ...
-1
votes
1answer
37 views
Two Custom Post Types with Identical Articles Competing for the same Slug
I have created two custom post types, each with it's own slug. Each custom post type contains some articles with the same title.
So ideally I would have . .
customposttype1/mainarticle/
...
0
votes
1answer
36 views
Help with listing current users submitted custom post type in template file
I have the following code to list the member's post that they created. However it is listing all posts. Anyone know how to fix it? Thank you!
<?php
if ( is_user_logged_in() ) {
global ...
0
votes
1answer
44 views
Custom Post Type archive
Hey all first off im a WP newbie so go easy!
Ive been searching for a couple of days now to see if I can find the answer to this but cant get anything definitive.
I have a custom post type called ...
2
votes
1answer
82 views
Use plugin or custom post type for game score functionality
The last couple of days I've been working on a plug-in that adds the functionality of keeping scores from a paintball game. When I manage to finish it I want to present players with a form so they can ...
0
votes
0answers
20 views
Custom Post Type As Front Page In Wordpress 3.3.5 [duplicate]
Possible Duplicate:
How do you use a CPT as the default home page?
Hello my new custom post type is called "landing_page"
And I want to add one my landing page as front page, but in ...
4
votes
1answer
195 views
Custom Post Types, slug, archive and SEO plugins
I made a custom post type called "friends".
I am able to correctly list my friends using this urls:
http://mysite/friends/friend1/
http://mysite/friends/friend2/
http://mysite/friends/friend3/
...
0
votes
2answers
894 views
Custom Post Type Pagination 404 Error (if paged>=2)
I coded a WordPress theme. I added a Photo Gallery with custom post type. But if paged>=2, it gives 404 error. I'm gonna be mad. :( Help please. And sorry for my bad English. Add me on MSN. ...
2
votes
1answer
80 views
Remove custom posts that match taxonomy value
I have a custom post type 'listings' and within that a taxonomy called 'status' where the posts are either 'standard' or 'premium'.
What SQL query (or other method), could I use to delete all custom ...
1
vote
1answer
941 views
Custom Post Type Pagination Doesn't Work in Wordpress 3.4
I have a problem when using Wordpress 3.4. My "Products" custom post type pagination doesn't work. Here is the code I use
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$loop = new ...
0
votes
1answer
200 views
Unattaching images from a post
I currently have a custom post type in a theme I'm developing which will be used for portfolio items. So far, I have implemented functionality that allows images to be attached to a portfolio post.
I ...
0
votes
1answer
185 views
Custom Post Type Rewrite To Include Parent Page(s)
I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide".
My permalink structure is ...
0
votes
1answer
243 views
Custom post type slideshow background images to insert in a plugin
I have a slideshow which is populated with background images from a custom post type. Here's my code:
<?php
// start the loop
foreach($slider_posts as $post) : setup_postdata($post);
// get ...
5
votes
1answer
299 views
Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
On my custom post type pages I have custom fields that the user can edit.
What I want is to have a search form with 2 select dropdowns: one dropdown that is populated with all the top-level custom ...
0
votes
2answers
106 views
How To Use Custom Tax of a Post Type
I've defined a custom post type. I've defined a custom taxonomy for this custom post type. I've populated the custom taxonomy. How do I make the list of custom taxonomy values show up in the admin ...
0
votes
1answer
641 views
Custom post type page highlights wrong menu item [closed]
I have a wordpress site based on the Thematic framework which has a static Home page, a Blog page (posts) and a News page displaying a custom post type named 'news'. My attempt to highlight the ...
0
votes
1answer
114 views
How to output all taxonomy links from a custom post type in a menu?
I made a custom post type called Product. And a taxonomy with the name 'product-category'. These taxonomies have pages where we show a list of the products that have that taxonomy.
Now my question is ...
0
votes
1answer
698 views
How to display comments and comment form on custom post type?
Is it possible in wordpress to display comments and comment form on custom post type, and how to do that?
Thanks in advance.
0
votes
1answer
75 views
Best way to enable sorting by 3 criteria on a page of listings
If you go to this site: http://www.ec-ohio.com and click on one of the links in the Directory (left column of homepage) you generate a page with listings, and at the top of each page there's 3 links ...
1
vote
1answer
298 views
Dynamic carousel on individual posts
I'm using Wordpress as a CMS for a small business website (not my first choice.) Each product page needs to have a small carousel of images that contains images relevant to the product.
I've set up ...
3
votes
2answers
599 views
How to force one column layout on custom post type edit page?
I've created a plugin using custom post types and I need to force the default two column post page to a single column. At the same time, the Publish metabox must move to the bottom. I need to do this ...
2
votes
1answer
2k views
.current-menu-item class on custom post type children pages - again?
There is the situation.
I have created the custom post type - products withfuncionality like pages - I have to create hierarchy.
f.e:
Chairs:
Oak Chair
Nice Chair
The weird thing happens with ...
0
votes
2answers
896 views
WordPress 3.2 - Problem with WYSIWYG editors in a custom post type?
I'm using this class http://www.deluxeblogtips.com/p/meta-box-script-for-wordpress.html to create custom meta-box in which it contains some WYSIWYG editors. It works fine until I upgraded my WP to ...
2
votes
1answer
87 views
user contributed content as custom post types
We are looking into creating a solution that allows user to contribute media files by filling out a form (without access to the admin) and have it ןד created as a custom post type.
The files will be ...
1
vote
1answer
533 views
Post Type Label Name
i've just created a new post type. It's name is Academias so the first menu option is Academias as well. But I would like to change it to something like See All Academias (just an example), is that ...
2
votes
1answer
1k views
Custom post type permalinks breaking due to 3.1 bug fix
So I just updated a site to 3.1 that uses several custom post types.
When I had made the site I had not noticed at the time the $post_type parameter for register_post_type has to be in all lowercase ...