WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i will star with some back ground and my goal before i gt to the point

i am trying to make a anime viewing website using wordpress like www.watchanimeon.com and www.animedreaming.tv i tried a couple of techniques like tiring to use custom fields to store data but of no avail as they all got way too complected for a little guy like me .

i use categories for the anime series and post for the episodes them selves but for the part where i wanted my sits users or members to be able to add mirror videos i got stuck i came up with the half solution of my problem with wordpress oembbed feature or though to use autoembed in my template but the area where i wanted the ablity of mirror videos i tried to use tdo mini forms but did not succeeded because of knowing no means of saving this data in the post it self

then i came assross these wordpress custom post types and after the release of bbpress 2 it accord to me that if i could separate post types for series, episodes and mirrors (or videos) like in bbpress forums, topics and posts and have a series act like category then i will also be able to tag anime generas and the series will list the episodes associated with and every episode list the videos associated with it most of my work will be done but i cant find any way to do this as i told earlier that i am a little guy in the field don't know much about programming and learns by google

so please help me plz plz

and in any case any one of you still dont understand what i am trying to accomplish check this (http://www.watchanimeon.com/sket-dance-episode-30/) link thats what i want to be able to do and also look at the bbpress2 to see what i am trying to accomplish.

share|improve this question
up vote 1 down vote accepted

If i understand right you want to create relations between custom post types, you can achieve this with this plugin http://wordpress.org/extend/plugins/posts-to-posts/

after installing go to your functions.php and setup relations

function my_connection_types() {
    // Make sure the Posts 2 Posts plugin is active.
    if ( !function_exists( 'p2p_register_connection_type' ) )

    p2p_register_connection_type( array(
        'id' => 'series_to_episodes',
        'from' => 'series_custom_type',
        'to' => 'episodes_custom_type'
    ) );
add_action( 'init', 'my_connection_types', 100 );

you can create how many relations you want

share|improve this answer
ok let me try doing that – phantom.omaga Oct 28 '11 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.