Plugin info

Total downloads: 8,526
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/25/2010 (5752 days ago)
Added to WordPress: 5/9/2010 (15 years old)
Minimum WordPress version: 2.9.2
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5752 days ago

20/100

Is Page Layout abandoned?

Possibly abandoned (last update 5752 days ago).

Compatibility

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

Languages

Similar & Alternatives

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

Layout Grid Block
Rating 4.7/5 (13 reviews)Active installs 200,000
Custom Dashboard Widgets
Rating 4.0/5 (9 reviews)Active installs 7,000
Themify Builder
Rating 3.9/5 (24 reviews)Active installs 6,000
Genesis Layout Extras – Default Layouts in Genesis for WordPress
Rating 5.0/5 (7 reviews)Active installs 4,000
WP Layouts
Rating 4.3/5 (6 reviews)Active installs 3,000
Responsive Column Widgets
Rating 3.9/5 (20 reviews)Active installs 2,000

Description

WARNING: USE ONLY WITH JAVASCRIPT! The backend of this plugin works only with browser with javascript enabled

This plugin allows to dynamically activate the widgets system on a WordPress page, creating complex layouts.

You can define new layout via the function register_layout() in the function.php file of your theme.
The plugin define two sample defaults layouts that you can see in Screenshots section.

e.g.

/function.php
if ( function_exists('register_layout') ){
    register_layout(array(
        'name' => 'Name of Layout',
        'zones' => array( 'name of zone one', 'name of zone two', 'name of zone three' [, ...] ),
        'thumbnail' => 'thumbnail-of-layout.jpg', // with extension (jpg/gif/png)
        'template' => 'name-of-php-template-file' // without extension
    ));
}
?>

The code of the new template plans to use a new property of the global object $post: $post-> layout

e.g.

layout['zones'];
foreach ($zones as $zone){
    dynamic_sidebar($zones[0])
}
?>
  • The php template file should be placed in the folder layouts of your theme folder (/wp-content/themes//layouts/.php) or in the plugin folder (/wp-content/plugins/page-layout/layouts/.php) if you want the layout to be independent from the theme.

  • The thumbnail should be placed in the child folder of layouts: layouts/thumb/.

  • If you want to include also a related css file separate from the theme installed you can create it in /wp-content/plugins/page-layout/css/page-layout-general.css or for each php template /wp-content/plugins/page-layout/css/page-layout-.css.

  • The plugin include a simple widget to display the content of current page

Licence

This plugin is released under the GPL, you can use it free of charge on your personal or commercial blog.

Translations

If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a gettext editor like Poedit (Windows).
Please refer to the WordPress Codex for more information.

Installation

  1. Unpack the download-package
  2. Upload the file to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Register (if you need) a new layout. Create and put the files of new layout in the folder <your_theme>/layouts and <your_theme>/layouts/thumb
  5. Edit or add a WordPress Page and click in the metabox Page Layout
  6. Select a layout and drag some widget into their areas (the mechanism is similar to that of sidebars)
  7. Save and save…
  8. Visit the page and modify your css file as you want

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

Changelog

0.3

  • Fix child theme bugs (thanks to Lukasz Muchlado lukasz[at]bapro[dot]pl)

0.2

  • Fix widget.js (a fork of wp widget.js)

0.1

  • First release…