Have you ever wished for multiple content blocks, in addition to pages and posts, that can be edited within the WordPress dashboard and placed in custom regions of your template? The MultiEdit plugin is your key to breaking open new possibilities for a more modular approach to WordPress. This is very similar to Drupal blocks and content types and allows you to add a greater level of flexibility in theming WordPress as a CMS. Whether you are editing the content and updating the site or passing it off to a client to manage for themselves, an organized content structure with easily updated blocks will ultimately save a great deal of time. It will also be more enjoyable for non-techies to use. We can sometimes forget how foreign the backend of WordPress can be to someone who is not using it every day. Do your users a little favor and simplify the way WordPress manages content.
This tutorial makes use of the Page.ly MultiEdit Plugin working in concert with custom page templates.
Step 1: Install the MultiEdit Plugin and Activate It.
It also works with WPMU, since it is theme-dependent.
Step 2: Create a Custom Page Template and Upload to Your Theme Directory
Copy your current page.php and rename it to anything you like. Make sure to add this to the top of the file:
<?php /* Template Name: Custom Template MultiEdit: Right,Bottom,Left */ ?>
Step 3: Within Your Template Determine Where to Place the Blocks
This is done by calling the function: multieditDisplay(‘Region’) like so:
</div><!-- #container --> <div id="subfooter"> <?php multieditDisplay('Bottom'); ?> </div>
You can customize ID’s or classes to the div’s and style them however you like to fit your theme.
Step 4: Create a New Page Using Your Custom Template
Simply select the template from the drop down on the page edit screen.
Step 5: Refresh the Page to See the New Tabs MultiEdit Created
The tabs will appear above the visual editor like so:
Add your content and click save and you should see it displayed on the page. Here are the example regions:

How Does it Work?
All of the content associated with the regions you created is stored in the custom_fields table associated with that page or post. Therefore, even if you deactivate the plugin, your data will not be lost since it is stored as a meta item.
We’ve recently had several inquiries on Twitter concerning the viability of using WordPress and BuddyPress as a full-blown CMS. The MultiEdit plugin brings custom content blocks to WordPress without having to widgetize areas. Even with widgetized areas the visual editor is not available to the user when creating the content for that region. This plugin provides an all-around flexible solution for expanding the limited areas available for editing content. In future posts we’ll be looking into more tools that will make WordPress your CMS of choice.








Couldn’t you do the same sort of thing with sidebars?
Like-
get_sidebar(‘left’);
in your theme? You could even use widgets.
I guess though it’s not the same thing since you can edit these blocks directly from the post/page editor. Convenient.
Wow. I was just looking into Unify and hoping there’d be some WP compatibility on that, but this looks pretty solid! Great stuff =)
Great Post Sarah!
Great post. This is very useful as we’ve encountered a lot of situations where clients want to separate their content into different template regions as opposed to just relying on the one wysiwyg section. Also seems more straightforward than Custom Fields and nowhere near as buggy as the “More Fields” plugin which doesn’t seem to play well with the latest release of WordPress.
The “Flutter” plugin is also a nice solution for this type of problem because you can build out specific field and label sets letting your client know exactly what data to type into the respective field, but having multiple content blocks using the main WordPress WYSIWYG from your example also seems flexible.
Thanks, I haven’t tried Flutter yet but have heard good things about it so I’d like to review that one as well sometime if it works out pretty decently.
Flutter works really well and is very customizable. For example, we created a group of Fields called “Case Studies” and had the client enter the Title, Main Image, a Testimonial and associated image that was spit out in in the following template:
http://www.extensionengine.com/case-studies/free-green/
The image editor also lets you crop on the fly and define the max height or width that the image should be displayed at.
So this goes on a separate editor and it stays on that part of the page where you want it placed? This looks sweet. There are pages where you just want to place something without touching (editing) the whole post to get there. This plugin seems just made for that! I will try this. Oh BTW is it available for 2.8? Yeah I know I haven’t upgraded to 2.9 yet. :)
We are looking out for a plug-in/widget wherein we can call the master widget on all the sub-pages. We are building an application using WP-MU.
We are in a real time crunch and need to deliver the project in next 3 hrs.
Your inputs will be highly appreciated. :)
Thank you in advance
This is Ok but something with the section widget functionality would be very useful so you do not have to return to all your posts to modify blocks.
http://wordpress.org/extend/plugins/section-widget/
Can this be used with BuddyPress by copying page.php into the child template? I’ve tried and it doesn’t seem to work. I’m using BP 1.2.1 and WPMU 2.9.1.
Doh! Found my mistake – I forgot to add the Template Name code to the top.
Nope, not working. I get the MultiEdit tabs and fields, but whatever I enter into them (the tabs) disappear as soon as I hit Update. If I make an entry directly into the MultiEdit custom fields, the content stays in the custom field after I hit Update, but it doesn’t show anywhere on my page.
when u said “save” u talk about “publish/update” ?
I follow your tutorial but it doesn’t work, when i add a text in the bottom tab, I update/publish and… everything disappear except the text in main content tab, I use wordpress 2.9.2 in local… I’m very disapointed !
@Phil: we have same problem!
I try to add a content in Bottom, Left and Right tab, when I update wverything deleted except the main content and the content in Right tab, I wrote the following code in customtemplate.php : but nothing is displayed… the WordPress installation is new, there is just this plugin, I have more than 20 others blogs in local and ll works… so why that plugin doesn’t work on a basic installation of WP ?
finally it just work for “left” content, not for bottom and right… very strange behaviour !
it’s me again…
I found the problem, in your article your wrote “MultiEdit: Right, Bottom, Left”
with space after comma, don’t use space and everything will work fine.
;-)
after I try with QTranslate plugin (for multilanguage website) but it doesn’t works :-(
Thanks for the write up, hope people get some use out of this plugin.
This is small error in you example
MultiEdit: Right, Bottom, Left
should be
MultiEdit: Right,Bottom,Left
no space after the comma.
Thanks for catching that! I’ll update it in the article.
Interesting.
Would like to get those content boxes inside the entry content, like facts boxes in articles. Is that possible?
This is awesome- I’ve been looking for this for a long time- my favourite part is that it can be hard coded onto the different templates. Very cool.
This post and plugin has been a godsend!! I prefer to not let clients to able to edit a “whole page”. Bad things tend to happen when they have too much free reign over the site :) Thanks for the write-up.
Nice plug, Thanks for sharing!
I will try to use this plugin in new version of my site, thanks!
Great post!
I’m thinking of implementing this to help with a problem I’ve got.
I need to display different (age specific) content on the page based upon the login of the user.
I was thinking of creating different MultiEdit Display areas within my template, and then using the custom tag on the content to define what age range the content was suitable for.
If there is no content for that age range for that post, then nothing would be displayed.
That’s a bit clunky but would work.
Any thoughts on that?
Hey, Im trying to add this great plug in to my site but for some reason cant get the content to appear on my custom page. Iv added the code exactly how youve explained it but it just wont appear, any ideas were i could be going wrong?
Her is my page code:
sorry, got it working. i was being silly!
Im trying to add this great plug in to my site but for some reason cant get the content to appear on my custom page. Iv added the code exactly how youve explained it but it just wont appear, any ideas were i could be going wrong?
Her is my page code:
some links
Not at all working. Very Disappointed – no support for it indeed.
tried this:
<?php
/*
Template Name: sampleone
MultiEdit: bottom
*/
called like this
-> No content was recieved on the website.
Great post! Thanks for the useful information. Just like to say, you have a fantastic site here. Great work.
Its time for some updates now! Thanks!