Changeset 3123357
- Timestamp:
- 07/22/2024 03:56:41 PM (19 months ago)
- Location:
- wp-ride-booking/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
wp-ride-booking.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-ride-booking/trunk/readme.txt
r3063626 r3123357 1 === WP Ride Booking ===1 === WP Ride Booking - Best Taxi Booking Solution for WordPress === 2 2 Contributors: gbsdeveloper 3 3 Author URI : https://wpridebooking.com 4 Tags: Taxi, Cab, distance & fare calculator, Travel agency, Woocommerce booking, PayPal payments, Travel Booking, Route finder, google map4 Tags: Taxi, Cab, Distance & fare calculator, Travel agency, Woocommerce booking, PayPal payments 5 5 Requires at least: 5.0 6 6 Donate link: https://plugindemo.wpridebooking.com/support-free-taxi-booking-plugin/ 7 Tested up to: 6. 58 Stable tag: 2. 37 Tested up to: 6.6 8 Stable tag: 2.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 15 <h3>WP Ride Booking: Your Ultimate Solution for Ride and Cab Booking</h3>15 <h3>WP Ride Booking: Streamlined Taxi and Cab Booking for WordPress</h3> 16 16 17 WP Ride Booking is a versatile WordPress plugin designed for ride booking, travel agencies, and cab booking sites. With seamless integration and robust features, WP Ride Booking enables you to effortlessly manage bookings and accept payments directly through PayPal. With WP Ride Booking, you can create a professional and user-friendly booking platform that meets the needs of your customers and enhance your booking experience. Streamline your booking process, increase customer satisfaction, and grow your business with WP Ride Booking today! 17 WP Ride Booking is an intuitive and powerful taxi booking plugin for WordPress. It is designed to simplify taxi and cab management right from your website. Whether you’re running a taxi service, a travel agency, or a cab booking platform, this free version covers all your basic needs for scheduling rides and managing reservations. 18 19 With smooth integration and robust support for Google Maps, WP Ride Booking makes your taxi booking process more efficient and user-friendly. Upgrade to the <a href="https://wpridebooking.com/">premium version</a> for even more advanced features and enhanced functionality. Start using WP Ride Booking today and take control of your taxi booking and cab management effortlessly! 18 20 19 21 <h4>Plugin Settings:</h4> … … 41 43 42 44 == WP Ride Booking Pro version == 43 WP Ride Booking Pro is the ultimate solution for managing your transportation services seamlessly on your WordPress website. Whether you run a taxi service, limousine rental, or shuttle business, this plugin empowers you to streamline bookings, manage your fleet, and deliver exceptional service to your customers. Our plugin is WooCommerce compatible, allowing anyone to create their online taxi, cab, bus, van, trucks, or any vehicle booking system in a few moments. The plugin allows payment using the default WooCommerce order system, and orders can be viewed in the admin section with all the information of the booking like source, destination, distance, payment mode, order status, and customer information. 45 WP Ride Booking Pro is the premier taxi booking plugin for WordPress, designed to seamlessly manage your transportation services online. Perfect for taxi services, limousine rentals, shuttle businesses, and more, this plugin simplifies booking management and fleet operations while enhancing customer service. WP Ride Booking Pro integrates flawlessly with WooCommerce, allowing you to quickly set up an online booking system for various types of vehicles, including taxis, cabs, buses, vans, and trucks. Benefit from smooth payment processing through WooCommerce’s default order system, with detailed booking information easily accessible in the admin section. Track essential details such as source, destination, distance, payment mode, order status, and customer information. 46 47 Elevate your taxi booking system and optimize your transportation management with WP Ride Booking Pro. Experience the convenience and efficiency of a top-tier booking solution today! 44 48 45 49 <h4>WP Ride Booking Pro Features at a glance:</h4> … … 110 114 111 115 == Changelog == 116 = 2.4 = 117 - Check for google map api call 118 - Compatible with WordPres 6.6 119 112 120 = 2.3 = 113 121 - Updated depreciated funtions and classes -
wp-ride-booking/trunk/wp-ride-booking.php
r3063603 r3123357 1 1 <?php 2 2 /* 3 Plugin Name: WP Ride Booking 3 Plugin Name: WP Ride Booking - Best Taxi Booking Solution for WordPress 4 4 Plugin URI: 5 5 Description: WP Ride Booking is a best solution to create a ride booking system in wordpress. 6 Version: 2. 36 Version: 2.4 7 7 Author: GBS Developer 8 8 Author URI: https://profiles.wordpress.org/gbsdeveloper#content-plugins` … … 11 11 */ 12 12 13 define('wprb_VERSION', '2. 3');13 define('wprb_VERSION', '2.4'); 14 14 define('wprb_FILE', basename(__FILE__)); 15 15 define('wprb_NAME', str_replace('.php', '', wprb_FILE)); … … 68 68 } 69 69 function wprb_ride_booking_scripts() { 70 $api_key = get_option('google_map_api'); 71 wp_enqueue_script( 'jquery' ); 72 73 // Construct the URL with async attribute 74 $script_url = "//maps.googleapis.com/maps/api/js?libraries=places&key=$api_key&loading=async"; 75 76 // Enqueue the script with async attribute 77 wp_enqueue_script( 78 'google-maps-api', 79 $script_url, 80 array(), 81 null, 82 false // Set to 'true' to include the script in the footer 83 ); 84 wp_enqueue_script( 'ride-jscript', wprb_URL . 'includes/distance.js' ); 85 wp_enqueue_style( 'map-style', wprb_URL . 'css/style.css'); 86 70 // Ensure jQuery is enqueued 71 wp_enqueue_script('jquery'); 72 73 // Check for transient to see if the Google Maps API has been enqueued 74 if (false === get_transient('google_maps_api_loaded')) { 75 $api_key = get_option('google_map_api'); 76 $script_url = "//maps.googleapis.com/maps/api/js?libraries=places&key=$api_key"; 77 78 // Output the script tag with the async attribute directly 79 echo '<script async src="' . esc_url($script_url) . '" id="google-maps-api"></script>'; 80 81 // Set a transient to remember that the API script has been loaded 82 set_transient('google_maps_api_loaded', true, 12 * HOUR_IN_SECONDS); 83 } else { 84 // If the API is already loaded, directly include the distance.js script 85 wp_enqueue_script('ride-jscript', wprb_URL . 'includes/distance.js', array('google-maps-api'), null, true); 86 } 87 88 // Enqueue additional styles 89 wp_enqueue_style('map-style', wprb_URL . 'css/style.css'); 87 90 } 88 91 add_action('wp_enqueue_scripts', 'wprb_ride_booking_scripts'); 92 93 94 function wprb_clear_google_maps_transient() { 95 delete_transient('google_maps_api_loaded'); 96 } 97 register_deactivation_hook(__FILE__, 'wprb_clear_google_maps_transient'); 98 89 99 90 100 function wprb_ride_booking_install() {
Note: See TracChangeset
for help on using the changeset viewer.