Support » Themes and Templates » Questions about building a theme with multiple content areas



    I’ve built a couple WP themes using the standard column layouts. One column for content, another for the sidebar… or putting the nav at the top of the page…

    I keep searching for a way to do something a bit different, but the best search terms I can think of lead me to other things.

    I use WP as a CMS and I want to be able to have a user edit multiple parts of the page. For example, let’s say I have Box 1 and Box 2. Box 1 is essentially the loop. Page content goes there.

    In Box 2, however, I want a separate section where I can insert a single image via the admin. This area is separated enough from the content of Box 1 that Box 2 can’t get any of it’s content from the Box 1 editor.

    Any idea how to do this?

    Thanks much.

Viewing 1 replies (of 1 total)
  • Michael Fields



    You could use the wp_postmeta database table to log the id of an uploaded image (much like a custom field). But in stead of using the custom fields interface, you could build your own that allows your user to click on an image to select it. Although I have never seen this kind of thing in the flesh before, I have been thinking about building it as recently as last night. Don’t know when I’ll get around to it though 🙂

    If you find a ready -mase solution, please post it here.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Questions about building a theme with multiple content areas’ is closed to new replies.