Plugin Directory

Changeset 887602


Ignore:
Timestamp:
04/04/2014 03:52:20 PM (12 years ago)
Author:
digitalissimo
Message:

Update json events

Location:
eventissimo
Files:
121 added
3 edited

Legend:

Unmodified
Added
Removed
  • eventissimo/trunk/README.txt

    r880069 r887602  
    55Requires at least: 3.4
    66Tested up to: 3.4
    7 Stable tag: 1.3.9
     7Stable tag: 1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    145145
    146146== Changelog ==
    147 
     147= 1.4 =
     148* Fixed problem json
    148149= 1.3.9 =
    149150* Fixed conflict Time events
  • eventissimo/trunk/eventissimo.php

    r880069 r887602  
    55Plugin URI: http://plugin.digitalissimoweb.it/eventissimo/
    66Description: Create and organize events into your site. Your events also automatically automatically created on Facebook and import FB's events.
    7 Version: 1.3.9
     7Version: 1.4
    88Author: Digitalissimo
    99Author URI: http://plugin.digitalissimoweb.it
     
    6161register_deactivation_hook( __FILE__, 'eventissimo_remove');
    6262
     63
     64
     65
    6366function eventissimo_setting() {
    6467    flush_rewrite_rules();
     
    430433 echo '<form method="post" action="options.php"> ';
    431434
    432     settings_fields('eventissimo-group');
    433     do_settings_sections('eventissimo-group');
     435    settings_fields('simplissimo-group');
     436    do_settings_sections('simplissimo-group');
    434437   
    435438    $valueMapsDefault = get_option('wp_locationCityDefault') . " " . get_option('wp_locationAdressDefault');
  • eventissimo/trunk/function.php

    r857719 r887602  
    176176function eventissimo_json_events($post_per_page=0,$type='null',$defined="",$order="ASC"){
    177177    $args = array( 'post_type' => 'events');
    178     $args["post_per_page"] = -1;
     178    $args["posts_per_page"] ="-1";
    179179    $args["post_status"] = "publish";
    180180    $loop =  get_posts( $args );
    181    
     181
    182182    $json_data = array();
    183183    global $upload_dir;
     184    //  var_dump ($loop);
    184185    foreach ( $loop as $post ) : setup_postdata( $post );
    185186        $id_events = $post->ID;
Note: See TracChangeset for help on using the changeset viewer.