| 1 |
<?php |
| 2 |
/* |
| 3 |
* Plugin Name: Super RSS Reader |
| 4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/super-rss-reader/ |
| 5 |
* Description: Display any RSS feed(s) in widget with news ticker effect in multiple tabs, thumbnails, customizable color themes and more. |
| 6 |
* Author: Aakash Chakravarthy |
| 7 |
* Author URI: https://www.aakashweb.com/ |
| 8 |
* Version: 5.5 |
| 9 |
* Text Domain: super-rss-reader |
| 10 |
* Domain Path: /languages |
| 11 |
*/ |
| 12 |
|
| 13 |
define( 'SRR_VERSION', '5.5' ); |
| 14 |
define( 'SRR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash |
| 15 |
define( 'SRR_URL', plugin_dir_url( __FILE__ ) ); |
| 16 |
define( 'SRR_BASE_NAME', plugin_basename( __FILE__ ) ); |
| 17 |
|
| 18 |
final class Super_RSS_Reader{ |
| 19 |
|
| 20 |
public static function init(){ |
| 21 |
|
| 22 |
self::includes(); |
| 23 |
|
| 24 |
add_action( 'plugins_loaded', array( __CLASS__, 'load_text_domain' ) ); |
| 25 |
|
| 26 |
} |
| 27 |
|
| 28 |
public static function includes(){ |
| 29 |
|
| 30 |
include_once( SRR_PATH . 'includes/utilities.php' ); |
| 31 |
include_once( SRR_PATH . 'includes/options.php' ); |
| 32 |
include_once( SRR_PATH . 'includes/feed.php' ); |
| 33 |
include_once( SRR_PATH . 'includes/widget.php' ); |
| 34 |
include_once( SRR_PATH . 'includes/widget-admin.php' ); |
| 35 |
|
| 36 |
} |
| 37 |
|
| 38 |
public static function load_text_domain(){ |
| 39 |
|
| 40 |
load_plugin_textdomain( 'super-rss-reader', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); |
| 41 |
|
| 42 |
} |
| 43 |
|
| 44 |
} |
| 45 |
|
| 46 |
Super_RSS_Reader::init(); |
| 47 |
|
| 48 |
?> |