Plugin Directory

Changeset 3371841


Ignore:
Timestamp:
10/02/2025 02:36:19 PM (6 months ago)
Author:
rstheme2017
Message:

Version Updated

Location:
fancy-post-grid
Files:
209 added
5 edited

Legend:

Unmodified
Added
Removed
  • fancy-post-grid/trunk/README.md

    r3350405 r3371841  
    77**Contributors:** rstheme2017, rubrash
    88**Tags:**post filter,post carousel,post grid,gutenberg,post grid
    9 **Version:** 1.0.1
     9**Version:** 1.0.2
    1010**License:** GPLv2 or later
    1111**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
    12 **Stable tag:** 1.0.1
     12**Stable tag:** 1.0.2
    1313**Tested up to:** 6.8
    14 **Requires PHP:** 7.0.0
    15 **Requires at least:** 5.5
     14**Requires PHP:** 7.4
     15**Requires at least:** 6.3
    1616
    1717Display your posts in 100+ stunning layouts with Fancy Post Grid — a stylish, versatile plugin for modern WordPress blogs.
     
    2121Fancy Post Grid is a stylish and versatile WordPress plugin that helps you display your posts in 100+ stunning layouts — perfect for modern blogs, magazines, portfolios, or eCommerce sites. With shortcodes, Gutenberg blocks, and Elementor widgets, you can showcase your content exactly the way you want without writing a single line of code.
    2222
    23 The plugin comes packed with 34 unique styles for each builder (Shortcode, Gutenberg, Elementor) — 9 styles included for free and 25 Pro layouts. Whether you want a grid, slider, list and isotope filter , Fancy Post Grid gives you everything you need to create engaging, beautiful post displays.
     23The plugin comes packed with 34 unique styles for each builder (Shortcode, Gutenberg, Elementor) — 9 styles included for free and 25+9 Pro-only layouts. Whether you want a grid, slider, list and isotope filter , Fancy Post Grid gives you everything you need to create engaging, beautiful post displays.
    2424
    2525Every detail is customizable — post title, excerpt, meta, meta icons, button styles, and thumbnails. Change colors dynamically, adjust typography, spacing, and alignment, or toggle individual post elements on/off. Some advanced controls are available only in the Pro version, but the free version already provides powerful features to get you started.
     
    302302== Changelog ==
    303303
     304= 1.0.2 (30 Sep, 2025) =
     305
     306Added: Add Support Link and redirect page
     307Added: Add Multiple categories,tags, exclude posts, include posts
     308Added: More image sizes
     309
     310Modified: Shordcode field name
     311
     312Improved: Responsiveness for mobile and tablet views
     313
     314Improved: Shortcode generator UX with cleaner options
     315
     316
     317Security: Hardened sanitization and escaping for safer shortcode rendering
     318
    304319= 1.0.1 (26 Aug, 2025) =
    305320
  • fancy-post-grid/trunk/admin/assets/css/admin.css

    r3350257 r3371841  
    701701    }
    702702}
     703/*New*/
     704.fpg-video-section {
     705    display: grid;
     706    grid-template-columns: repeat(4, 1fr);
     707    gap: 20px;
     708    margin: 20px 0;
     709}
     710
     711.fpg-video-card {
     712    background: #fff;
     713    padding: 5px 20px;
     714    border-radius: 8px;
     715    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
     716    text-align: center;
     717
     718}
     719
     720.fpg-iframe {
     721    width: 100%;
     722    height: 200px;
     723    border-radius: 6px;
     724    display: block;
     725}
     726
     727.fpg-video-card h3 {
     728    font-size: 16px;
     729    margin-top: 10px;
     730    margin-bottom: 20px;
     731}
  • fancy-post-grid/trunk/admin/submenu/settings/get-help.php

    r3350257 r3371841  
    77        <div class="fpg-help-section fpg-document-box">
    88            <div class="fpg-box-content">
    9                 <div class="fpg-box-title-wrapper">
    10                     <i class="dashicons dashicons-layout"></i>
    11                     <h3 class="fpg-box-title"><?php echo esc_html__( 'Thank you for installing Fancy Post Grid', 'fancy-post-grid' ); ?></h3>
    12                 </div>
    13 
    14                 <h3><?php echo esc_html__( 'Plugin Demo', 'fancy-post-grid' ); ?></h3>
    15                 <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/ZRpv49BUG_k?si=XHPGsG_mGPHcVWtK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
    16 
    17                 <h3><?php echo esc_html__( 'Shortcode Tutorial', 'fancy-post-grid' ); ?></h3>
    18                 <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/SclxnsTzWcc?si=Smp74B2AsK32nAbx" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
    19 
    20                 <h3><?php echo esc_html__( 'Elementor Tutorial', 'fancy-post-grid' ); ?></h3>
    21                 <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/vjX_c0yOcYI?si=m_UXm7ShIG9qhRne" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
    22 
    23                 <h3><?php echo esc_html__( 'Gutenberg Tutorial', 'fancy-post-grid' ); ?></h3>
    24                 <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/RwMDdesJvJY?si=FDw0TtAcj4HFjnVR" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
     9                <div class="fpg-box-title-wrapper">
     10                    <i class="dashicons dashicons-layout"></i>
     11                    <h3 class="fpg-box-title"><?php echo esc_html__( 'Thank you for installing Fancy Post Grid', 'fancy-post-grid' ); ?></h3>
     12                </div>
     13                <div class="fpg-video-section">
     14                    <div class="fpg-video-card">
     15                        <h3><?php echo esc_html__( 'Plugin Demo', 'fancy-post-grid' ); ?></h3>
     16                        <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/ZRpv49BUG_k?si=XHPGsG_mGPHcVWtK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
     17                    </div>
     18                    <div class="fpg-video-card">
     19                        <h3><?php echo esc_html__( 'Shortcode Tutorial', 'fancy-post-grid' ); ?></h3>
     20                        <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/SclxnsTzWcc?si=Smp74B2AsK32nAbx" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
     21                    </div>
     22                    <div class="fpg-video-card"> 
     23                        <h3><?php echo esc_html__( 'Elementor Tutorial', 'fancy-post-grid' ); ?></h3>
     24                        <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/vjX_c0yOcYI?si=m_UXm7ShIG9qhRne" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
     25                    </div>
     26                    <div class="fpg-video-card">
     27                        <h3><?php echo esc_html__( 'Gutenberg Tutorial', 'fancy-post-grid' ); ?></h3>
     28                        <iframe class="fpg-iframe" width="800" height="450" src="https://www.youtube.com/embed/RwMDdesJvJY?si=FDw0TtAcj4HFjnVR" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
     29                    </div>
     30                </div>
    2531            </div>
    2632        </div>
  • fancy-post-grid/trunk/fancy-post-grid.php

    r3350257 r3371841  
    55 * Plugin URI:        https://wordpress.org/plugins/fancy-post-grid/
    66 * Description:       Fancy Post Grid lets you showcase posts in 9+ modern styles with full support for Gutenberg blocks, Elementor widgets, and shortcodes — simple, responsive, and customizable.
    7  * Version:           1.0.1
     7 * Version:           1.0.2
    88 * License:           GPLv2 or later
    99 * License URI:       http://www.gnu.org/licenses/gpl-2.0.html
    1010 * Text Domain:       fancy-post-grid
    1111 * Domain Path:       /languages
    12  * Requires PHP:      7.0.0
    13  * Requires at least: 5.5
     12 * Requires PHP:      7.4
     13 * Requires at least: 6.3
    1414 */
    1515
     
    1717 * Defines constants
    1818 */
    19 define( 'FANCY_POST_GRID_VERSION', '1.0.1' );
     19define( 'FANCY_POST_GRID_VERSION', '1.0.2' );
    2020define( 'FANCY_POST_GRID_PATH', plugin_dir_path( __FILE__ ) );
    2121define( 'FANCY_POST_GRID_URL', plugin_dir_url( __FILE__ ) );
     22define( 'FANCY_POST_GRID_BASENAME_LITE', plugin_basename(__FILE__));
    2223
    2324/**
     
    7172
    7273/**
     74 * Redirect to settings page after plugin activate
     75 *
     76 */
     77
     78function fpg_free_activation_redirect( $plugin ) {
     79    if( $plugin == plugin_basename( __FILE__ ) ) {
     80        exit( esc_url_raw(wp_safe_redirect( admin_url( 'edit.php?post_type=fancy-post-grid-fpg&page=fancy_post_grid_get_help' ) )) );
     81    }
     82}
     83add_action( 'activated_plugin', 'fpg_free_activation_redirect' );
     84
     85// Add settings links to the plugin page
     86function fpg_free_custom_setting_page_links($links) {
     87    $settings_links = array(
     88        sprintf("<a href='%s'>%s</a>", admin_url('edit.php?post_type=fancy-post-grid-fpg&page=fancy_post_grid_advanced_settings'), __('Settings', 'fancy-post-grid')),
     89       
     90        sprintf("<a href='%s' target='_blank'>%s</a>", 'https://rstheme.com/support/', __('Support', 'fancy-post-grid')),
     91 
     92    );
     93
     94    $links = array_merge($links, $settings_links);
     95    return $links;
     96}
     97
     98add_filter('plugin_action_links_' . FANCY_POST_GRID_BASENAME_LITE, 'fpg_free_custom_setting_page_links');
     99
     100/**
    73101 * Register custom image sizes for Fancy Post Grid
    74102 */
    75103function fancy_post_grid_register_image_sizes() {
     104    add_image_size( 'fancy_post_small01_card_size', 130, 130, true );
     105    add_image_size( 'fancy_post_small02_card_size', 139, 130, true );
     106    add_image_size( 'fancy_post_categories_card_size', 194, 156, true );
     107    add_image_size( 'fancy_post_small03_card_size', 332, 175, true );
     108    add_image_size( 'fancy_post_medium01_card_size', 401, 322, true );
     109    add_image_size( 'fancy_post_medium02_card_size', 426, 316, true );
     110    add_image_size( 'fancy_post_small04_card_size', 450, 426, true );
     111    add_image_size( 'fancy_post_trending01_card_size', 450, 462, true );
     112    add_image_size( 'fancy_post_trending02_card_size', 450, 470, true );
     113    add_image_size( 'fancy_post_trending03_card_size', 450, 480, true );
     114    add_image_size( 'fancy_post_trending04_card_size', 450, 501, true );
     115    add_image_size( 'fancy_post_trending05_card_size', 440, 501, true );
     116    add_image_size( 'fancy_post_trending06_card_size', 450, 526, true );
     117   
     118    add_image_size( 'fancy_post_overlay01_card_size', 930, 462, true );
     119    add_image_size( 'fancy_post_overlay02_card_size', 930, 501, true );
     120    add_image_size( 'fancy_post_video_card_size', 1920, 650, true );
    76121    add_image_size( 'fancy_post_custom_size', 768, 500, true ); // Custom size with 768x500 dimensions and hard crop
    77122    add_image_size( 'fancy_post_square', 500, 500, true );      // Square size with 500x500 dimensions
     
    81126}
    82127add_action( 'after_setup_theme', 'fancy_post_grid_register_image_sizes' );
     128
  • fancy-post-grid/trunk/includes/shortcode_generate.php

    r3350257 r3371841  
    1010        'name'               => esc_html__( 'Fancy Post Grid', 'fancy-post-grid' ),
    1111        'singular_name'      => esc_html__( 'The Post Grid', 'fancy-post-grid' ),
    12         'add_new'            => esc_html__( 'Add New Grid', 'fancy-post-grid' ),
    13         'all_items'          => esc_html__( 'All Grids', 'fancy-post-grid' ),
    14         'add_new_item'       => esc_html__( 'Add New Post Grid', 'fancy-post-grid' ),
     12        'add_new'            => esc_html__( 'Add New Shortcode Grid', 'fancy-post-grid' ),
     13        'all_items'          => esc_html__( 'All Shortcode Grids', 'fancy-post-grid' ),
     14        'add_new_item'       => esc_html__( 'Add Shortcode Grid', 'fancy-post-grid' ),
    1515        'edit_item'          => esc_html__( 'Edit Post Grid', 'fancy-post-grid' ),
    1616        'new_item'           => esc_html__( 'New Post Grid', 'fancy-post-grid' ),
Note: See TracChangeset for help on using the changeset viewer.