| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: The Post Grid |
| 4 |
* Plugin URI: https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/ |
| 5 |
* Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding. |
| 6 |
* Author: RadiusTheme |
| 7 |
* Version: 7.5.0 |
| 8 |
* Text Domain: the-post-grid |
| 9 |
* Domain Path: /languages |
| 10 |
* Author URI: https://radiustheme.com/ |
| 11 |
* |
| 12 |
* @package RT_TPG |
| 13 |
*/ |
| 14 |
|
| 15 |
// Do not allow directly accessing this file. |
| 16 |
if ( ! defined( 'ABSPATH' ) ) { |
| 17 |
exit( 'This script cannot be accessed directly.' ); |
| 18 |
} |
| 19 |
|
| 20 |
define( 'RT_THE_POST_GRID_VERSION', '7.5.0' ); |
| 21 |
define( 'RT_THE_POST_GRID_AUTHOR', 'RadiusTheme' ); |
| 22 |
define( 'RT_THE_POST_GRID_NAME', 'The Post Grid' ); |
| 23 |
define( 'RT_THE_POST_GRID_PLUGIN_FILE', __FILE__ ); |
| 24 |
define( 'RT_THE_POST_GRID_PLUGIN_PATH', dirname( __FILE__ ) ); |
| 25 |
define( 'RT_THE_POST_GRID_PLUGIN_ACTIVE_FILE_NAME', plugin_basename( __FILE__ ) ); |
| 26 |
define( 'RT_THE_POST_GRID_PLUGIN_URL', plugins_url( '', __FILE__ ) ); |
| 27 |
define( 'RT_THE_POST_GRID_PLUGIN_SLUG', basename( dirname( __FILE__ ) ) ); |
| 28 |
define( 'RT_THE_POST_GRID_LANGUAGE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages' ); |
| 29 |
|
| 30 |
if ( ! class_exists( 'rtTPG' ) ) { |
| 31 |
require_once 'app/RtTpg.php'; |
| 32 |
} |