the-post-grid
Last commit date
app
3 years ago
assets
3 years ago
languages
3 years ago
resources
3 years ago
templates
3 years ago
vendor
3 years ago
README.txt
3 years ago
index.html
3 years ago
the-post-grid.php
3 years ago
the-post-grid.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: The Post Grid |
| 4 | * Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/ |
| 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: 4.2.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', '4.2.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 | } |
| 33 |