Title: WPApps Table Collapser
Author: Hefin Dsouza
Published: <strong>4 جولای 2024</strong>
Last modified: 5 اکتبر 2024

---

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

![](https://ps.w.org/wpapps-table-collapser/assets/banner-772x250.gif?rev=3116533)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/wpapps-table-collapser/assets/icon-256x256.gif?rev=3112646)

# WPApps Table Collapser

 توسط [Hefin Dsouza](https://profiles.wordpress.org/hefind/)

[دانلود](https://downloads.wordpress.org/plugin/wpapps-table-collapser.1.1.0.zip)

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

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

## توضیحات

WPApps Table Collapser is a lightweight plugin that makes your tables collapsible.
By adding a `collapsible-table` class to your tables, you enable users to toggle
the visibility of the table body by simply clicking on the table header.

### Features

 * **Collapsible Tables:** Make any table collapsible by adding a simple class.
 * **Toggle Indicator:** Automatically adds a `+/-` indicator to the last column
   of the table header.
 * **Customizable:** Style the toggle indicator and table appearance with your own
   CSS.
 * **Block Editor Support:** Includes a Gutenberg block for easy table creation 
   and collapsing functionality.
 * **Mobile Friendly:** Works seamlessly on mobile devices with responsive design.

**Usage:**

 1. Ensure that your table has a `<thead>` tag for the table header, though it’s not
    mandatory if you enable the “Allow Table Without `<thead>`” option in settings.
 2. Add the class `collapsible-table` to your table.
 3. Optionally, add a `data-title` attribute to your table to set a custom title for
    the mobile compact view.
 4. The last column in the table header will have a toggle indicator (`+/-`) added 
    to it. Clicking anywhere in the header will show or hide the table body.

## عکس‌های صفحه

[⌊Example of a Collapsible Table:⌉⌊Example of a Collapsible Table:⌉[

**Example of a Collapsible Table:**

[⌊Settings Page:⌉⌊Settings Page:⌉[

**Settings Page:**

[⌊Detailed Guidelines on CSS Customization:⌉⌊Detailed Guidelines on CSS Customization
:⌉[

**Detailed Guidelines on CSS Customization:**

[⌊Responsive Table View:⌉⌊Responsive Table View:⌉[

**Responsive Table View:**

[⌊Block Support:⌉⌊Block Support:⌉[

**Block Support:**

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

 *   Table Collapser A block that makes tables collapsible.

## نصب

 1. Upload the `wpapps-table-collapser` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Add the `collapsible-table` class to any table you want to make collapsible.

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

### Does the table require any specific structure?

For optimal functionality, the table should have a `<thead>` tag defining the header.
The collapsing functionality is primarily activated by clicking on this header. 
However, if you enable the “Allow Table Without `<thead>`” option in the settings,
the plugin will also work without a `<thead>`.

### Can I style the toggle indicator?

Yes, you can style the toggle indicator by targeting the `.toggle-indicator` class
in your CSS.

### How do I set a custom title for the mobile view?

You can add a `data-title` attribute to your table element to set a custom title
that will be displayed in the mobile compact view.

### Is the plugin compatible with the Gutenberg block editor?

Yes, the plugin includes a Gutenberg block for easy creation and management of collapsible
tables.

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

نقد و بررسی‌ای برای این افزونه یافت نشد.

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

“WPApps Table Collapser” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

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

 *   [ Hefin Dsouza ](https://profiles.wordpress.org/hefind/)

[ترجمه “WPApps Table Collapser” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wpapps-table-collapser)

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

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

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

#### 1.1.0

 * Fixed a bug where the block editor css gets loaded in the front-end.

#### 1.0.0

 * Initial release.

## اطلاعات

 *  نگارش **1.1.0**
 *  آخرین به‌روزرسانی **2 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 4.0 یا بالاتر **
 *  آزمایش‌شده تا **6.6.7**
 *  نگارش PHP ** 5.6 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wpapps-table-collapser/)
 * برچسب
 * [block](https://fa.wordpress.org/plugins/tags/block/)[responsive table](https://fa.wordpress.org/plugins/tags/responsive-table/)
   [table](https://fa.wordpress.org/plugins/tags/table/)[toggle](https://fa.wordpress.org/plugins/tags/toggle/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wpapps-table-collapser/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/wpapps-table-collapser/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/wpapps-table-collapser/reviews/)

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

 *   [ Hefin Dsouza ](https://profiles.wordpress.org/hefind/)

## پشتیبانی

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

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