Plugin info

Total downloads: 1,518
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 6/19/2009 (6090 days ago)
Added to WordPress: 6/18/2009 (16 years old)
Minimum WordPress version: 2.7
Tested up to WordPress version: 2.7
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6090 days ago

20/100

Is Media2Layout abandoned?

Possibly abandoned (last update 6090 days ago).

Compatibility

Requires WordPress: 2.7
Tested up to: 2.7
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Custom Post Type UI
Rating 4.6/5 (271 reviews)Active installs 1,000,000
Table of Contents Plus
Rating 4.4/5 (159 reviews)Active installs 200,000
White Label CMS
Rating 4.7/5 (112 reviews)Active installs 200,000
PS Auto Sitemap
Rating 4.9/5 (23 reviews)Active installs 200,000
WPML Multilingual & Multicurrency for WooCommerce
Rating 4.1/5 (407 reviews)Active installs 100,000
List category posts
Rating 4.7/5 (253 reviews)Active installs 80,000

Description

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:

 

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]”.

Installation

  1. Extract Media2Layout archive to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the admin menu under Themes to create a named media position
  4. Add that position to your template(s) by inserting <?php Media2Layout::banner('position-name-here');?>
  5. Assign media to your media positions per each Page

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. The Media2Layout position admin screen

    The Media2Layout position admin screen

  2. Media2Layout annotation for position "campaign" in a custom theme

    Media2Layout annotation for position "campaign" in a custom theme

  3. Assigning image from media library to "campaign" position for a Page

    Assigning image from media library to "campaign" position for a Page

Changelog

No changelog available