Title: Page Layout
Author: baol7777
Published: <strong>मे 9, 2010</strong>
Last modified: मे 25, 2010

---

प्लगिनहरू खोज्नुहोस्

यो प्लगिन **वर्डप्रेसका ३ प्रमुख नवीनतम रिलीजहरूसँग परीक्षण गरिएको छैन**। यो अब 
सम्भवतः व्यवस्थित वा समर्थन नभएको हुन सक्छ र वर्डप्रेसका नयाँ संस्करणहरूमा प्रयोग
गर्दा अनुकूलता सम्बन्धी समस्या हुन सक्छ।

![](https://s.w.org/plugins/geopattern-icon/page-layout.svg)

# Page Layout

 [baol7777](https://profiles.wordpress.org/baol7777/) द्वारा

[डाउनलोड गर्नुहोस्](https://downloads.wordpress.org/plugin/page-layout.0.3.zip)

 * [विवरण](https://ne.wordpress.org/plugins/page-layout/#description)
 * [समीक्षाहरू](https://ne.wordpress.org/plugins/page-layout/#reviews)
 *  [स्थापना](https://ne.wordpress.org/plugins/page-layout/#installation)
 * [विकास](https://ne.wordpress.org/plugins/page-layout/#developers)

 [सहायता](https://wordpress.org/support/plugin/page-layout/)

## विवरण

**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.

    ```
    <?php
    // <your_theme>/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.

    ```
    <?php 
    $zones = $post->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/<your_theme>/layouts/<name-of-php-template-file>.
   php`) or in the plugin folder (`/wp-content/plugins/page-layout/layouts/<name-
   of-php-template-file>.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/
   <thumbnail-of-layout.jpg>`.
 * 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-
   <name-of-php-template-file>.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](http://www.gnu.org/software/gettext/)
editor like [Poedit](http://www.poedit.net/) (Windows).
 Please refer to the [WordPress Codex](https://codex.wordpress.org/Installing_WordPress_in_Your_Language)
for more information.

## स्क्रिनसटहरू

[[

## स्थापना

 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

## समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

## योगदानकर्ता र डेभलपरहरू

“Page Layout” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका
छन्।

योगदानकर्ताहरू

 *   [ baol7777 ](https://profiles.wordpress.org/baol7777/)

[“Page Layout” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्](https://translate.wordpress.org/projects/wp-plugins/page-layout)

### विकासमा रुचि छ?

[आरएसएस](https://plugins.trac.wordpress.org/log/page-layout/?limit=100&mode=stop_on_copy&format=rss)
द्वारा [कोड ब्राउज गर्नुहोस्](https://plugins.trac.wordpress.org/browser/page-layout/),
[एसभीएन रिपजिटरी](https://plugins.svn.wordpress.org/page-layout/) हेर्नुहोस्, वा
[विकास लग](https://plugins.trac.wordpress.org/log/page-layout/) को सदस्यता लिनुहोस्।

## चेन्जलग

#### 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…

## मेटा

 *  संस्करण **0.3**
 *  पछिल्लो अपडेट **16 वर्ष अघि**
 *  सक्रिय स्थापना **10+**
 *  वर्डप्रेस संस्करण ** 2.9.2 वा उच्च **
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/page-layout/)
 * ट्यागहरू
 * [cms](https://ne.wordpress.org/plugins/tags/cms/)[layout](https://ne.wordpress.org/plugins/tags/layout/)
   [page](https://ne.wordpress.org/plugins/tags/page/)[widget](https://ne.wordpress.org/plugins/tags/widget/)
   [widgets](https://ne.wordpress.org/plugins/tags/widgets/)
 *  [उन्नत दृश्य](https://ne.wordpress.org/plugins/page-layout/advanced/)

## रेटिङ्गहरू

अहिलेसम्म कुनै समीक्षा पेस गरिएको छैन।

[तपाईँको समीक्षा](https://wordpress.org/support/plugin/page-layout/reviews/#new-post)

[सबै समीक्षाहरू हेर्नुहोस्](https://wordpress.org/support/plugin/page-layout/reviews/)

## योगदानकर्ताहरू

 *   [ baol7777 ](https://profiles.wordpress.org/baol7777/)

## सहायता

केही भन्नु छ? सहयोग चाहियो?

 [सहायता फोरम हेर्नुहोस्](https://wordpress.org/support/plugin/page-layout/)