So I've just made a custom post type for my wordpress theme named "Products". When I create a new post in it and view it, the link is something like this:
"http://localhost/wordpress/product/a-product-title"
This page views as expected but when I try to go to the supposed parent page:
"http://localhost/wordpress/product/"
I get a 40...
I'm currently working on a project where we are using Wordpress 3.0 RC. The idea is to create custom post types with meta boxes to make the system easier to use for the client. Some of these posts need to have multiple files attached to them, and by attached I do not mean inserted to post but rather we'd like to keep them separate from t...
Hi,
Just playing around with Wordpress 3.0 for the first time. I've installed the Custom Post Type UI plugin, and have created a custom post type: "composers".
How do I go about creating a navigation menu for all the composers? Ideally, I'd like a static page entitled 'composers' which has a nav menu of all the individual composers.
I...
I'm adding a custom post_type to Wordpress, and would like the permalink structure to look like this:
/%post_type%/%year%/%monthnum%/%postname%/
I can't figure out how to add the date tags. Using this code, gives me /my_type/example-post-slug/:
register_post_type( 'customtype', array(
...other options...
'rewrite' => array('...
If I have a custom post type named 'my_type', how can I get Wordpress to make date-based archives, for example:
mysite.com/my_type/2010/
mysite.com/my_type/2010/07/
mysite.com/my_type/2010/07/28/
I'm looking for tips both on creating the rewrite rules and on linking the urls to templates.
Thanks!
Update:
I've tried the following i...
I have created a custom post type of 'portfolio' and page with a template that retrieves all posts matching that custom post type.
The problem is when I drill down into the actual post, the post seems to sit under 'blog' in the main menu highlighting (displays current_page_parent as a class)
The permalink url is correct: www.site.com/p...
Hello,
i try to setup a yearly (grouped by month) archive for custom post types in WordPress. But my code did not work as aspected. Maybe it is obiviously for someone who is more familar with WordPress and PHP but i can't get it work.
The code below is grouping by month but each post type by itself. Maybe i need to merge booth. But how...
I am trying to get pagination working with the wp pagenavi plugin and a custom post type (portfolio page) in wordpress and I am having no luck.
Here is a stripped down version of my portfolio page:
<?php get_header(); ?>
<?php
$type = 'portfolio';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'paged'...
I have a taxonomy-taxonomy.php page that needs to look like so:
CUSTOM POST TYPE TITLE (RESOURCES)
Custom Taxonomy 1 (Resource Types)
Resource Type Term 1 (White Papers)
White Paper post 1
White Paper post 2
White Paper post 3
Resource Type Term 2 (Videos)
Videos post 1
Videos post 2
Videos post 3
Tried to make sense of al...
I am creating a custom post type called article and it has a custom field called category. The categories are hierarchichal and they can reach a large number.
Is it possible to make the categories in the admin page collapsible similar to a tree that can fold/unfold. This is to make the user experience better while creating a new article...
I am creating a custom post type called article and I want to make a field called genre to be required. Is this possible?
...
I'm using custom post types in Wordpress 3.0 (now 3.0.1) to setup a custom directory system, but can't seem to find how to list out the categories under the custom taxonomy similar to how you'd use the wp_list_categories for normal posts. Anyone know how you'd do this on a page? Thanks!
I've seen suggestions for options like the followi...
I created a custom post type called article in WordPress 3. My custom posts are working and I can view them at mywebsite/articles/my-sample-article-title.
I would like to achieve the following:
1) When I go to mywebsite/articles, I would like to see a list of articles.
2) I would like to do some custom loops within this url (mywebsite...
I am using WordPress 3 and I created a custom post type called article, which gives me the url format of mywebsite/articles/article-title. How do I see all the article entries in the url mywebsite/articles?
...
Hi,
How do you remove the tagging and authors functionality from wordpress.
This is so it does not appear in the backend for users, it would remove the categories panel from the post page and all the other flim-flam.
I would assume that wordpress's default post is a special kind of custom post type that can be modified, and therefore ...
I created a custom post type called article. I can create articles and everything is working fine. However, I have questions on the feeds.
1) How do I see the latest articles I created in a feed?
2) How do I see all the blog posts and articles all in one feed?
...
In WordPress 3 there is Featured Image functionality. How do i fetch all posts that have a featured image with them? Here is my current custom loop:
$loop = new WP_Query( array( 'posts_per_page' => 15 ) );
...
I have a WordPress blog where users can contribute articles and wiki entries (http://webypedia.com). The blog posts are normal post types. The articles and wiki entries are custom post types. I would like contributors to be able to add new articles and wiki entries, but leave the creation of new blog posts to Admin.
How do I create thi...
Hi, I am already very confused as I am typing this thread out. Please forgive me if my query is a little too difficult to understand.
I have an existing Real Estate Site that I intend to move 100% into WordPress. The existing site has one backend for listings and another blog section for reviews.
You can probably see why I have decided...
I'm creating a custom solution on Wordpress 3.0, that has multiple different sites using the multi-user capability.
I want to know if Wordpress has any functions that allow you to pull data from the same custom post type across all of the sites.
An example is news. All of my sites have a custom post type called News. I want to be abl...