Plugin Directory

Changeset 1503125


Ignore:
Timestamp:
09/26/2016 08:14:38 PM (9 years ago)
Author:
urre
Message:

tagging version 1.4.0

Location:
acf-fold-flexible-content
Files:
5 edited
10 copied

Legend:

Unmodified
Added
Removed
  • acf-fold-flexible-content/tags/1.4.0/acf-fold-flexible.php

    r1406491 r1503125  
    44Plugin URI: https://github.com/urre/acf-fold-flexible
    55Description: A simple plugin for enhancing the Advanced Custom Fields Flexible Content Field. Shows collapsed panels initially, and representing icons for each field type.
    6 Version: 1.3.1
     6Version: 1.4.0
    77Author: Urban Sanden
    88Author URI: http://urre.me
     
    1313*/
    1414
    15 /*  Copyright 2016 Urban Sanden (email: hej@urre.me)
     15/**  Copyright 2016 Urban Sanden (email: hej@urre.me)
    1616
    17     This program is free software; you can redistribute it and/or modify
    18     it under the terms of the GNU General Public License, version 2, as
    19     published by the Free Software Foundation.
     17This program is free software; you can redistribute it and/or modify
     18it under the terms of the GNU General Public License, version 2, as
     19published by the Free Software Foundation.
    2020
    21     This program is distributed in the hope that it will be useful,
    22     but WITHOUT ANY WARRANTY; without even the implied warranty of
    23     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24     GNU General Public License for more details.
     21This program is distributed in the hope that it will be useful,
     22but WITHOUT ANY WARRANTY; without even the implied warranty of
     23MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     24GNU General Public License for more details.
    2525
    26     You should have received a copy of the GNU General Public License
    27     along with this program; if not, write to the Free Software
    28     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    29 */
     26You should have received a copy of the GNU General Public License
     27along with this program; if not, write to the Free Software
     28Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     29 */
    3030
     31/**
     32 * Class ACFFoldFlexible
     33 */
    3134class ACFFoldFlexible {
    3235
    33     function __construct() {
     36    /**
     37     * Constructor
     38     */
     39    function __construct() {
    3440
    35         # Register admin styles and scripts
    36         add_action( 'admin_print_styles', array( $this, 'register_admin_styles' ) );
    37         add_action( 'admin_enqueue_scripts', array( $this, 'register_admin_scripts' ) );
     41        // Register admin css and scripts.
     42        add_action( 'admin_print_styles', array( $this, 'register_admin_styles' ) );
     43        add_action( 'admin_enqueue_scripts', array( $this, 'register_admin_scripts' ) );
     44    }
    3845
    39     }
     46    /**
     47     * Register admin css
     48     */
     49    public function register_admin_styles() {
     50        if ( is_admin() ) {
     51            wp_enqueue_style( 'acffoldflexible-plugin-styles', plugins_url( 'acf-fold-flexible-content/css/acf-fold-flexible.admin.css' ) );
     52        }
     53    }
    4054
    41     public function register_admin_styles() {
    42         if (is_admin()) {
    43             wp_enqueue_style( 'acffoldflexible-plugin-styles', plugins_url( 'acf-fold-flexible-content/css/acf-fold-flexible.admin.css' ) );
    44         }
    45     }
     55    /**
     56     * Register admin scripts
     57     */
     58    public function register_admin_scripts() {
    4659
    47     public function register_admin_scripts() {
     60        if ( is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {
     61            wp_enqueue_script( 'acffoldflexible-adminpro-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.pro.js' ), array( 'jquery' ) );
     62        } else {
     63            wp_enqueue_script( 'acffoldflexible-admin-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.js' ), array( 'jquery' ) );
     64        }
     65        wp_enqueue_script( 'acffoldflexible-tooltip', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.tooltip.js' ), array( 'jquery' ) );
    4866
    49         wp_enqueue_script( 'acffoldflexible-admin-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.js' ), array('jquery') );
    50         wp_enqueue_script( 'acffoldflexible-tooltip', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.tooltip.js' ), array('jquery') );
    51 
    52     }
    53 
     67    }
    5468}
    5569
  • acf-fold-flexible-content/tags/1.4.0/css/acf-fold-flexible.admin.css

    r1162826 r1503125  
    7575}
    7676
    77 .foldicon--page_link:before {
     77.foldicon--page_link:before,
     78.foldicon--page-link:before {
    7879    content: "\f325";
    7980}
  • acf-fold-flexible-content/tags/1.4.0/js/acf-fold-flexible.admin.js

    r1406491 r1503125  
    33    'use strict';
    44
     5    var ACFFoldFlexibleContent = {
     6
     7        // elements: {
     8
     9        // },
     10
     11        // settings: {
     12           
     13        // },
     14
     15            init: function() {
     16
     17                // Add icons
     18                this.addIcons();
     19
     20                // Support native collapser
     21                this.nativeCollapser();
     22
     23                // Toggling of panel groups
     24                this.togglePanels();
     25
     26            },
     27
     28            addIcons: function() {
     29
     30                // Check if ACF Flexible Content fields exists at all
     31                if ($('.acf-fc-layout-handle').length) {
     32
     33                    // Add expand icons for panels
     34                    $('.acf-fc-layout-handle').prepend('<span class="foldicon foldicon--expand"></span');
     35
     36                    // Add Daschicons depending on ACF Flexible Content Field types
     37                    var labels = $('.acf-fc-layout-handle');
     38
     39                    // Check every panel
     40                    labels.each(function() {
     41
     42                        $(this).removeClass('open');
     43                        $(this).parent().attr('data-toggle', 'closed');
     44                        $(this).nextAll('.row_layout').first().hide();
     45                       
     46                        // This very field type group
     47                        var group = $(this);
     48                        var fields = [];
     49
     50                        // Add corresponding icons
     51                        $.each( $("table.widefat.acf_input tr"), function() {               
     52
     53                            var fieldtype = $.grep(this.className.split(" "), function(v, i){
     54                                return v.indexOf('field_type-') === 0;
     55                            }).join().replace('field_type-','');
     56
     57                            if($.inArray(fieldtype, fields) === -1) {
     58                                fields.push(fieldtype);
     59                                group.append('<i rel="tooltip" title="' + fieldtype + '" class="foldicon foldicon--' + fieldtype + '"></i>');
     60                            }
     61
     62                        });     
     63
     64                    });
     65
     66                }
     67
     68            },
     69
     70            nativeCollapser: function() {
     71
     72                // Toggle handle open/closed on the native collapser on ACF PRO (released in 5.3.1)
     73                $(document).on('click', '*[data-event="collapse-layout"]', function(e) {
     74
     75                    var nativeCollapser = $(this);
     76
     77                    if(!nativeCollapser.parent().parent().parent().hasClass('-collapsed') ) {
     78                        nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').addClass('open');
     79                    } else {
     80                        nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').removeClass('open');
     81                    }
     82
     83                    e.preventDefault();
     84
     85                });
     86            },
     87
     88            togglePanels: function() {
     89
     90                // Open/Close panels
     91                $(document).on('click', '.acf-fc-layout-handle', function() {
     92
     93                    var toggle_list = $(this);
     94
     95                    // Toggle open class
     96                    if($(this).next('.row_layout').css("display") == "none") {
     97                        toggle_list.removeClass('open');
     98                    } else {
     99                        toggle_list.addClass('open');
     100                    }
     101                   
     102                });
     103
     104            }
     105
     106
     107        };
     108
    5109    $(function() {
    6110
    7         var acfpro = false;
    8 
    9         // Detect ACF Pro
    10         if($("#acf-pro-input-css").length) {
    11             acfpro = true;
    12         }
    13 
    14         // Check if ACF Flexible Content fields exists at all
    15         if ($('.acf-fc-layout-handle').length) {
    16 
    17             // Add expand icons for panels
    18             $('.acf-fc-layout-handle').prepend('<span class="foldicon foldicon--expand"></span');
    19 
    20             // Add Daschicons depending on ACF Flexible Content Field types
    21             var labels = $('.acf-fc-layout-handle');
    22 
    23             // Check every panel
    24             labels.each(function() {
    25 
    26                 // Fold everything on non ACF Pro
    27                 if(!acfpro) {
    28                     $(this).removeClass('open');
    29                     $(this).parent().attr('data-toggle', 'closed');
    30                     $(this).nextAll('.row_layout').first().hide();
    31                 }
    32 
    33                 // This very field type group
    34                 var group = $(this);
    35                 var fields = [];
    36 
    37                 // Add corresponding icons
    38                 if(!acfpro) {
    39                     $.each( $("table.widefat.acf_input tr"), function() {               
    40 
    41                         var fieldtype = $.grep(this.className.split(" "), function(v, i){
    42                             return v.indexOf('field_type-') === 0;
    43                         }).join().replace('field_type-','');
    44 
    45                         if($.inArray(fieldtype, fields) === -1) {
    46                             fields.push(fieldtype);
    47                             group.append('<i rel="tooltip" title="' + fieldtype + '" class="foldicon foldicon--' + fieldtype + '"></i>');
    48                         }
    49 
    50                     });
    51 
    52                     } else {
    53                         $.each( $(".acf-fields .acf-field"), function() {
    54 
    55                             var fieldtype = $.grep(this.className.split(" "), function(v, i){
    56                                 return v.indexOf('acf-field-') === 0;
    57                             }).join().replace('acf-field-','');
    58 
    59                             var fieldtype_pro = fieldtype.substr(0, fieldtype.indexOf(',')).replace('_acfpro', '');
    60 
    61                             if($.inArray(fieldtype_pro, fields) === -1) {
    62                                 fields.push(fieldtype_pro);
    63                                 group.append('<i rel="tooltip" title="' + fieldtype_pro +'" class="foldicon foldicon--' + fieldtype_pro + '"></i>');   
    64                             }
    65 
    66                         });
    67                     }
    68 
    69             });
    70 
    71             // Toggle handle open/closed on the native collapser on ACF PRO (released in 5.3.1)
    72             $(document).on('click', '*[data-event="collapse-layout"]', function(e) {
    73 
    74                 var nativeCollapser = $(this);
    75 
    76                 if(!nativeCollapser.parent().parent().parent().hasClass('-collapsed') ) {
    77                     nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').addClass('open');
    78                 } else {
    79                     nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').removeClass('open');
    80                 }
    81 
    82                 e.preventDefault();
    83 
    84             });
    85 
    86             // Open/Close panels
    87             $(document).on('click', '.acf-fc-layout-handle', function() {
    88 
    89                 var toggle_list = $(this);
    90 
    91                 // Toggle open class
    92                 if(acfpro) {
    93                     if(!$(this).parent().hasClass('-collapsed') ) {
    94                         toggle_list.addClass('open');
    95                     } else {
    96                         toggle_list.removeClass('open');
    97                     }
    98                 } else {
    99                     if($(this).next('.row_layout').css("display") == "none") {
    100                         toggle_list.removeClass('open');
    101                     } else {
    102                         toggle_list.addClass('open');
    103                     }
    104 
    105                 }
    106 
    107             });
    108 
    109         }
     111        ACFFoldFlexibleContent.init();
    110112
    111113    });
  • acf-fold-flexible-content/tags/1.4.0/readme.md

    r1406491 r1503125  
    44
    55![Screenshot](https://raw.github.com/urre/acf-fold-flexible/master/screenshot-1.png)
    6 
    7 ![Gif](https://dl.dropboxusercontent.com/u/1162759/acf-fold-flexible.gif)
    86
    97## Features
     
    2523
    2624## Changelog
     25+ 1.4.0: Added support for the latest version of ACF PRO
    2726+ 1.3.1: Added support and match markup changes for the latest ACF PRO.
    2827+ 1.3.0: Icons now line up in the same order that the is placed in the Flexible Field group.
  • acf-fold-flexible-content/tags/1.4.0/readme.txt

    r1406491 r1503125  
    44Tags: fields, acf, advanced custom fields, custom fields, collapse, expand, multiple, acfpro, PRO
    55Requires at least: 3.0
    6 Tested up to: 4.5.1
    7 Stable tag: 1.3.1
     6Tested up to: 4.6.1
     7Stable tag: 1.4.0
    88
    99A simple plugin for enhancing the ACF Flexible Content Field. Collapsed flexible content panels with helping icons representing each field types inside.
     
    3333
    3434== Changelog ==
     35
     36= 1.4.0 =
     37Added support for the latest version of ACF PRO
    3538
    3639= 1.3.1 =
  • acf-fold-flexible-content/trunk/acf-fold-flexible.php

    r1406491 r1503125  
    44Plugin URI: https://github.com/urre/acf-fold-flexible
    55Description: A simple plugin for enhancing the Advanced Custom Fields Flexible Content Field. Shows collapsed panels initially, and representing icons for each field type.
    6 Version: 1.3.1
     6Version: 1.4.0
    77Author: Urban Sanden
    88Author URI: http://urre.me
     
    1313*/
    1414
    15 /*  Copyright 2016 Urban Sanden (email: hej@urre.me)
     15/**  Copyright 2016 Urban Sanden (email: hej@urre.me)
    1616
    17     This program is free software; you can redistribute it and/or modify
    18     it under the terms of the GNU General Public License, version 2, as
    19     published by the Free Software Foundation.
     17This program is free software; you can redistribute it and/or modify
     18it under the terms of the GNU General Public License, version 2, as
     19published by the Free Software Foundation.
    2020
    21     This program is distributed in the hope that it will be useful,
    22     but WITHOUT ANY WARRANTY; without even the implied warranty of
    23     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24     GNU General Public License for more details.
     21This program is distributed in the hope that it will be useful,
     22but WITHOUT ANY WARRANTY; without even the implied warranty of
     23MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     24GNU General Public License for more details.
    2525
    26     You should have received a copy of the GNU General Public License
    27     along with this program; if not, write to the Free Software
    28     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    29 */
     26You should have received a copy of the GNU General Public License
     27along with this program; if not, write to the Free Software
     28Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     29 */
    3030
     31/**
     32 * Class ACFFoldFlexible
     33 */
    3134class ACFFoldFlexible {
    3235
    33     function __construct() {
     36    /**
     37     * Constructor
     38     */
     39    function __construct() {
    3440
    35         # Register admin styles and scripts
    36         add_action( 'admin_print_styles', array( $this, 'register_admin_styles' ) );
    37         add_action( 'admin_enqueue_scripts', array( $this, 'register_admin_scripts' ) );
     41        // Register admin css and scripts.
     42        add_action( 'admin_print_styles', array( $this, 'register_admin_styles' ) );
     43        add_action( 'admin_enqueue_scripts', array( $this, 'register_admin_scripts' ) );
     44    }
    3845
    39     }
     46    /**
     47     * Register admin css
     48     */
     49    public function register_admin_styles() {
     50        if ( is_admin() ) {
     51            wp_enqueue_style( 'acffoldflexible-plugin-styles', plugins_url( 'acf-fold-flexible-content/css/acf-fold-flexible.admin.css' ) );
     52        }
     53    }
    4054
    41     public function register_admin_styles() {
    42         if (is_admin()) {
    43             wp_enqueue_style( 'acffoldflexible-plugin-styles', plugins_url( 'acf-fold-flexible-content/css/acf-fold-flexible.admin.css' ) );
    44         }
    45     }
     55    /**
     56     * Register admin scripts
     57     */
     58    public function register_admin_scripts() {
    4659
    47     public function register_admin_scripts() {
     60        if ( is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {
     61            wp_enqueue_script( 'acffoldflexible-adminpro-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.pro.js' ), array( 'jquery' ) );
     62        } else {
     63            wp_enqueue_script( 'acffoldflexible-admin-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.js' ), array( 'jquery' ) );
     64        }
     65        wp_enqueue_script( 'acffoldflexible-tooltip', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.tooltip.js' ), array( 'jquery' ) );
    4866
    49         wp_enqueue_script( 'acffoldflexible-admin-script', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.admin.js' ), array('jquery') );
    50         wp_enqueue_script( 'acffoldflexible-tooltip', plugins_url( 'acf-fold-flexible-content/js/acf-fold-flexible.tooltip.js' ), array('jquery') );
    51 
    52     }
    53 
     67    }
    5468}
    5569
  • acf-fold-flexible-content/trunk/css/acf-fold-flexible.admin.css

    r1162826 r1503125  
    7575}
    7676
    77 .foldicon--page_link:before {
     77.foldicon--page_link:before,
     78.foldicon--page-link:before {
    7879    content: "\f325";
    7980}
  • acf-fold-flexible-content/trunk/js/acf-fold-flexible.admin.js

    r1406491 r1503125  
    33    'use strict';
    44
     5    var ACFFoldFlexibleContent = {
     6
     7        // elements: {
     8
     9        // },
     10
     11        // settings: {
     12           
     13        // },
     14
     15            init: function() {
     16
     17                // Add icons
     18                this.addIcons();
     19
     20                // Support native collapser
     21                this.nativeCollapser();
     22
     23                // Toggling of panel groups
     24                this.togglePanels();
     25
     26            },
     27
     28            addIcons: function() {
     29
     30                // Check if ACF Flexible Content fields exists at all
     31                if ($('.acf-fc-layout-handle').length) {
     32
     33                    // Add expand icons for panels
     34                    $('.acf-fc-layout-handle').prepend('<span class="foldicon foldicon--expand"></span');
     35
     36                    // Add Daschicons depending on ACF Flexible Content Field types
     37                    var labels = $('.acf-fc-layout-handle');
     38
     39                    // Check every panel
     40                    labels.each(function() {
     41
     42                        $(this).removeClass('open');
     43                        $(this).parent().attr('data-toggle', 'closed');
     44                        $(this).nextAll('.row_layout').first().hide();
     45                       
     46                        // This very field type group
     47                        var group = $(this);
     48                        var fields = [];
     49
     50                        // Add corresponding icons
     51                        $.each( $("table.widefat.acf_input tr"), function() {               
     52
     53                            var fieldtype = $.grep(this.className.split(" "), function(v, i){
     54                                return v.indexOf('field_type-') === 0;
     55                            }).join().replace('field_type-','');
     56
     57                            if($.inArray(fieldtype, fields) === -1) {
     58                                fields.push(fieldtype);
     59                                group.append('<i rel="tooltip" title="' + fieldtype + '" class="foldicon foldicon--' + fieldtype + '"></i>');
     60                            }
     61
     62                        });     
     63
     64                    });
     65
     66                }
     67
     68            },
     69
     70            nativeCollapser: function() {
     71
     72                // Toggle handle open/closed on the native collapser on ACF PRO (released in 5.3.1)
     73                $(document).on('click', '*[data-event="collapse-layout"]', function(e) {
     74
     75                    var nativeCollapser = $(this);
     76
     77                    if(!nativeCollapser.parent().parent().parent().hasClass('-collapsed') ) {
     78                        nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').addClass('open');
     79                    } else {
     80                        nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').removeClass('open');
     81                    }
     82
     83                    e.preventDefault();
     84
     85                });
     86            },
     87
     88            togglePanels: function() {
     89
     90                // Open/Close panels
     91                $(document).on('click', '.acf-fc-layout-handle', function() {
     92
     93                    var toggle_list = $(this);
     94
     95                    // Toggle open class
     96                    if($(this).next('.row_layout').css("display") == "none") {
     97                        toggle_list.removeClass('open');
     98                    } else {
     99                        toggle_list.addClass('open');
     100                    }
     101                   
     102                });
     103
     104            }
     105
     106
     107        };
     108
    5109    $(function() {
    6110
    7         var acfpro = false;
    8 
    9         // Detect ACF Pro
    10         if($("#acf-pro-input-css").length) {
    11             acfpro = true;
    12         }
    13 
    14         // Check if ACF Flexible Content fields exists at all
    15         if ($('.acf-fc-layout-handle').length) {
    16 
    17             // Add expand icons for panels
    18             $('.acf-fc-layout-handle').prepend('<span class="foldicon foldicon--expand"></span');
    19 
    20             // Add Daschicons depending on ACF Flexible Content Field types
    21             var labels = $('.acf-fc-layout-handle');
    22 
    23             // Check every panel
    24             labels.each(function() {
    25 
    26                 // Fold everything on non ACF Pro
    27                 if(!acfpro) {
    28                     $(this).removeClass('open');
    29                     $(this).parent().attr('data-toggle', 'closed');
    30                     $(this).nextAll('.row_layout').first().hide();
    31                 }
    32 
    33                 // This very field type group
    34                 var group = $(this);
    35                 var fields = [];
    36 
    37                 // Add corresponding icons
    38                 if(!acfpro) {
    39                     $.each( $("table.widefat.acf_input tr"), function() {               
    40 
    41                         var fieldtype = $.grep(this.className.split(" "), function(v, i){
    42                             return v.indexOf('field_type-') === 0;
    43                         }).join().replace('field_type-','');
    44 
    45                         if($.inArray(fieldtype, fields) === -1) {
    46                             fields.push(fieldtype);
    47                             group.append('<i rel="tooltip" title="' + fieldtype + '" class="foldicon foldicon--' + fieldtype + '"></i>');
    48                         }
    49 
    50                     });
    51 
    52                     } else {
    53                         $.each( $(".acf-fields .acf-field"), function() {
    54 
    55                             var fieldtype = $.grep(this.className.split(" "), function(v, i){
    56                                 return v.indexOf('acf-field-') === 0;
    57                             }).join().replace('acf-field-','');
    58 
    59                             var fieldtype_pro = fieldtype.substr(0, fieldtype.indexOf(',')).replace('_acfpro', '');
    60 
    61                             if($.inArray(fieldtype_pro, fields) === -1) {
    62                                 fields.push(fieldtype_pro);
    63                                 group.append('<i rel="tooltip" title="' + fieldtype_pro +'" class="foldicon foldicon--' + fieldtype_pro + '"></i>');   
    64                             }
    65 
    66                         });
    67                     }
    68 
    69             });
    70 
    71             // Toggle handle open/closed on the native collapser on ACF PRO (released in 5.3.1)
    72             $(document).on('click', '*[data-event="collapse-layout"]', function(e) {
    73 
    74                 var nativeCollapser = $(this);
    75 
    76                 if(!nativeCollapser.parent().parent().parent().hasClass('-collapsed') ) {
    77                     nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').addClass('open');
    78                 } else {
    79                     nativeCollapser.parent().parent().parent().find('.acf-fc-layout-handle').removeClass('open');
    80                 }
    81 
    82                 e.preventDefault();
    83 
    84             });
    85 
    86             // Open/Close panels
    87             $(document).on('click', '.acf-fc-layout-handle', function() {
    88 
    89                 var toggle_list = $(this);
    90 
    91                 // Toggle open class
    92                 if(acfpro) {
    93                     if(!$(this).parent().hasClass('-collapsed') ) {
    94                         toggle_list.addClass('open');
    95                     } else {
    96                         toggle_list.removeClass('open');
    97                     }
    98                 } else {
    99                     if($(this).next('.row_layout').css("display") == "none") {
    100                         toggle_list.removeClass('open');
    101                     } else {
    102                         toggle_list.addClass('open');
    103                     }
    104 
    105                 }
    106 
    107             });
    108 
    109         }
     111        ACFFoldFlexibleContent.init();
    110112
    111113    });
  • acf-fold-flexible-content/trunk/readme.md

    r1406491 r1503125  
    44
    55![Screenshot](https://raw.github.com/urre/acf-fold-flexible/master/screenshot-1.png)
    6 
    7 ![Gif](https://dl.dropboxusercontent.com/u/1162759/acf-fold-flexible.gif)
    86
    97## Features
     
    2523
    2624## Changelog
     25+ 1.4.0: Added support for the latest version of ACF PRO
    2726+ 1.3.1: Added support and match markup changes for the latest ACF PRO.
    2827+ 1.3.0: Icons now line up in the same order that the is placed in the Flexible Field group.
  • acf-fold-flexible-content/trunk/readme.txt

    r1406491 r1503125  
    44Tags: fields, acf, advanced custom fields, custom fields, collapse, expand, multiple, acfpro, PRO
    55Requires at least: 3.0
    6 Tested up to: 4.5.1
    7 Stable tag: 1.3.1
     6Tested up to: 4.6.1
     7Stable tag: 1.4.0
    88
    99A simple plugin for enhancing the ACF Flexible Content Field. Collapsed flexible content panels with helping icons representing each field types inside.
     
    3333
    3434== Changelog ==
     35
     36= 1.4.0 =
     37Added support for the latest version of ACF PRO
    3538
    3639= 1.3.1 =
Note: See TracChangeset for help on using the changeset viewer.