Title: X-Slider
Author: hugooodias
Published: <strong>10 novembris, 2015</strong>
Last modified: 7 janvāris, 2016

---

Meklēt spraudņus

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

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# X-Slider

 Autors [hugooodias](https://profiles.wordpress.org/hugooodias/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/x-slider.1.4.2.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/x-slider/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/x-slider/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/x-slider/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/x-slider/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/x-slider/)

## Apraksts

The most famous sliders are only based on images and titles, but in most cases we
use these sliders to display the posts, and there lies the problem.

Most plugins makes it very difficult to connect a slider to a post, and this is 
wrong !

A blog is made of posts and everything should revolve around them.

I present to you the X- slider, a slider based on posts! No complicated interfaces
and billions of options that do not even use.

The X-slider was created with the purpose of being simple, easy to use, easy to 
set up and of course, easy to change, because it was made for Developers.

**Features**

 * Beautiful full width responsive image slider.
 * Extreme simple and efficient user interface.
 * All slides work based on Posts. You attach a slide directly inside the post editor.
 * Super easy to customize, as a developer you’ll love it.
 * Super easy to add, change and remove the slides. The admin user will also love
   it.
 * Shortcode for showing the slider anywhere

## Ekrānuzņēmumi

 * [[
 * The slide upload box lives is located inside the post page. Easy and quick to
   use.
 * [[
 * After uploading the image, you can choose to show or not on the slider.
 * [[
 * The settings page has only essential options , we do not want to confuse the 
   user.
 * [[
 * Create a beautiful, responsive and lightweight slider in seconds.

## Uzstādīšana

 1. Upload `x-slider` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the \’Plugins\’ menu in WordPress
 3. Go to **“X-Slider settings”** on your blog sidebar for tweak some options
 4. Enter in any post and locate the **“Slider image”**
 5. Click on **“Choose image”** and upload your image
 6. If it\’s good to go, check the **“active”** checkbox and save your post
 7. In any place of your theme call the function: `x_slider()`
 8. Done!

## BUJ

  How to install this plugin and getting it working on my theme?

First of all you’ll need yo install this plugin. Go to your plugins page on your
WordPress dashboard and search for X-slider.
 After installing you just need to 
set it in your theme. Open your favorite Text editor wherever you want to display
it, for example, if you want to display on the top of every page, open your header.
php theme and inside the tag, insert the following code:

    ```
    <?php x_slider(); ?>
    ```

  How to filter posts showing on slider?

You can use [WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query) syntax
on X-slider, so let’s say you want to only show slides for the “Featured” category,

you should write:

    ```
    <?php x_slider(array('category_name' => 'featured')); ?>
    ```

  I want to change the order, how to do that?

As already mentioned before, you can use [WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query)
syntax for customizing your slider.
 Ex: Show only posts from “Featured” category
ordered by date limiting to 5 slides max

    ```
    <?php x_slider(array('category_name' => 'featured', 'orderby' => 'date', 'order' => 'DESC', posts_per_page => 5)); ?>
    ```

  How to change the slider image dimensions?

Accessing X_slider settings page right on the sidebar, click in “X-Slider Settings”,
on the “Slider Upload Options”
 section you’ll be able to change the width and height
settings.

  How to change the slider timeout?

On settings page 🙂

  This slider is too ugly, how to customize it?

You can write your own CSS if you want to. The slider structure is very simple. 
Basically it’s a div with the x-slider class “.x-slider”
 with a UL and the slides
are LI’s with a container wrapping a title, description and a button.

  Can i have multiple sliders on the same page?

Sure, just call `<?php x_slider(); ?>` as many times you want to.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“X-Slider” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “X-Slider&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/x-slider)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/x-slider/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/x-slider/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/x-slider/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/x-slider/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.4.2

 * Added schema.org markup

#### 1.3.1

 * Compatible with WordPress 4.4

#### 1.3.0

 * Added query feature to match WordPress Wp Query style. Now you can query your
   sliders the way you already know: using
    the wp query style.
 * Added a FAQ section on the docs

#### 1.2.0

 * New Featured: Slider Shortcode. Usage: [x-slider]
 * Settings page: Added a getting started section
 * Bugfix: Some CSS and Javascript changes for better compatibility with other themes
 * Added some screenshots in plugin page

#### 1.1.1

 * Bugfix: Checkbox not working correctly on settings page

#### 1.1.0

 * Added width, height and crop options to settings page
 * Minor admin layout changes

## Meta

 *  Versija **1.4.2**
 *  Pēdējo reizi atjaunots: **pirms 10 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 3.9.2 vai jaunāka **
 *  Pārbaudīts līdz: **4.4.34**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/x-slider/)
 * Birka:
 * [slider](https://lv.wordpress.org/plugins/tags/slider/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/x-slider/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

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

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/x-slider/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/x-slider/)