Grow your CSS skills. Land your dream job.

Linking a post type to a parent page?

  • # July 26, 2010 at 4:45 pm

    I think I’m missing something essential here about WordPress, but is there a way to link a post type (custom post type) to a parent page?

    For example, if I have an Article under a page called Resources:

    http://www.econesthomes.com/our-resources/articles/

    When I click to the single view of the article:

    http://www.econesthomes.com/article/healthy-building/

    The permalink loses it’s structure. I figured out to fix this through the rewrite function, but this does not help me when trying to install breadcrumbs.

    How can I have the single view of a post retain it’s link to it’s parent page?

    # July 27, 2010 at 8:13 pm

    I just logged on to post the same question here. I have spent a ton of time researching other sites and the official WordPress forums without any luck. This seems like a major problem with the usefulness of custom post types, there has to be a way to at least trick the built-in WordPress nav menus into thinking another page is the parent of the post type. Hopefully somebody can help figure this out!

    # September 22, 2010 at 1:36 pm

    Gonna bump this for good measure…

    # September 22, 2010 at 4:20 pm

    Unfortunately, custom post types are not meant to go into the permalink structure. That’s pretty much all there is to it.

    There is, however, a plugin! I haven’t tested it, but I think this answers your question?

    http://wordpress.org/extend/plugins/custom-post-permalinks/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".