Plugin Directory

Changeset 2211998


Ignore:
Timestamp:
12/14/2019 08:57:49 AM (6 years ago)
Author:
orbam7819
Message:

tagging version 0.5.9

Location:
events-as-posts
Files:
12 deleted
6 edited
15 copied

Legend:

Unmodified
Added
Removed
  • events-as-posts/tags/0.5.7/readme.txt

    r2096074 r2211998  
    7575
    7676= 0.5.7 — 27 of May, 2019 =
    77 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page
    78 
    79 = 0.5.6 — 27 of May, 2019 =
    80 * Removed front-end and admin stylesheets to improve performance
    81 
    82 = 0.5.4 / 0.5.5 — 25 of May, 2019 =
    83 * Updated the code that displays the event location to remove white spaces appearing before the commas
    84 
    85 = 0.5.3 — 23 of November, 2018 =
    86 * Fixed an error appearing when installing the plugin for the first time
    87 
    88 = 0.5.2 — 6 of November, 2018 =
    89 * Added option to display calendar icon and clock icon before date and time
    90 
    91 = 0.5.1 — 5 of November, 2018 =
    92 * Added custom css option
    93 
    94 = 0.5 — 4 of November, 2018 =
    95 * Added date and time format options
    96 * Added date and time custom format meta keys to use with other plugins
    97 * General improvements in the plugin and the code
    98 
    99 = 0.4 — 5 of October, 2018 =
    100 * Added 'Country' and 'Additional information' fields
    101 * Added 'Display categories' option for list of events
    102 * Improved settings page and removed options for colors ( apart from background color ) in style tab
    103 
    104 = 0.3 — 3 of October, 2018 =
    105 * Added 'Read more link' option for list of events
    106 * Added admin stylesheet
    107 * Improved location fields when adding or editing an event
    108 
    109 = 0.2.1 — 2 of October, 2018 =
    110 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'
    111 
    112 = 0.2 — 2 of October, 2018 =
    113 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'
    114 * List of events responsive
     77* Cleaned up code that displays the styles, and correct a wrong option name in setting's page.
    11578
    11679= 0.1 — 15 of September, 2018 =
    117 * First release
     80* First release.
  • events-as-posts/tags/0.5.8/readme.txt

    r2096400 r2211998  
    7575
    7676= 0.5.8 — 28 of May, 2019 =
    77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles
     77* Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles.
    7878
    7979= 0.5.7 — 27 of May, 2019 =
    80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page
    81 
    82 = 0.5.6 — 27 of May, 2019 =
    83 * Removed front-end and admin stylesheets to improve performance
    84 
    85 = 0.5.4 / 0.5.5 — 25 of May, 2019 =
    86 * Updated the code that displays the event location to remove white spaces appearing before the commas
    87 
    88 = 0.5.3 — 23 of November, 2018 =
    89 * Fixed an error appearing when installing the plugin for the first time
    90 
    91 = 0.5.2 — 6 of November, 2018 =
    92 * Added option to display calendar icon and clock icon before date and time
    93 
    94 = 0.5.1 — 5 of November, 2018 =
    95 * Added custom css option
    96 
    97 = 0.5 — 4 of November, 2018 =
    98 * Added date and time format options
    99 * Added date and time custom format meta keys to use with other plugins
    100 * General improvements in the plugin and the code
    101 
    102 = 0.4 — 5 of October, 2018 =
    103 * Added 'Country' and 'Additional information' fields
    104 * Added 'Display categories' option for list of events
    105 * Improved settings page and removed options for colors ( apart from background color ) in style tab
    106 
    107 = 0.3 — 3 of October, 2018 =
    108 * Added 'Read more link' option for list of events
    109 * Added admin stylesheet
    110 * Improved location fields when adding or editing an event
    111 
    112 = 0.2.1 — 2 of October, 2018 =
    113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'
    114 
    115 = 0.2 — 2 of October, 2018 =
    116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'
    117 * List of events responsive
     80* Cleaned up code that displays the styles, and correct a wrong option name in setting's page.
    11881
    11982= 0.1 — 15 of September, 2018 =
    120 * First release
     83* First release.
  • events-as-posts/tags/0.5.9/eap-functions.php

    r2096400 r2211998  
    2222    $bg_color = ( isset( $setting['bg_color'] ) && ! empty ( $setting['bg_color'] ) ) ? $setting['bg_color'] : 'initial';
    2323    $event_bg_color = ( isset( $setting['event_bg_color'] ) && ! empty ( $setting['event_bg_color'] ) ) ? $setting['event_bg_color'] : 'initial';
    24    
     24
    2525    $css = null;
    26    
     26
    2727    $css .= ".eap__event { padding: 1em; background: $event_bg_color; }";
    2828
    2929    if ( $setting['layout'] == 1 || ! isset( $setting['layout'] ) ) {
    30        
     30
    3131        $css .= ".eap__list { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: 1.6em; background: $bg_color; }" .
    3232                ".eap__title { margin: 0 0 .6em !important;}" .
     
    3434
    3535    } elseif ( $setting['layout'] == 2 ) {
    36        
     36
    3737        $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" .
    3838                ".eap__title { margin: .6em 0 .6em; }" .
     
    4040
    4141    } elseif ( $setting['layout'] == 3 ) {
    42            
     42
    4343        $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" .
    4444                ".eap__title { margin: .6em 0 .6em; }" .
    4545                "@media screen and (min-width: 576px) { .eap__list { grid-template-columns: repeat(3, 1fr); } }";
    4646    }
    47    
     47
    4848    if ( isset( $setting['custom_css'] ) && ! empty ( $setting['custom_css'] ) ) {
    4949        $css .= htmlentities( $setting['custom_css'] );
     
    109109        'category_name'  => $category,
    110110        'meta_query'     => array(
    111             'key' => 'eap_from_day',
    112             'value' => $date,
    113             'compare' => '>='
     111            'relation'   => 'OR',
     112            array(
     113                'key' => 'eap_from_day',
     114                'value' => $date,
     115                'compare' => '>='
     116            ),
     117            array(
     118                'key' => 'eap_until_day',
     119                'value' => $date,
     120                'compare' => '>='
     121            )
    114122        ),
    115123    );
     
    170178        'category_name'  => $category,
    171179        'meta_query'     => array(
    172             'key' => 'eap_from_day',
    173             'value' => $date,
    174             'compare' => '<'
     180            'relation'   => 'AND',
     181            array(
     182                'key' => 'eap_from_day',
     183                'value' => $date,
     184                'compare' => '<'
     185            ),
     186            array(
     187                'key' => 'eap_until_day',
     188                'value' => $date,
     189                'compare' => '<'
     190            )
    175191        ),
    176192    );
  • events-as-posts/tags/0.5.9/event-post-type.php

    r2096028 r2211998  
    4040        'menu_icon'         => 'dashicons-calendar-alt',
    4141        'taxonomies'        => array( 'category' ),
     42        'show_in_rest' => true
    4243    );
    4344
  • events-as-posts/tags/0.5.9/events-as-posts.php

    r2096400 r2211998  
    44Plugin URI:   https://wordpress.org/plugins/events-as-posts/
    55Description:  A simple plugin that allows you to post events on your site
    6 Version:      0.5.8
     6Version:      0.5.9
    77Author:       Ambrogio Piredda
    88Author URI:   https://profiles.wordpress.org/orbam7819
     
    3636if ( ! defined( 'EAP_VERSION' ) ) {
    3737
    38     define('EAP_VERSION', '0.5.8');
     38    define('EAP_VERSION', '0.5.9');
    3939}
    4040
  • events-as-posts/tags/0.5.9/readme.txt

    r2096400 r2211998  
    66Tags: event, events, event list, agenda
    77Requires at least: 4.8
    8 Tested up to: 5.2
    9 Stable tag: 0.5.8
     8Tested up to: 5.3
     9Stable tag: 0.5.9
    1010Requires PHP: 5.4
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1313
    14 A simple plugin that allows you to post events on your site
     14A simple plugin that allows you to post events on your site.
    1515
    1616== Description ==
     
    7474== Changelog ==
    7575
     76= 0.5.9 &mdash; 14 of December, 2019 =
     77* Added Gutenberg support to event post type, and fixed issue with events disappearing on future and past event lists depending on until day field settings.
     78
    7679= 0.5.8 &mdash; 28 of May, 2019 =
    77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles
     80* Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles.
    7881
    7982= 0.5.7 &mdash; 27 of May, 2019 =
    80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page
     83* Cleaned up code that displays the styles, and correct a wrong option name in setting's page.
    8184
    8285= 0.5.6 &mdash; 27 of May, 2019 =
    83 * Removed front-end and admin stylesheets to improve performance
     86* Removed front-end and admin stylesheets to improve performance.
    8487
    8588= 0.5.4 / 0.5.5 &mdash; 25 of May, 2019 =
    86 * Updated the code that displays the event location to remove white spaces appearing before the commas
     89* Updated the code that displays the event location to remove white spaces appearing before the commas.
    8790
    8891= 0.5.3 &mdash; 23 of November, 2018 =
    89 * Fixed an error appearing when installing the plugin for the first time
     92* Fixed an error appearing when installing the plugin for the first time.
    9093
    9194= 0.5.2 &mdash; 6 of November, 2018 =
    92 * Added option to display calendar icon and clock icon before date and time
     95* Added option to display calendar icon and clock icon before date and time.
    9396
    9497= 0.5.1 &mdash; 5 of November, 2018 =
    95 * Added custom css option
     98* Added custom css option.
    9699
    97100= 0.5 &mdash; 4 of November, 2018 =
    98 * Added date and time format options
    99 * Added date and time custom format meta keys to use with other plugins
    100 * General improvements in the plugin and the code
     101* Added date and time format options.
     102* Added date and time custom format meta keys to use with other plugins.
     103* General improvements in the plugin and the code.
    101104
    102105= 0.4 &mdash; 5 of October, 2018 =
    103 * Added 'Country' and 'Additional information' fields
    104 * Added 'Display categories' option for list of events
    105 * Improved settings page and removed options for colors ( apart from background color ) in style tab
     106* Added 'Country' and 'Additional information' fields.
     107* Added 'Display categories' option for list of events.
     108* Improved settings page and removed options for colors ( apart from background color ) in style tab.
    106109
    107110= 0.3 &mdash; 3 of October, 2018 =
    108 * Added 'Read more link' option for list of events
    109 * Added admin stylesheet
    110 * Improved location fields when adding or editing an event
     111* Added 'Read more link' option for list of events.
     112* Added admin stylesheet.
     113* Improved location fields when adding or editing an event.
    111114
    112115= 0.2.1 &mdash; 2 of October, 2018 =
    113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'
     116* Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'.
    114117
    115118= 0.2 &mdash; 2 of October, 2018 =
    116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'
    117 * List of events responsive
     119* Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'.
     120* List of events responsive.
    118121
    119122= 0.1 &mdash; 15 of September, 2018 =
    120 * First release
     123* First release.
  • events-as-posts/trunk/eap-functions.php

    r2096400 r2211998  
    2222    $bg_color = ( isset( $setting['bg_color'] ) && ! empty ( $setting['bg_color'] ) ) ? $setting['bg_color'] : 'initial';
    2323    $event_bg_color = ( isset( $setting['event_bg_color'] ) && ! empty ( $setting['event_bg_color'] ) ) ? $setting['event_bg_color'] : 'initial';
    24    
     24
    2525    $css = null;
    26    
     26
    2727    $css .= ".eap__event { padding: 1em; background: $event_bg_color; }";
    2828
    2929    if ( $setting['layout'] == 1 || ! isset( $setting['layout'] ) ) {
    30        
     30
    3131        $css .= ".eap__list { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: 1.6em; background: $bg_color; }" .
    3232                ".eap__title { margin: 0 0 .6em !important;}" .
     
    3434
    3535    } elseif ( $setting['layout'] == 2 ) {
    36        
     36
    3737        $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" .
    3838                ".eap__title { margin: .6em 0 .6em; }" .
     
    4040
    4141    } elseif ( $setting['layout'] == 3 ) {
    42            
     42
    4343        $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" .
    4444                ".eap__title { margin: .6em 0 .6em; }" .
    4545                "@media screen and (min-width: 576px) { .eap__list { grid-template-columns: repeat(3, 1fr); } }";
    4646    }
    47    
     47
    4848    if ( isset( $setting['custom_css'] ) && ! empty ( $setting['custom_css'] ) ) {
    4949        $css .= htmlentities( $setting['custom_css'] );
     
    109109        'category_name'  => $category,
    110110        'meta_query'     => array(
    111             'key' => 'eap_from_day',
    112             'value' => $date,
    113             'compare' => '>='
     111            'relation'   => 'OR',
     112            array(
     113                'key' => 'eap_from_day',
     114                'value' => $date,
     115                'compare' => '>='
     116            ),
     117            array(
     118                'key' => 'eap_until_day',
     119                'value' => $date,
     120                'compare' => '>='
     121            )
    114122        ),
    115123    );
     
    170178        'category_name'  => $category,
    171179        'meta_query'     => array(
    172             'key' => 'eap_from_day',
    173             'value' => $date,
    174             'compare' => '<'
     180            'relation'   => 'AND',
     181            array(
     182                'key' => 'eap_from_day',
     183                'value' => $date,
     184                'compare' => '<'
     185            ),
     186            array(
     187                'key' => 'eap_until_day',
     188                'value' => $date,
     189                'compare' => '<'
     190            )
    175191        ),
    176192    );
  • events-as-posts/trunk/event-post-type.php

    r2096028 r2211998  
    4040        'menu_icon'         => 'dashicons-calendar-alt',
    4141        'taxonomies'        => array( 'category' ),
     42        'show_in_rest' => true
    4243    );
    4344
  • events-as-posts/trunk/events-as-posts.php

    r2096400 r2211998  
    44Plugin URI:   https://wordpress.org/plugins/events-as-posts/
    55Description:  A simple plugin that allows you to post events on your site
    6 Version:      0.5.8
     6Version:      0.5.9
    77Author:       Ambrogio Piredda
    88Author URI:   https://profiles.wordpress.org/orbam7819
     
    3636if ( ! defined( 'EAP_VERSION' ) ) {
    3737
    38     define('EAP_VERSION', '0.5.8');
     38    define('EAP_VERSION', '0.5.9');
    3939}
    4040
  • events-as-posts/trunk/readme.txt

    r2096400 r2211998  
    66Tags: event, events, event list, agenda
    77Requires at least: 4.8
    8 Tested up to: 5.2
    9 Stable tag: 0.5.8
     8Tested up to: 5.3
     9Stable tag: 0.5.9
    1010Requires PHP: 5.4
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1313
    14 A simple plugin that allows you to post events on your site
     14A simple plugin that allows you to post events on your site.
    1515
    1616== Description ==
     
    7474== Changelog ==
    7575
     76= 0.5.9 &mdash; 14 of December, 2019 =
     77* Added Gutenberg support to event post type, and fixed issue with events disappearing on future and past event lists depending on until day field settings.
     78
    7679= 0.5.8 &mdash; 28 of May, 2019 =
    77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles
     80* Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles.
    7881
    7982= 0.5.7 &mdash; 27 of May, 2019 =
    80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page
     83* Cleaned up code that displays the styles, and correct a wrong option name in setting's page.
    8184
    8285= 0.5.6 &mdash; 27 of May, 2019 =
    83 * Removed front-end and admin stylesheets to improve performance
     86* Removed front-end and admin stylesheets to improve performance.
    8487
    8588= 0.5.4 / 0.5.5 &mdash; 25 of May, 2019 =
    86 * Updated the code that displays the event location to remove white spaces appearing before the commas
     89* Updated the code that displays the event location to remove white spaces appearing before the commas.
    8790
    8891= 0.5.3 &mdash; 23 of November, 2018 =
    89 * Fixed an error appearing when installing the plugin for the first time
     92* Fixed an error appearing when installing the plugin for the first time.
    9093
    9194= 0.5.2 &mdash; 6 of November, 2018 =
    92 * Added option to display calendar icon and clock icon before date and time
     95* Added option to display calendar icon and clock icon before date and time.
    9396
    9497= 0.5.1 &mdash; 5 of November, 2018 =
    95 * Added custom css option
     98* Added custom css option.
    9699
    97100= 0.5 &mdash; 4 of November, 2018 =
    98 * Added date and time format options
    99 * Added date and time custom format meta keys to use with other plugins
    100 * General improvements in the plugin and the code
     101* Added date and time format options.
     102* Added date and time custom format meta keys to use with other plugins.
     103* General improvements in the plugin and the code.
    101104
    102105= 0.4 &mdash; 5 of October, 2018 =
    103 * Added 'Country' and 'Additional information' fields
    104 * Added 'Display categories' option for list of events
    105 * Improved settings page and removed options for colors ( apart from background color ) in style tab
     106* Added 'Country' and 'Additional information' fields.
     107* Added 'Display categories' option for list of events.
     108* Improved settings page and removed options for colors ( apart from background color ) in style tab.
    106109
    107110= 0.3 &mdash; 3 of October, 2018 =
    108 * Added 'Read more link' option for list of events
    109 * Added admin stylesheet
    110 * Improved location fields when adding or editing an event
     111* Added 'Read more link' option for list of events.
     112* Added admin stylesheet.
     113* Improved location fields when adding or editing an event.
    111114
    112115= 0.2.1 &mdash; 2 of October, 2018 =
    113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'
     116* Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'.
    114117
    115118= 0.2 &mdash; 2 of October, 2018 =
    116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'
    117 * List of events responsive
     119* Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'.
     120* List of events responsive.
    118121
    119122= 0.1 &mdash; 15 of September, 2018 =
    120 * First release
     123* First release.
Note: See TracChangeset for help on using the changeset viewer.