Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6740587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:37:24+00:00 2026-05-26T11:37:24+00:00

Update I solved it in that way: What you need: Custom Post Type Enabled

  • 0

Update

I solved it in that way:

What you need:

  1. Custom Post Type
  2. Enabled Plugin “Posts 2 Posts” (see comments below)
  3. Enabled Plugin “Allow numeric stubs“

You’ll need the Plugin “Posts 2 Posts” to assign posts tp pages. “Allow numeric stubs” is a plugin that will allow you to have numeric slugs for pages. If try to add pages named to 2011 or 2012 you’ll get Page-Slugs like 2011-2 or 2012-2 because it is not possible to have a page slug that is a number.

First you have to add some Pages. For Example 2011, Nominees and Actors. Now you arrange the Pages as childs to your needs.

2011
    -Nominees
        --Actors

Your Url will now look like http://example.com/2011/nominees/actors

Now you have to add a Custom Post Type which contains your nominees. Add some nominees to your Post Type (should work with Articles too).

Register a connection type in your functions.php

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

    p2p_register_connection_type( array(
        'id' => 'posts_pages',
        'from' => 'page',
        'to' => 'nominees' // Your Post-Type
    ) );
}
add_action( 'init', 'my_connection_types', 100 );

Now go to your Actor-Page, look for a MetaBox named “Connected Nominees” and add your nominees.

Edit your page.php

<article class="single entry">

    <header class="post post-header">

        <h1><?php the_title(); ?></h1>            

    </header>

    <section class="post post-content">

        <?php the_content(); ?>

        <?php
        // Find connected pages
        $connected = p2p_type( 'posts_pages' )->get_connected( get_queried_object_id() );

        // Display connected pages
        if ( $connected->have_posts() ) :
        ?>

        <?php while ( $connected->have_posts() ) : $connected->the_post(); ?>
            <h2><?php the_title(); ?></h2>
            <?php the_content(); ?>
        <?php endwhile; ?>


        <?php 
        // Prevent weirdness
        wp_reset_postdata();

        endif;
        ?>
    </section>

</article>

Now you should be able to see you asigned Posts (nominees) on your Page Actors.

The solution is easy to understand for authors since they are working with default wordpress behaviors and the content connection process feels really native.


I’m looking for some data architecture best practices in WordPress 3.1.n

Here are the facts:

  • It is some kind of award
  • The Award has **n** different categories
  • People could be nominated
  • Each nominee could be asscociated with 1 category
  • Each category is grouped by year
  • Each category can contain up to 3 or 5 nominees

Categories/Terms(?)

2011

  • actor
  • special-effects
  • story

2012

  • actor
  • special-effects
  • story

For Example:

  • http://example.com/nominees/2011/actor/all-nominees-in-actor-cat-in-2011.html
  • http://example.com/nominees/2011/special-effects/all-nominees-in-special-effects-cat-in-2011.html
  • http://example.com/nominees/2012/special-effects/all-nominees-in-special-effects-cat-in-2012.html

Note: Custom Post-Types and Custom Taxonomies are fine but i can’t get hirachical Taxonomy-Terms work.

Does anyone have some suggestions to solve this with WordPress?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:37:24+00:00Added an answer on May 26, 2026 at 11:37 am

    You might consider creating an “Award” post type with categories being the types of awards… Best Actor, Special Effects, etc. Also you could tag each award post by what year it is. I like tagging the year vs a year as a category because it gives you the option to build and scale content by year as the site grows. However a category would work as well.

    Then, perhaps create an Actor post type with each actors name, this would have the added benefit of being scaleable should you want to expand on actor profiles down the road. Then consider connecting them using something like the “Posts 2 Posts” plugin. Plugin here

    This plugin is great for associating posts with other posts like a “review” post with a “product” post. You will essentially be doing the same thing except “review” would be substituted with “award” and “product” would be associated with “actor”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: Solved, with code I got it working, see my answer below for the
UPDATE: Solved. Thanks BusyMark! EDIT: This is revised based on the answer below from
UPDATE: First problem solved, second one described at the bottom of this post. UPDATE2:
UPDATE The issue is solved, all the code you can see works. Hello! I
At the moment I have a custom ActiveX plugin that drops down the usual
UPDATE: SOLVED Hi all, i've got it, just save cookie to temp file, and
Update II Problem Solved but Why? This has been the biggest headache ever. My
I've been given a lighttpd.conf that someone else wrote and need help working out
A problem that I stumbled upon recently, and, even though I solved it, I
Where I work we need to rethink the way we develop software and keep

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.