Title: BS4WP Component
Author: Hakik Zaman
Published: <strong>13 ເມສາ 2020</strong>
Last modified: 11 ທັນວາ 2020

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/bs4wp-component/assets/banner-772x250.png?rev=2282609)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

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

# BS4WP Component

 ໂດຍ [Hakik Zaman](https://profiles.wordpress.org/hakik/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/bs4wp-component.1.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/bs4wp-component/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/bs4wp-component/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/bs4wp-component/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/bs4wp-component/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/bs4wp-component/)

## ຄຳອະທິບາຍ

This is a lightweight plugin to display carousel in any screen.

Just install the plugin and you will get options of this plugin in Settings > General
> Bootstrap 4 Component Settings Section

If you are running a theme which is built with Bootstrap4 then you don’t need to
change the settings. But if your theme is not
 built with Bootstrap4 and you want
to use Bootstrap4 Carousel you have to change it to “Yes”.

### Usage

 1. First Upload the images, which you want to show as slides
 2. Each image has unique id copy that id and set it in `[bs4slide id="IMAGE_UNIQUE_ID"]`

**Basic Slider [No dots, No arrows, No Caption]**

    ```
    [bs4slider id="test_slider"]
    [bs4slide id="26" active="active" alt="first" /]
    [bs4slide id="26" alt="second" /]
    [bs4slide id="26" alt="third" /]
    [/bs4slider]
    ```

**Slider With Arrow [No dots, No Caption]**

    ```
    [bs4slider id="test_slider" arrow="yes"]
    [bs4slide id="26" active="active" alt="first" /]
    [bs4slide id="26" alt="second" /]
    [bs4slide id="26" alt="third" /]
    [/bs4slider]
    ```

**Slider With Arrow and Dots [No Caption]**

    ```
    [bs4slider id="test_slider" arrow="yes" dot="2"] // If 3 images then dot 2 it counts from 0
    [bs4slide id="26" active="active" alt="first" /]
    [bs4slide id="26" alt="second" /]
    [bs4slide id="26" alt="third" /]
    [/bs4slider]
    ```

**Slider With Arrow, Dots and Caption**

    ```
    [bs4slider id="test_slider" arrow="yes" dot="2"]
    [bs4slide id="26" active="active" alt="first" cap_title="First slide label" cap_subtitle="Nulla vitae elit libero, a pharetra augue mollis interdum." /]
    [bs4slide id="26" alt="second" cap_title="First slide label" cap_subtitle="Nulla vitae elit libero, a pharetra augue mollis interdum." /]
    [/bs4slider]
    ```

**Usage in PHP Code**

    ```
    <?php echo do_shortcode('
    [bs4slider id="test_slider"]
    [bs4slide id="26" active="active" alt="first" /]
    [bs4slide id="26" alt="second" /]
    [bs4slide id="26" alt="third" /]
    [/bs4slider]
    '); ?>
    ```

**N.B. Don’t press enter after each slides[bs4slide] otherwise the shortcode will
be broken.**

### More Attributes

**[bs4slider]**

 1. [bs4slider class=”YOUR_OWN_CLASS”] if you want
 2. [bs4slider id=”YOUR_OWN_ID”] for making unique each slider
 3. [bs4slider arrow=”yes/no”] by default it is “no”
 4. [bs4slider left_icon=”fas fa-angle-left”] If you are using Fontawesom
 5. [bs4slider right_icon=”fas fa-angle-right”] If you are using Fontawesom
 6. [bs4slider dot=”3″] by default it is null. If you have 4 slide it will be “3”

**[bs4slide]**

 1. [bs4slide class=”YOUR_OWN_CLASS”] by default it is “d-block w-100”
 2. [bs4slide id=”YOUR_UPLOADED_IMG_ID”]
 3. [bs4slide size=”YOUR_DESIRED_IMG_SIZE”] by default it is “large”
 4. [bs4slide alt=”YOUR_IMG_ALT”] by default it is null
 5. [bs4slide active=”active”] from this image you want to start the slider
 6. [bs4slide cap_class=”YOUR_OWN_CLASS”] It will help your for responsive control.
    By default “d-none d-md-block”
 7. [bs4slide cap_title=”YOUR_TITLE_TO_DISPLAY”] By default it is null. If you have
    no need to display caption no need to use it.
 8. [bs4slide cap_subtitle=”YOUR_SUB_TITLE_TO_DISPLAY”] By default it is null. If you
    have no need to display caption subtitle no need to use it.

## ພາບໜ້າຈໍ

 * [[
 * Settings of Plugin
 * [[
 * Upload your image to media library
 * [[
 * Get the ID of the image from browser address bar
 * [[
 * Paste the shortcode in any page you want
 * [[
 * Write your own CSS here

## ການຕິດຕັ້ງ

 1. Upload the plugin files to the `/wp-content/plugins/bs4wp-component` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings >General > Bootstrap 4 Component Settings Section to configure
    the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### What the purpose of this plugin?

To show a carousel/slider in any place of a WordPress site.

### Can I use the shortcode in widget?

Yes, absolutely you can.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“BS4WP Component” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນ
ການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Hakik Zaman ](https://profiles.wordpress.org/hakik/)

[ແປ “BS4WP Component” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/bs4wp-component)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/bs4wp-component/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/bs4wp-component/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/bs4wp-component/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/bs4wp-component/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.1

 * CSS editor added for this plugin to write more styles.
 * More property added for extreme control on your component.

#### 1.0

 * Initial version.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **5 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 4.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **5.6.17**
 *  ເວີຊັນ PHP ** 5.2.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/bs4wp-component/)
 * ແທັກ
 * [bootstrap carousel](https://lo.wordpress.org/plugins/tags/bootstrap-carousel/)
   [bootstrap slider](https://lo.wordpress.org/plugins/tags/bootstrap-slider/)[carousel](https://lo.wordpress.org/plugins/tags/carousel/)
   [slider](https://lo.wordpress.org/plugins/tags/slider/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/bs4wp-component/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ](https://wordpress.org/support/plugin/bs4wp-component/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/bs4wp-component/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Hakik Zaman ](https://profiles.wordpress.org/hakik/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/bs4wp-component/)