Plugin Directory

Changeset 3446476


Ignore:
Timestamp:
01/25/2026 10:21:38 AM (3 weeks ago)
Author:
samdani
Message:

Version 3.0.0 [25th Jan 2026]

  • [Updated]: Rewritten the plugin.
Location:
posts-grid
Files:
233 added
2 edited

Legend:

Unmodified
Added
Removed
  • posts-grid/trunk/gs_wpposts.php

    r2884759 r3446476  
    11<?php
     2
    23/**
    34 *
    4  * @package   GS_WPPosts
     5 * @package   GS_Posts_Grid
    56 * @author    GS Plugins <[email protected]>
    67 * @license   GPL-2.0+
    7  * @link      https://www.gsplugins.com
    8  * @copyright 2016 GS Plugins
     8 * @link      https://www.gsplugins.com/
     9 * @copyright 2015 GS Plugins
    910 *
    1011 * @wordpress-plugin
    11  * Plugin Name:           GS Posts Grid Lite
    12  * Plugin URI:            https://www.gsplugins.com/wordpress-plugins
    13  * Description:           Best Responsive WordPress Posts Grid Plugin to display Posts elegantly. Using GS Posts Grid plugin you can present latest posts in various views like Grid, Horizontal, List, Card, Table, Gray, Slider, Popup, Filter, Masonry & Justified Gallery. Display anywhere at your site using shortcode like [gs_wpposts theme="gs_wppost_grid_1"] GS Posts Grid plugin packed with necessary controlling options & 30+ different themes to present latest posts elegantly with eye catching effects. Check <a href="https://posts-grid.gsplugins.com">GS Posts Grid PRO Demos</a> and <a href="https://docs.gsplugins.com/wordpress-posts-grid">Documentations</a>.
    14  * Version:               1.2.0
    15  * Author:                GS Plugins
    16  * Author URI:            https://www.gsplugins.com
    17  * Text Domain:           gswpposts
    18  * License:               GPL-2.0+
    19  * License URI:           http://www.gnu.org/licenses/gpl-2.0.txt
     12 * Plugin Name:         GS Post Grid
     13 * Plugin URI:          https://www.gsplugins.com/product/wordpress-posts-grid/
     14 * Description:         GS Post Grid is a responsive WordPress plugin that displays posts in stunning layouts like Grid, List, Card, Slider, Popup, Masonry, and more. Use shortcodes such as [gs-posts-grid id="1"] to place grids anywhere. Check <a href="https://posts-grid.gsplugins.com/">GS Post Grid PRO Demo</a> and <a href="https://docs.gsplugins.com/wordpress-posts-grid/">Documentation</a>.
     15 * Version:             3.0.0
     16 * Author:              GS Plugins
     17 * Author URI:          https://www.gsplugins.com/
     18 * Text Domain:         posts-grid
     19 * License:             GPL-2.0+
     20 * License URI:         http://www.gnu.org/licenses/gpl-2.0.txt
    2021 */
    21 
    22 
    23 if( ! defined( 'GSWPPOSTS_HACK_MSG' ) ) define( 'GSWPPOSTS_HACK_MSG', __( 'Sorry cowboy! This is not your place', 'gswppost' ) );
    2422
    2523/**
    2624 * Protect direct access
    2725 */
    28 if ( ! defined( 'ABSPATH' ) ) die( GSWPPOSTS_HACK_MSG );
     26if ( ! defined( 'ABSPATH' ) ) exit;
    2927
    3028/**
    3129 * Defining constants
    3230 */
    33 if( ! defined( 'GSWPPOSTS_VERSION' ) ) define( 'GSWPPOSTS_VERSION', '1.2.0' );
    34 if( ! defined( 'GSWPPOSTS_MENU_POSITION' ) ) define( 'GSWPPOSTS_MENU_POSITION', 31 );
    35 if( ! defined( 'GSWPPOSTS_PLUGIN_DIR' ) ) define( 'GSWPPOSTS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    36 if( ! defined( 'GSWPPOSTS_PLUGIN_URI' ) ) define( 'GSWPPOSTS_PLUGIN_URI', plugins_url( '', __FILE__ ) );
    37 if( ! defined( 'GSWPPOSTS_FILES_DIR' ) ) define( 'GSWPPOSTS_FILES_DIR', GSWPPOSTS_PLUGIN_DIR . 'gs-wpposts-files' );
    38 if( ! defined( 'GSWPPOSTS_FILES_URI' ) ) define( 'GSWPPOSTS_FILES_URI', GSWPPOSTS_PLUGIN_URI . '/gs-wpposts-files' );
     31if ( ! defined( 'GS_PG_VERSION' ) )
     32    define( 'GS_PG_VERSION', '3.0.0' );
    3933
    40 function disable_post_grid_pro() {
    41     if ( is_plugin_active( 'gs-posts-grid-pro/gs_wpposts.php' ) ) {
    42         deactivate_plugins( 'gs-posts-grid-pro/gs_wpposts.php', true );
    43     }
    44     add_option( 'gs_post_activation_redirect', true );
     34if ( ! defined( 'GS_PG_MIN_PRO_VERSION' ) )
     35    define( 'GS_PG_MIN_PRO_VERSION', '2.1.3' );
     36
     37if ( ! defined( 'GS_PG_MENU_POSITION' ) )
     38    define( 'GS_PG_MENU_POSITION', 33 );
     39
     40if ( ! defined( 'GS_PG_PLUGIN_FILE' ) )
     41    define( 'GS_PG_PLUGIN_FILE', __FILE__ );
     42
     43if ( ! defined( 'GS_PG_PLUGIN_DIR' ) )
     44    define( 'GS_PG_PLUGIN_DIR', trailingslashit( plugin_dir_path( GS_PG_PLUGIN_FILE ) ) );
     45
     46if ( ! defined( 'GS_PG_PLUGIN_URI' ) )
     47    define( 'GS_PG_PLUGIN_URI', trailingslashit( plugins_url( '', GS_PG_PLUGIN_FILE ) ) );
     48
     49if ( ! defined('GS_PG_PLUGIN_URL') ) {
     50    define( 'GS_PG_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    4551}
    4652
    47 register_activation_hook( __FILE__, 'disable_post_grid_pro' );
     53if ( ! defined( 'GS_PG_PRO_PLUGIN' ) )
     54    define( 'GS_PG_PRO_PLUGIN', 'gs-posts-grid-pro/gs-posts-grid-pro.php' );
     55
    4856
    4957/**
    50  * Initialize the plugin tracker
    51  *
    52  * @return void
     58 * Load essential files
    5359 */
    54 function appsero_init_tracker_posts_grid() {
     60require_once GS_PG_PLUGIN_DIR . 'includes/autoloader.php';
     61require_once GS_PG_PLUGIN_DIR . 'includes/functions.php';
     62require_once GS_PG_PLUGIN_DIR . 'includes/init.php';
    5563
    56     if ( ! class_exists( 'Appsero\Client' ) ) {
    57       require_once GSWPPOSTS_FILES_DIR . '/appsero/src/Client.php';
    58     }
    59 
    60     $client = new Appsero\Client( 'b8072043-f4bc-4d35-8d2b-de23300a018f', 'GS Posts Grid', __FILE__ );
    61 
    62     // Active insights
    63     $client->insights()->init();
    64 
    65 }
    66 appsero_init_tracker_posts_grid();
    67 
    68 /**
    69  * Redirect to options page
    70  *
    71  * @since v1.0.0
    72  */
    73 function gspost_redirect() {
    74     if (get_option('gs_post_activation_redirect', false)) {
    75         delete_option('gs_post_activation_redirect');
    76         if(!isset($_GET['activate-multi']))
    77         {
    78             wp_redirect("admin.php?page=gs-grid-plugins-help");
    79         }
    80     }
    81 }
    82 add_action( 'admin_init', 'gspost_redirect' );
    83 
    84 add_action( 'plugins_loaded', function() {
    85     require_once GSWPPOSTS_FILES_DIR . '/includes/gs-post-grid-root.php';
    86 }, -999999 );
  • posts-grid/trunk/readme.txt

    r3359758 r3446476  
    33Donate link: https://www.paypal.com/donate/?hosted_button_id=K7K8YF4U3SCNQ
    44Requires at least: 4.3
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 1.2.0
     7Stable tag: 3.0.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1414== Description ==
    1515
    16 Best Responsive WordPress Posts Grid Plugin to display Posts elegantly. Using the GS Posts Grid plugin you can present the latest posts in various views like Grid, Horizontal, List, Card, Table, Gray, Slider, Popup, Filter, Masonry & Justified Gallery. Display anywhere at your site using shortcodes like [gs_wpposts theme="gs_wppost_grid_1"] GS Posts Grid plugin packed with necessary controlling options & 30+ different themes to present the latest posts elegantly with eye-catching effects.
     16Best Responsive WordPress Posts Grid Plugin to display Posts elegantly. Using the GS Posts Grid plugin you can present the latest posts in various views like Grid, Horizontal, List, Card, Table, Gray, Slider, Popup, Filter, Masonry & Justified Gallery. Display anywhere at your site using shortcodes like [gs-posts-grid id=1] GS Posts Grid plugin packed with necessary controlling options & 65+ different themes to present the latest posts elegantly with eye-catching effects.
    1717
    1818The **GS Posts Grid** plugin is simple, flexible & powerful.
    1919
    20 ### WordPress Posts Grid by [GS Plugins](https://www.gsplugins.com)
    21 
    22 >[ Live Demo](https://posts-grid.gsplugins.com) | [Upgrade to PRO](https://www.gsplugins.com/product/wordpress-posts-grid) | [Documentation](https://docs.gsplugins.com/wordpress-posts-grid) | [Support](https://www.gsplugins.com/contact
     20### WordPress Posts Grid by [GS Plugins](https://www.gsplugins.com/)
     21
     22>[ Live Demo](https://posts-grid.gsplugins.com/) | [Upgrade to PRO](https://www.gsplugins.com/product/wordpress-posts-grid/) | [Documentation](https://docs.gsplugins.com/wordpress-posts-grid/) | [Support](https://www.gsplugins.com/contact/
    2323
    2424### Plugin Features
     
    3030* All modern browsers are supported.
    3131* W3C valid markup.
    32 * Display posts anywhere with shortcode like [gs_wpposts theme="gs_wppost_grid_1"].
     32* Display posts anywhere with shortcode like [gs-posts-grid id=#]
    3333* Custom CSS.
    3434* Easy to set up.
    3535
    36 ### [Pro Features](https://www.gsplugins.com/product/wordpress-posts-grid)
     36### [Pro Features](https://www.gsplugins.com/product/wordpress-posts-grid/)
    3737* 30+ different Themes
    3838    * Theme 01: Grid 1 (Full Overlay)
     
    7979* Well documentation and support.
    8080* And many more.
    81 * [View live Demos &raquo;](https://posts-grid.gsplugins.com)
    82 * [Upgrade to PRO &raquo;](https://www.gsplugins.com/product/wordpress-posts-grid)
     81* [View live Demos &raquo;](https://posts-grid.gsplugins.com/)
     82* [Upgrade to PRO &raquo;](https://www.gsplugins.com/product/wordpress-posts-grid/)
    8383
    8484### GS Posts Grid Settings (Pro)
     
    9797
    9898`
    99 [gs_wpposts theme="gs_wppost_grid_1"]
     99[gs-posts-grid id=1]
    100100`
    101101
    102102**GS Posts Grid Shortcode attributes Usage**
    103103`
    104 [gs_wpposts theme="gs_wppost_grid_1" cols="4" num="9" desc_limit="250" group="" order"DESC" orderby="date" pagination="off"]
     104[gs-posts-grid id=1]
    105105`
    106106
    107107**Shortcode PHP Usage**
    108108`
    109 <?php echo do_shortcode( '[gs_wpposts theme="gs_wppost_grid_1"]' ); ?>
     109<?php echo do_shortcode( '[gs-posts-grid id=1]' ); ?>
    110110`
    111111
    112112Template Usage – Add the shortcode anywhere you need to display GS Posts Grid in template files (header.php, front-page.php, etc.)
    113113`
    114 <?php echo do_shortcode( '[gs_wpposts theme="gs_wppost_grid_1" cols="4" num="9" desc_limit="250" group="" order"DESC" orderby="date" pagination="off"]' ); ?>
     114<?php echo do_shortcode( '[gs-posts-grid id=1]' ); ?>
    115115`
    116116
    117117### Confused?
    118118
    119 * [View live Demos &raquo;](https://posts-grid.gsplugins.com)
    120 * [Documentation &raquo;](https://docs.gsplugins.com/wordpress-posts-grid)
    121 
    122 ### 🔥 You may like other plugins from [GS Plugins](https://www.gsplugins.com)
     119* [View live Demos &raquo;](https://posts-grid.gsplugins.com/)
     120* [Documentation &raquo;](https://docs.gsplugins.com/wordpress-posts-grid/)
     121
     122### 🔥 You may like other plugins from [GS Plugins](https://www.gsplugins.com/)
    123123
    124124**[Testimonial Slider](https://wordpress.org/plugins/gs-testimonial)** - Testimonials slider displays rotating customer endorsements and recommendations, helping to build trust and credibility for a business or product.
     
    154154**[Pinterest Portfolio](https://wordpress.org/plugins/gs-pinterest-portfolio)** - Pinterest plugin for WordPress allows you to display your Pinterest pins on your website, giving your audience a chance to view and interact with your boards, and potentially drive more traffic to your Pinterest profile.
    155155
    156 **[Instagram Portfolio](https://wordpress.org/plugins/gs-instagram-portfolio/)** - Instagram plugin for WordPress allows you to display your Instagram posts on your website, making it easy for visitors to view and interact with your content and also to increase engagement on your website.
    157 
    158156**[Portfolio - Envato](https://wordpress.org/plugins/gs-envato-portfolio)** - Envato Portfolio Plugin allows you to display your Themeforest and Codecanyon items on your website, showcasing your digital products and making them easily accessible for potential customers.
    159157
    160158**[Youtube Gallery](https://wordpress.org/plugins/gs-youtube-gallery)** - YouTube Gallery plugin allows you to display videos from a YouTube channel or playlist on your website, creating a visually appealing gallery and making it easy for visitors to access and watch your videos.
    161159
    162 **[Twitter Feeds](https://wordpress.org/plugins/feeds-of-twitter)** - Twitter Feeds plugin displays Twitter feeds, hashtags, user cards, and collections on a website, making it easy for visitors to view and interact with your Twitter content.
    163 
    164160### 🏆 Branding Plugin
    165161
     
    172168Install the WordPress Posts Grid plugin as a regular WordPress plugin. Here are different ways to install the WordPress Posts Grid plugin :
    173169
    174 * [Visual Installation & Usage Guide &raquo;](https://docs.gsplugins.com/wordpress-posts-grid)
     170* [Visual Installation & Usage Guide &raquo;](https://docs.gsplugins.com/wordpress-posts-grid/)
    175171
    176172= Install by Search Plugin =
     
    195191- Posts Grid settings will be found – GS Plugins > Posts Grid Settings
    196192
    197 * Put [gs_wpposts theme="gs_wppost_grid_1"] shortcode or select another theme, where you need to display WordPress Posts.
     193* Put [gs-posts-grid id=1] shortcode or select another theme, where you need to display WordPress Posts.
    198194
    199195== Frequently Asked Questions ==
     
    207203WordPress has a great function, do_shortcode(), that will allow you to use shortcodes inside your theme files. For example, to output Posts in a Theme file, you would do this:
    208204`
    209 <?php echo do_shortcode('[gs_wpposts theme="gs_wppost_grid_1"]'); ?>
     205<?php echo do_shortcode('[gs-posts-grid id=1]'); ?>
    210206`
    211207
     
    227223
    228224== Changelog ==
     225= Version 3.0.0 [25th Jan 2026] =
     226* [Updated]: Rewritten the plugin.
     227
    229228= Version 1.2.0 [22nd Mar 2023] =
    230229* [Updated]: Free, Pro Plugins Pages & Help Page.
     
    274273
    275274== Upgrade notice ==
     275= Version 3.0.0 [25th Jan 2026] =
     276* [Updated]: Rewritten the plugin.
     277
    276278= Version 1.2.0 [22nd Mar 2023] =
    277279* [Updated]: Free, Pro Plugins Pages & Help Page.
Note: See TracChangeset for help on using the changeset viewer.