Title: Columns DIY
Author: Corey McKrill
Published: <strong>آگست 21, 2012</strong>
Last modified: اپریل 19, 2014

---

جستجوی افزونه‌ها

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

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

# Columns DIY

 توسط [Corey McKrill](https://profiles.wordpress.org/jupiterwise/)

[دانلود](https://downloads.wordpress.org/plugin/columns-diy.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/columns-diy/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/columns-diy/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/columns-diy/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/columns-diy/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/columns-diy/)

## توضیحات

This plugin is intended for theme developers and others who want to have full control
of their column styles while still providing a quick and easy framework for adding/
editing column content via WordPress’s visual editor. It eliminates the need to 
type tedious, unmanageable chunks of HTML into the editor when specific posts or
pages require a columnar layout.

That said, this plugin is not plug-and-play. It does not include any styles out-
of-the-box, so if you start using the shortcodes without adding appropriate CSS 
rules, there probably won’t be any visible changes to your content.

See the [Recipes](https://github.com/jupiterwise/Columns-DIY/wiki/Recipes) page 
on the GitHub wiki for some styling examples.

#### Usage

 * Designate each column with `[column]` and `[/column]`
 * Mark the end of a row with `[endrow]`

#### Features

 * Includes enumerated column and row classes, allowing for per-column and -row 
   styling. Also includes parity classes (odd/even) for striping.
 * If a user forgets to add the last `[endrow]` shortcode, the plugin will automatically
   insert a closing `</div>` so the site layout doesn’t get broken.
 * Cleans up errant `<p>` and `<br />` tags that result from WordPress’s `wpautop()`
   function.
 * All parameter inputs are escaped for security.

#### Example

Putting this into the visual editor:

> `[column]`
> This is the column of Foo.
> `[/column]`
> `[column]`
> This is the column of Bar.
> `[/column]` `[endrow]`

Will result in this output:

This is the column of Foo.

This is the column of Bar.

#### Parameters

The following optional parameters can be added to the `[column]` shortcode:

 * _class_ (String : ”)
    Classes for the column `<div>` element. Separate multiple
   classes with spaces.
 * _rowclass_ (String : ”)
    Classes for the row `<div>` element. Only works when
   included with the first `[column]` shortcode in a row.
 * _style_ (String : ”)
    Inline styles for the column `<div>` element.
 * _rowstyle_ (String : ”)
    Inline styles for the row `<div>` element. Only works
   when included with the first `[column]` shortcode in a row.
 * _norow_ (Boolean : false)
    Set to true to omit the row wrapper `<div>`.

#### Filters

The following filter hooks can be used to alter the output of the shortcodes:

 * `diy_colclass`
 * `diy_colstyle`
 * `diy_column`
 * `diy_rowclass`
 * `diy_rowstyle`
 * `diy_beginrow`
 * `diy_endrow`

## نصب

 1. Upload the `columns-diy` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

There are a few different options for adding the CSS to style your columns:

 * Edit the style file in your theme (probably `style.css`). This is _not_ recommended
   if you are using a third-party theme such as a commercial theme or one downloaded
   from the WordPress Theme Directory. Your changes will be lost if/when you update
   the theme to a new version.
 * Create a [child theme](https://codex.wordpress.org/Child_Themes).
 * Use a plugin such as [CSS & JavaScript Toolbox](https://wordpress.org/extend/plugins/css-javascript-toolbox/)
   to embed the styles without modifying your theme.
 * Use the `style` parameter in the `[column]` shortcode to add inline styles. Only
   recommended for “one-off” scenarios (and how often does a “one-off” remain that
   way?).

## سوالات متداول

Check out the [GitHub repository](https://github.com/jupiterwise/Columns-DIY) for
more information.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/e56f17b4e9fed1040f8a1d77bff41c797b1e7628eb1351a2d59212f45c9f10d5?
s=60&d=retro&r=g)

### 󠀁[No screenshots, no good review.](https://wordpress.org/support/topic/no-screenshots-no-good-review/)󠁿

 [soul33](https://profiles.wordpress.org/soul33/) فبروری 8, 2017

Waste of time. From the fact that there are no chances to see through screenshots
the final effect of this plugin, describes quite well the improfessionality and 
futility of this plugin.

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/columns-diy/reviews/)

## توسعه دهندگان و همکاران

“Columns DIY” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Corey McKrill ](https://profiles.wordpress.org/jupiterwise/)

[ترجمه “Columns DIY” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/columns-diy)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/columns-diy/), را بررسی
کنید [مخزن SVN](https://plugins.svn.wordpress.org/columns-diy/), یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/columns-diy/)
توسط [RSS](https://plugins.trac.wordpress.org/log/columns-diy/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.1

 * Added `rowstyle` parameter to allow for inline styles on the row `<div>`.
 * Added filter hooks for altering the output of the shortcodes.
 * Improved process for cleaning up `<p>` and `<br />` tags.

#### 1.0

 * The initial release to the WordPress plugin repository.

## اطلاعات

 *  Version **1.1**
 *  Last updated **12 سال پیش**
 *  Active installations **10+**
 *  WordPress version ** 2.8 یا بالاتر **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/columns-diy/)
 * Tags
 * [columns](https://fa-af.wordpress.org/plugins/tags/columns/)[shortcode](https://fa-af.wordpress.org/plugins/tags/shortcode/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/columns-diy/advanced/)

## امتیازها

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/columns-diy/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/columns-diy/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/columns-diy/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/columns-diy/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/columns-diy/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/columns-diy/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/columns-diy/reviews/)

## مشارکت کنندگان

 *   [ Corey McKrill ](https://profiles.wordpress.org/jupiterwise/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/columns-diy/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FC54RLA8U6VCC)