Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Linking a post type to a parent page?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29741
    Luminated
    Member

    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?

    #80502
    lsparks
    Member

    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!

    #79264
    Luminated
    Member

    Gonna bump this for good measure…

    #79268
    TheDoc
    Member

    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)
  • The forum ‘Back End’ is closed to new topics and replies.