PluginProbe
Widget Post Slider / 1.3.6
Widget Post Slider v1.3.6
1.3.8 trunk 1.0 1.0.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7
widget-post-slider / widget-post-slider.php

widget-post-slider.php in Widget Post Slider 1.3.6, at widget-post-slider.php

43 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Widget Post Slider
4 *
5 * @since 1.3.3
6 * @package Widget_Post_Slider
7 *
8 * @wordpress-plugin
9 * Plugin Name: Widget Post Slider
10 * Plugin URI: https://wordpress.org/plugins/widget-post-slider/
11 * Description: Widget Post Slider to display posts image in a slider from category.
12 * Version: 1.3.6
13 * Author: ShapedPlugin
14 * Author URI: https://shapedplugin.com/
15 * License: GPL-2.0+
16 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
17 * Text Domain: widget-post-slider
18 * Domain Path: /languages
19 */
20
21 if ( ! defined( 'ABSPATH' ) ) {
22 exit; // Exit if accessed directly.
23 }
24
25 /**
26 * Define constants.
27 */
28 define( 'WIDGET_POST_SLIDER_URL', plugins_url( '/' ) . plugin_basename( __DIR__ ) . '/' );
29 define( 'WIDGET_POST_SLIDER_PATH', plugin_dir_path( __FILE__ ) );
30
31 require_once WIDGET_POST_SLIDER_PATH . 'inc/scripts.php';
32 require_once WIDGET_POST_SLIDER_PATH . 'inc/functions.php';
33
34 add_action( 'init', 'widget_post_slider_textdomain' );
35 /**
36 * Load Textdomain.
37 *
38 * @return void
39 */
40 function widget_post_slider_textdomain() {
41 load_plugin_textdomain( 'widget-post-slider', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
42 }
43