Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

Advanced Custom Fields: Range Field

Περιγραφή

This is an add-on for the Advanced Custom Fields WordPress plugin, that allows you to add a jQuery Range Slider field type. http://jqueryui.com/slider/

Read more here: https://github.com/viriava/acf-field-range

Στιγμιότυπα

  • Default look

Εγκατάσταση

This add-on can be treated as both a WP plugin and a theme include.

Plugin

  1. Copy the ‘acf-range’ folder into your plugins folder
  2. Activate the plugin via the Plugins admin page

Include

  1. Copy the ‘acf-range’ folder into your theme folder (can use sub folders). You can place the folder anywhere inside the ‘wp-content’ directory
  2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-range.php file)

    add_action(‘acf/register_fields’, ‘my_register_fields’);

    function my_register_fields()
    {
    include_once(‘acf-range/acf-range.php’);
    }

Συχνές Ερωτήσεις

What does it return?

If the type is Default, it returns the number.

If the type is Range, it returns an array of minimum and maximum numbers.

    array(2) { 
        ["min"]=> float(0) 
        ["max"]=> float(0) 
    }

Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

Συνεισφέροντες & Προγραμματιστές

“Advanced Custom Fields: Range Field” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

1.1.4

  • If a new post/page is created with a range field the default value is not returned since the user change the slider. I have changed the code so that the default value is returned if the user doesn’t change the slider.

1.1.3

  • ACF5 compatible

1.1.2

  • ZERO bug fixed

1.1.1

  • Updated parseInt to parseFloat

1.1.0

  • Added descriptions for fields
  • Added default values
  • Updated prepend and append functionality

1.0.0

  • Initial version