Title: Ashtabula
Author: mark l chaves
Published: <strong>22 آگوست 2020</strong>
Last modified: 18 دسامبر 2022

---

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

![](https://ps.w.org/ashtabula/assets/banner-772x250.jpg?rev=2367113)

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

![](https://ps.w.org/ashtabula/assets/icon-256x256.png?rev=2367113)

# Ashtabula

 توسط [mark l chaves](https://profiles.wordpress.org/mlchaves/)

[دانلود](https://downloads.wordpress.org/plugin/ashtabula.1.0.0.zip)

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

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

## توضیحات

This plugin allows you to use of the popular [Swiper.js](https://swiperjs.com/) 
library in WordPress.

This is a minimalist plugin that is for displaying responsive cards in a slide.

 * On a large screen device, the slide will show a horizontal card (image on the
   left and text on the right).
 * On a small device, the slide becomes a stacked card with the image on the top
   and text on the bottom.

See the screengrabs below to get a visual or visit the [live demo](https://streetphotography.blog/ashtabula-swiper-slider/).

**Note**: You should be comfortable with HTML and CSS to use this plugin.

### Usage

 1. Use the [demo HTML file](https://github.com/marklchaves/ashtabula/blob/master/ashtabula-demo.html)
    as a starter template. Add this HTML to a HTML or code block/element to your page
    or post.
 2. To add the images, use the example CSS below as a template. Add the CSS to your**
    Appearance** > **Customize** > **Additional CSS** or your child theme’s `style.
    css` file.

CSS example to specify the background image for the responsive card in a slide.

    ```
    /**
     * Swiper Slider Plugin Custom Styles
     */

    #my-swiper-slide-1 {
     background-image: url(mybgimg-1.png);
    }
    #my-swiper-slide-2 {
     background-image: url(mybgimg-2.png);
    }
    #my-swiper-slide-3 {
     background-image: url(mybgimg-3.png);
    }
    ```

### Credits

Powered by [Swiper.js](https://swiperjs.com/).

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

[⌊Example slider card on large devices.⌉⌊Example slider card on large devices.⌉[

Example slider card on large devices.

[⌊Example slider card on small devices.⌉⌊Example slider card on small devices.⌉[

Example slider card on small devices.

## نصب

 1. Upload the contents of plugin zip file to the `/wp-content/plugins/ashtabula` directory,
    or install the plugin through the WordPress plugins page directly.
 2. Activate the plugin through the ‘Plugins’ page.

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

### How can I change the Swiper.js settings?

You can override the `ashtabula.js` file. Here’s an example.

Add this to your child theme’s functions.php file.

    ```
    /** Override Swiper Slider Plugin JS */
    function override_ssp_js()
    {
        wp_dequeue_script('ashtabula');
        wp_enqueue_script('swiper-slider-custom-js', get_stylesheet_directory_uri().'/js/swiper-slider-custom.js', '', '1.0.0', true);
    }
    add_action('wp_enqueue_scripts', 'override_ssp_js', 100);
    ```

Create this file: `/js/swiper-slider-custom.js`. Add this code to the file. It will
override the default plugin settings for Swiper.js.

    ```
    /**
     * Make the slides:
     * 1. Slide up instead of 
     * to the right.
     * 2. Loop instead of rewind.
     * 3. Speed up to 3 seconds.
     */
    (function () {
      let swiper = new Swiper(".swiper-container", {
        autoplay: {
          delay: 3000,
        },
        direction: "vertical",
        loop: true,
      });
    })();
    ```

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

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

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

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

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

 *   [ mark l chaves ](https://profiles.wordpress.org/mlchaves/)

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

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

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

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

#### 1.0.0

 * First release. Tested on the Twenty Twenty and GeneratePress themes.

## اطلاعات

 *  نگارش **1.0.0**
 *  آخرین به‌روزرسانی **4 سال پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 5.3.2 یا بالاتر **
 *  آزمایش‌شده تا **6.1.10**
 *  نگارش PHP ** 7.2 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/ashtabula/)
 * برچسب
 * [responsive](https://fa.wordpress.org/plugins/tags/responsive/)[slider](https://fa.wordpress.org/plugins/tags/slider/)
   [swiper](https://fa.wordpress.org/plugins/tags/swiper/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/ashtabula/advanced/)

## امتیازها

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

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/ashtabula/reviews/)

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

 *   [ mark l chaves ](https://profiles.wordpress.org/mlchaves/)

## پشتیبانی

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

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

## کمک مالی

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

 [ کمک مالی به این افزونه ](https://ko-fi.com/marklchaves)