The type tag has no wiki summary.
5
votes
2answers
3k views
Wordpress Custom Post Types with a page as a parent?
I have a lot of custom type items in my new WP project, and for navigation reasons, I want to make the parent to some of them a Wordpress page. The problem is that apparently, Wordpress does not let ...
5
votes
1answer
317 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 ...
4
votes
1answer
209 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/
...
3
votes
2answers
633 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
88 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 ...
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 ...
2
votes
1answer
39 views
Actions according to image type and size
I want to do some actions according to image type and size, but the script I'm using is kind of heavy and is skyrocketing my wait time (first byte) from 5 to even 40 seconds (usually it's bellow a ...
2
votes
1answer
91 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 ...
2
votes
1answer
84 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 ...
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 ...
1
vote
1answer
543 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 ...
1
vote
1answer
303 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 ...
1
vote
2answers
273 views
Remove specific page/post from feed
I'm working on a website with lots of tutorials/pages.
I have made a separate rss feed for the pages - works fine.
But then I had to create a sitemap (a page), and it shows up in my "pages" rss ...
1
vote
1answer
957 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 ...
1
vote
0answers
42 views
Need help enqueueing webfonts
I am attempting to enqueue web fonts that I am loading in via the WebINK font library. (This service is similar to Typekit). This service works by generating a unique CSS link for each unique site. I ...
1
vote
0answers
208 views
show custom post type category dropdown sorting result on same page
I made a custom post type "kaubad" and i also want to add sorting option on website front end - users can select between this custom post type categories.
here is screenshot about what i want to do. ...
0
votes
1answer
210 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
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 ...
0
votes
1answer
44 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
249 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 ...
0
votes
2answers
110 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
117 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
2answers
904 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 ...
0
votes
0answers
37 views
custom search in theme doesnt work
the theme back end says Enable live search in posts and pages (post search is enabled by default).
check boxes are
Pages, knowledgebase, Articles,
Faq,
but they don't do anything. i think ...
0
votes
0answers
26 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
29 views
How can i retrive the movies, trailers, news in a single page using search
How can i retrive that. For a few month i build a website, and i want to make it diferent
For the search i have 3 post type, and i have for each diferent themes for display
- Movies
- Trailers
- ...
0
votes
0answers
20 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
32 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 ...
0
votes
1answer
107 views
Custom Post Title as search term
is there any way to include custom post title as search term. I create custom post types - VHS, DVD, Blu Ray. Then in search box when I write DVD I want to list all posts from custom post type DVD.
...
0
votes
0answers
23 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 ...
0
votes
1answer
978 views
Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
I coded a WordPress theme. I added a Photo Gallery with custom post type. But if paged>=2, it gives 404 error.
If you open my web site link and click Tümünü Göster (Show All) button, you can test ...
0
votes
1answer
203 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
652 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
766 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
3answers
107 views
First Custom Post Custom Fields Empty After New Custom Post
I am working on a theme which contains a custom post type with custom fields.
Everything is working perfectly except the when a new custom post is added, the custom fields for the first custom post ...
0
votes
1answer
78 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
votes
1answer
43 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/
...
-1
votes
2answers
419 views
Different user type , different profile fields buddypress
I have a buddypress site build for a social media for Entrepreneurs and workers to help each other. now, this site can have different user types and according to type, different profile informations, ...
-1
votes
1answer
195 views
Create Slugs Programmatically from Post Content for Specific Post Type [closed]
Was looking at the below post which does something similar to what I am trying to do...it clears out the post_name (slug) and recreates based on post_title.
(for a specific post type)
Create slugs ...