Changeset 2385164
- Timestamp:
- 09/20/2020 10:32:27 AM (6 years ago)
- Location:
- devllo-events/trunk
- Files:
-
- 1 added
- 5 edited
-
devllo-events.php (modified) (2 diffs)
-
icon-256x256.png (added)
-
readme.txt (modified) (2 diffs)
-
templates/calendar-event.php (modified) (2 diffs)
-
templates/single-devllo_event.php (modified) (2 diffs)
-
templates/template-events.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
devllo-events/trunk/devllo-events.php
r2384230 r2385164 5 5 * Description: This is a simple Event Management plugin for adding and listing your events, show event locations on map, link to online Event locations. It also integrates with FullCalendar to show a calendar with all events. 6 6 * Author: Devllo Plugins 7 * Version: 1.0. 07 * Version: 1.0.1 8 8 * Author URI: https://devllo.com/ 9 9 * License: GPL-2.0+ … … 22 22 * Current plugin version. 23 23 */ 24 define( 'DEVLLO_EVENTS_VERSION', '1.0. 0' );24 define( 'DEVLLO_EVENTS_VERSION', '1.0.1' ); 25 25 26 26 /** -
devllo-events/trunk/readme.txt
r2384230 r2385164 5 5 Tested up to: 5.5 6 6 Requires PHP: 5.5 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 … … 46 46 47 47 == Changelog == 48 = 1.0.0 - = 48 = 1.0.1 - 20/09/2020 = 49 BUG FIX: Fix styling error from Bootstrap on WooCpmmerce pages 50 51 = 1.0.0 - 19/09/2020 = 49 52 ENHANCEMENT: Add Event Organiser Checkbox Option on Settings Page 50 53 ENHANCEMENT: Add Event Comments Checkbox Option on Settings Page -
devllo-events/trunk/templates/calendar-event.php
r2384230 r2385164 5 5 public function __construct(){ 6 6 add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 7 add_shortcode('devllo-calendar', array($this, 'display_calendar'));7 add_shortcode('devllo-calendar', array($this, 'display_calendar')); 8 8 9 9 } … … 15 15 16 16 wp_register_script( 'fullcalendar_min_js', DEVLLO_EVENTS_INC_URI. 'assets/js/main.min.js' ); 17 wp_enqueue_script( 'fullcalendar_min_js'); 17 wp_enqueue_script( 'fullcalendar_min_js'); 18 19 global $post; 20 if ( has_shortcode( $post->post_content, 'devllo-calendar' ) ) { 21 wp_enqueue_style( 'full_calendar_bootstrap', DEVLLO_EVENTS_INC_URI. 'assets/css/bootstrap.css'); 18 22 19 wp_enqueue_style( 'calendar_css', DEVLLO_EVENTS_INC_URI. 'assets/css/main.css');23 wp_enqueue_style( 'calendar_css', DEVLLO_EVENTS_INC_URI. 'assets/css/main.css'); 20 24 21 wp_enqueue_style( 'font_css', DEVLLO_EVENTS_INC_URI. 'assets/css/all.css'); 25 wp_enqueue_style( 'font_css', DEVLLO_EVENTS_INC_URI. 'assets/css/all.css'); 26 } 22 27 23 wp_enqueue_style( 'full_calendar_bootstrap', DEVLLO_EVENTS_INC_URI. 'assets/css/bootstrap.css');24 28 } 25 26 29 27 30 function display_calendar($content=null){ 28 31 if (!is_admin()){ -
devllo-events/trunk/templates/single-devllo_event.php
r2384230 r2385164 14 14 wp_enqueue_script( 'map_api_script'); 15 15 16 if( get_post_type() == 'devllo_event' ) { 17 wp_enqueue_style( 'full_calendar_bootstrap', DEVLLO_EVENTS_INC_URI. 'assets/css/bootstrap.css'); 18 } 16 19 17 20 get_header( ); … … 204 207 205 208 <?php get_footer( ); 206 207 -
devllo-events/trunk/templates/template-events.php
r2384230 r2385164 17 17 wp_enqueue_script( 'fullcalendar_min_js'); 18 18 19 wp_enqueue_style( 'calendar_css', DEVLLO_EVENTS_INC_URI. 'assets/css/main.css'); 19 global $post; 20 if ( has_shortcode( $post->post_content, 'devllo-events' ) ) { 21 wp_enqueue_style( 'full_calendar_bootstrap', DEVLLO_EVENTS_INC_URI. 'assets/css/bootstrap.css'); 22 23 wp_enqueue_style( 'calendar_css', DEVLLO_EVENTS_INC_URI. 'assets/css/main.css'); 20 24 21 wp_enqueue_style( 'font_css', DEVLLO_EVENTS_INC_URI. 'assets/css/all.css'); 22 23 wp_enqueue_style( 'full_calendar_bootstrap', DEVLLO_EVENTS_INC_URI. 'assets/css/bootstrap.css'); 25 wp_enqueue_style( 'font_css', DEVLLO_EVENTS_INC_URI. 'assets/css/all.css'); 26 } 24 27 25 28 }
Note: See TracChangeset
for help on using the changeset viewer.