Plugin Directory

Changeset 3160909


Ignore:
Timestamp:
10/01/2024 02:12:03 PM (17 months ago)
Author:
plugindevs
Message:

1.4.0 (10-01-24)

# Compatible with WordPress Latest Version
# Compatible with Elementor Latest Version
# Compatible with Elementor PRO Latest Version
# Remove Old Support Contact Form from Admin Submenu
# Add direct WP.org Support Forum Link from Admin Submenu through Freemius
# Remove Support for Old PHP 5.4 and upgrade PHP Support from 7.0
# Remove Support for Old Elementor 2.0 and upgrade Elementor Support from 3.0
# Implement Freemius

Location:
post-carousel-slider-for-elementor
Files:
559 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • post-carousel-slider-for-elementor/trunk/admin/admin-pages.php

    r2233267 r3160909  
    22add_action('admin_menu', 'wb_ps_menu_page');
    33function wb_ps_menu_page(){
    4     global $submenu;
    54    add_menu_page(
    65        'Post Carousel Slider for Elementor',
     
    3029        'wbel_ps_js_callback'
    3130    );
    32 
    33     $link_text = '<span class="wb_ps-up-pro-link" style="font-weight: bold; color: #FCB214">Upgrade To Pro</span>';
    34            
    35     $submenu["wbel-post-slider"][4] = array( $link_text, 'manage_options' , WB_PS_PRO_LINK );
    3631   
    37     return $submenu;
    3832}
    3933
    40 function wbel_ps_callback(){}
     34function wbel_ps_callback(){
     35    wp_redirect( admin_url( 'admin.php?page=wbel-ps-custom-css' ) );
     36    exit();
     37}
    4138function wbel_ps_css_callback(){
    4239     // The default message that will appear
  • post-carousel-slider-for-elementor/trunk/post-slider-for-elementor.php

    r3036701 r3160909  
    66 * Author URI: https://plugin-devs.com/
    77 * Plugin URI: https://plugin-devs.com/product/post-carousel-slider-for-elementor/
    8  * Version: 1.3.2
     8 * Version: 1.4.0
    99 * License: GPLv2
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111 * Text Domain: post-slider-for-elementor
     12 *
     13 * Elementor tested up to: 3.24.5
     14 * Elementor Pro tested up to: 3.24.3
    1215*/
    1316
     
    4649        define( 'WB_PS_PATH', plugin_dir_path( __FILE__ ) );
    4750        define( 'WB_PS_URL', plugin_dir_url( __FILE__ ) ) ;
    48         define( 'WB_PS_VERSION', '1.3.0' ) ; //Plugin Version
    49         define( 'WB_PS_MIN_ELEMENTOR_VERSION', '2.0.0' ) ; //MINIMUM ELEMENTOR Plugin Version
    50         define( 'WB_PS_MIN_PHP_VERSION', '5.4' ) ; //MINIMUM PHP Plugin Version
     51        define( 'WB_PS_VERSION', '1.4.0' ) ; //Plugin Version
     52        define( 'WB_PS_MIN_ELEMENTOR_VERSION', '3.0.0' ) ; //MINIMUM ELEMENTOR Plugin Version
     53        define( 'WB_PS_MIN_PHP_VERSION', '7.0' ) ; //MINIMUM PHP Plugin Version
    5154        define( 'WB_PS_PRO_LINK', 'https://plugin-devs.com/product/post-carousel-slider-for-elementor/' ) ; //Pro Link
    5255    }
     
    5558    public function include_files(){
    5659
     60        require_once( WB_PS_PATH . 'freemius.php' );
    5761        require_once( WB_PS_PATH . 'functions.php' );
    5862        require_once( WB_PS_PATH . 'admin/post-slider-utils.php' );
    5963        if( is_admin() ){
    6064            require_once( WB_PS_PATH . 'admin/admin-pages.php' );   
    61             require_once( WB_PS_PATH . 'class-plugin-deactivate-feedback.php' );   
    62             require_once( WB_PS_PATH . 'support-page/class-support-page.php' );
    6365            require_once( WB_PS_PATH . 'class-plugin-review.php');
    6466        }
     
    8789function wb_post_slider_register_function(){
    8890    $wb_post_slider = WB_POST_SLIDER::getInstance();
    89     if( is_admin() ){
    90         $wb_ps_feedback = new WB_PS_Usage_Feedback(
    91             __FILE__,
    92             'webbuilders03@gmail.com',
    93             false,
    94             true
    95         );
    96     }
    9791}
    9892add_action('plugins_loaded', 'wb_post_slider_register_function');
     
    113107
    114108/**
    115  * Submenu filter function. Tested with Wordpress 4.1.1
    116  * Sort and order submenu positions to match your custom order.
    117  *
    118  */
    119 function wb_ps_order_submenu( $menu_ord ) {
    120 
    121   global $submenu;
    122 
    123   // Enable the next line to see a specific menu and it's order positions
    124   //echo '<pre>'; print_r( $submenu['wbel-post-slider'] ); echo '</pre>'; exit();
    125 
    126   $arr = array();
    127 
    128   $arr[] = $submenu['wbel-post-slider'][1];
    129   $arr[] = $submenu['wbel-post-slider'][2];
    130   $arr[] = $submenu['wbel-post-slider'][5];
    131   $arr[] = $submenu['wbel-post-slider'][4];
    132 
    133   $submenu['wbel-post-slider'] = $arr;
    134 
    135   return $menu_ord;
    136 
    137 }
    138 
    139 // add the filter to wordpress
    140 add_filter( 'custom_menu_order', 'wb_ps_order_submenu' );
    141 
    142 
    143 /**
    144109 * Setup Plugin Activation Time
    145110 *
  • post-carousel-slider-for-elementor/trunk/readme.txt

    r3036701 r3160909  
    22Tags: elementor post carousel, post carousel elementor, elementor post slider, post slider wordpress, post slider, post carousel, wordpress post carousel
    33Requires at least: 5.0
    4 Tested up to: 6.4.3
    5 Stable tag: /trunk
    6 Requires PHP: 5.4
     4Tested up to: 6.6.3
     5Stable tag: 1.4.2
     6Requires PHP: 7.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    99Contributors: plugindevs
     10
     11Post Carousel Slider for Elementor, Elementor Post Slider, Elementor Post Carousel help to add post carousel with Elementor
    1012
    1113== Description ==
     
    8789
    8890== Changelog ==
     91
     92= 1.4.0 (10-01-24) =
     93# Compatible with WordPress Latest Version
     94# Compatible with Elementor Latest Version
     95# Compatible with Elementor PRO Latest Version
     96# Remove Old Support Contact Form from Admin Submenu
     97# Add direct WP.org Support Forum Link from Admin Submenu through Freemius
     98# Remove Support for Old PHP 5.4 and upgrade PHP Support from 7.0
     99# Remove Support for Old Elementor 2.0 and upgrade Elementor Support from 3.0
     100# Implement Freemius
     101
    89102= 1.3.2 (02-16-24) =
    90103# Tweak CSS
Note: See TracChangeset for help on using the changeset viewer.