Site parents in Multisite (1 post)

  1. Patrick Johanneson
    Posted 5 years ago #


    I'm working on setting up WP 3.0 as a CMS for a large site with many sub-sites. I want to be able to set up sites to have a "parent" site for use in menus and breadcrumbs.

    For instance, I want to be able to have two sites:


    and have /department have a parent of /faculty, so that on the /department site, the breadcrumbs look like

    Home > Faculty > Department

    I've got it working, but to do so I created a custom table in the database, which I'm accessing using wpdb.

    Is there a more elegant way to do this? Or, failing that, is there a way to add a "parent" section in the Create Site dialog, with a dropdown box, using my custom table?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Patrick Johanneson
  • This topic is not resolved
  • WordPress version: 3.0