WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Media2Layout

This plugin facilitates the dynamic inclusion, on a per-Page basis, of media library artwork into predefined places in your site's theme.

Media2Layout facilitates the dynamic inclusion of media library artwork into predefined places in your site's theme. It creates named positions (by default "campaign" and "header") which can be assigned a media item per each Page.

  • Adds an admin menu item under Themes to edit your Position names
  • Adds a dropdown control when editing Pages to select the images for each Position in that Page

To insert the images into your theme, just add a bit of PHP code to your theme in the appropriate spot, for example:

<?php Media2Layout::banner('foo');?>

For the position named "foo" this would print an tag for the media assigned to the Foo position of the current page (or print nothing if no media is assigned to that position). Currently it wraps the in a

<

div> with class "media2layout_[position-name]".

Tags: , ,

Requires: 2.7 or higher
Compatible up to: 2.7
Last Updated: 2009-6-19
Downloads: 514

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.