Plugin Directory

Changeset 2708122


Ignore:
Timestamp:
04/11/2022 03:15:15 PM (4 years ago)
Author:
datacake
Message:

Building 1.2.8

Location:
datacake-core
Files:
1 deleted
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • datacake-core/tags/1.2.8/README.md

    r2699568 r2708122  
    1616City SEO, this will replicate a text changing the city in the text for SEO purposes
    1717
    18 * Version: V1.2.7
     18* Version: V1.2.8
    1919
    2020
  • datacake-core/tags/1.2.8/README.txt

    r2699568 r2708122  
    66Tested up to: 5.9.2
    77Requires PHP: 7.2
    8 Stable tag: 1.2.7
    9 Last Tag: 1.2.6
     8Stable tag: 1.2.8
     9Last Tag: 1.2.7
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • datacake-core/tags/1.2.8/datacake_core.php

    r2699568 r2708122  
    1616 * Plugin URI:        http://www.datacake.com.br
    1717 * Description:       Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie
    18  * Version:           1.2.7
     18 * Version:           1.2.8
    1919 * Author:            Paulo Peres Jr
    2020 * Author URI:        https://github.com/PauloPeres
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'DATACAKE_CORE_VERSION', '1.2.7' );
     38define( 'DATACAKE_CORE_VERSION', '1.2.8' );
    3939
    4040require_once __DIR__ . '/vendor/autoload.php';
  • datacake-core/tags/1.2.8/src/Pub/js/datacake_core-public.js

    r2698960 r2708122  
    66    $('.compartivo_canais_busca #in-canal-type, .compartivo_canais_busca #in-canal-tag, .compartivo_canais_busca #in-canal-plano, .compartivo_canais_busca #in-canal-search').on('change blur search',function(){
    77        filter();
    8     }); 
     8    });
     9   
    910    function filter(){
    10         var current_type =  $('.compartivo_canais_busca #in-canal-type').val();
    11         var current_tag =  $('.compartivo_canais_busca #in-canal-tag').val();
    12         var current_plano =  $('.compartivo_canais_busca #in-canal-plano').val();
     11        var current_type = $('.compartivo_canais_busca #in-canal-type').val();
     12        var current_tag = $('.compartivo_canais_busca #in-canal-tag').val();
     13        var current_plano = $('.compartivo_canais_busca #in-canal-plano').val();
    1314        var current_name = $('.compartivo_canais_busca #in-canal-search').val();
    1415       
    1516        $('.channel-list .channel').show();
     17       
     18        var mylist = $('.channel-list #dk_list_class');
     19        var listitems = mylist.find(".channel");
     20       
     21        listitems.sort(function(a, b) {
     22            var numberA = parseFloat($(a).attr('data-number'));
     23            var numberB = parseFloat($(b).attr('data-number'));
     24            return (numberA < numberB) ? -1 : (numberA > numberB) ? 1 : 0;
     25        })
     26        $(mylist).append(listitems);
     27       
    1628        $('.channel-list .channel').each(function(index){
    1729            var $el = $(this);
    18             console.log($el.data('tags'),$el.data('cats'),$el.data('prods'))
    19            
    2030           
    2131            if(current_plano && current_plano != ""){
     
    4454        })
    4555    }
    46     filter();
     56
     57    setTimeout(function() {
     58        filter();   
     59    }, 500);
     60   
    4761});
  • datacake-core/tags/1.2.8/src/Shortcodes/ChannelShortCode.php

    r2699568 r2708122  
    9191               
    9292
    93                 $html_channels .= "<div class='$list_item_class $canal->ID $canal->post_name text-center valign_top channel' data-prods='$prod_slugs' data-cats='$cat_slugs' data-tags='$tags_slugs' data-number='$number' data-name='$canal->post_title' >
     93                $html_channels .= "<div class='$list_item_class $canal->ID $canal->post_name text-center valign_top channel' data-prods='$prod_slugs' data-cats='$cat_slugs' data-tags='$tags_slugs'
     94                 data-number='$number' data-name='$canal->post_title' >
    9495                <img alt='Imagem do $canal->post_title' src='$image' class='channel-image' id='channel-image-$canal->ID'>
    9596                $canal->post_title<br>$number
     
    134135                </div>";
    135136        }
    136         $html .= "<div id=\"$id\" class=\"wpb_row channel-list\"><div class=\"$list_class\">";
     137        $html .= "<div id=\"$id\" class=\"wpb_row channel-list\"><div id='dk_list_class' class=\"$list_class\">";
    137138        $html .= $html_channels;
    138139        $html .= "</div></div>";
  • datacake-core/trunk/README.md

    r2699568 r2708122  
    1616City SEO, this will replicate a text changing the city in the text for SEO purposes
    1717
    18 * Version: V1.2.7
     18* Version: V1.2.8
    1919
    2020
  • datacake-core/trunk/README.txt

    r2699568 r2708122  
    66Tested up to: 5.9.2
    77Requires PHP: 7.2
    8 Stable tag: 1.2.7
    9 Last Tag: 1.2.6
     8Stable tag: 1.2.8
     9Last Tag: 1.2.7
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • datacake-core/trunk/datacake_core.php

    r2699568 r2708122  
    1616 * Plugin URI:        http://www.datacake.com.br
    1717 * Description:       Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie
    18  * Version:           1.2.7
     18 * Version:           1.2.8
    1919 * Author:            Paulo Peres Jr
    2020 * Author URI:        https://github.com/PauloPeres
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'DATACAKE_CORE_VERSION', '1.2.7' );
     38define( 'DATACAKE_CORE_VERSION', '1.2.8' );
    3939
    4040require_once __DIR__ . '/vendor/autoload.php';
  • datacake-core/trunk/src/Pub/js/datacake_core-public.js

    r2698960 r2708122  
    66    $('.compartivo_canais_busca #in-canal-type, .compartivo_canais_busca #in-canal-tag, .compartivo_canais_busca #in-canal-plano, .compartivo_canais_busca #in-canal-search').on('change blur search',function(){
    77        filter();
    8     }); 
     8    });
     9   
    910    function filter(){
    10         var current_type =  $('.compartivo_canais_busca #in-canal-type').val();
    11         var current_tag =  $('.compartivo_canais_busca #in-canal-tag').val();
    12         var current_plano =  $('.compartivo_canais_busca #in-canal-plano').val();
     11        var current_type = $('.compartivo_canais_busca #in-canal-type').val();
     12        var current_tag = $('.compartivo_canais_busca #in-canal-tag').val();
     13        var current_plano = $('.compartivo_canais_busca #in-canal-plano').val();
    1314        var current_name = $('.compartivo_canais_busca #in-canal-search').val();
    1415       
    1516        $('.channel-list .channel').show();
     17       
     18        var mylist = $('.channel-list #dk_list_class');
     19        var listitems = mylist.find(".channel");
     20       
     21        listitems.sort(function(a, b) {
     22            var numberA = parseFloat($(a).attr('data-number'));
     23            var numberB = parseFloat($(b).attr('data-number'));
     24            return (numberA < numberB) ? -1 : (numberA > numberB) ? 1 : 0;
     25        })
     26        $(mylist).append(listitems);
     27       
    1628        $('.channel-list .channel').each(function(index){
    1729            var $el = $(this);
    18             console.log($el.data('tags'),$el.data('cats'),$el.data('prods'))
    19            
    2030           
    2131            if(current_plano && current_plano != ""){
     
    4454        })
    4555    }
    46     filter();
     56
     57    setTimeout(function() {
     58        filter();   
     59    }, 500);
     60   
    4761});
  • datacake-core/trunk/src/Shortcodes/ChannelShortCode.php

    r2699568 r2708122  
    9191               
    9292
    93                 $html_channels .= "<div class='$list_item_class $canal->ID $canal->post_name text-center valign_top channel' data-prods='$prod_slugs' data-cats='$cat_slugs' data-tags='$tags_slugs' data-number='$number' data-name='$canal->post_title' >
     93                $html_channels .= "<div class='$list_item_class $canal->ID $canal->post_name text-center valign_top channel' data-prods='$prod_slugs' data-cats='$cat_slugs' data-tags='$tags_slugs'
     94                 data-number='$number' data-name='$canal->post_title' >
    9495                <img alt='Imagem do $canal->post_title' src='$image' class='channel-image' id='channel-image-$canal->ID'>
    9596                $canal->post_title<br>$number
     
    134135                </div>";
    135136        }
    136         $html .= "<div id=\"$id\" class=\"wpb_row channel-list\"><div class=\"$list_class\">";
     137        $html .= "<div id=\"$id\" class=\"wpb_row channel-list\"><div id='dk_list_class' class=\"$list_class\">";
    137138        $html .= $html_channels;
    138139        $html .= "</div></div>";
Note: See TracChangeset for help on using the changeset viewer.