Plugin Directory

Changeset 3212452


Ignore:
Timestamp:
12/24/2024 06:54:07 AM (12 months ago)
Author:
zishlife
Message:

Issue fixed in plugin

Location:
avantex-companion
Files:
195 added
3 edited

Legend:

Unmodified
Added
Removed
  • avantex-companion/trunk/avantex-companion.php

    r3101643 r3212452  
    88* Plugin URI:   https://wordpress.org/plugins/avantex-companion
    99* Description:  Avantex Companion plugin provides themes extra settings for theme avantex.
    10 * Version:      0.2.3
     10* Version:      0.2.4
    1111* Author:       FARAZFRANK
    1212* Author URI:   https://avantex.com/
    13 * Tested up to: 6.2
     13* Tested up to: 6.7
    1414* Requires:     4.0 or higher
    1515* License:      GPLv3 or later
  • avantex-companion/trunk/inc/avantex/demo-content/setup.php

    r3101643 r3212452  
    195195
    196196
    197 // Custom CSS for OCDI plugin.
    198 function avantex_starter_sites_ocdi_css() { ?>
    199     <style >
    200         .ocdi__gl-item:nth-child(n+3) .ocdi__gl-item-buttons .button-primary, .ocdi .ocdi__theme-about, .ocdi__intro-text {
    201             display: none;
    202         }
    203         .ocdi__gl-item-image-container::after {
    204             padding-top: 75% !important;
    205         }
    206 
    207     </style>
    208     <?php
     197function avantex_starter_sites_ocdi_css() {
     198    // Check if it's an admin page and not the Customizer.
     199    if (is_admin() && !is_customize_preview()) {
     200        ?>
     201        <style>
     202            .ocdi__gl-item:nth-child(n+3) .ocdi__gl-item-buttons .button-primary,
     203            .ocdi .ocdi__theme-about,
     204            .ocdi__intro-text {
     205                display: none;
     206            }
     207            .ocdi__gl-item-image-container::after {
     208                padding-top: 75% !important;
     209            }
     210        </style>
     211        <?php
     212    }
    209213}
    210214add_action( 'admin_enqueue_scripts', 'avantex_starter_sites_ocdi_css' );
  • avantex-companion/trunk/readme.txt

    r3101643 r3212452  
    33Tags: frontpage, theme page, featured, widgets, admin, companion, homepage, WordPress frontpage, template, theme builder, page builder
    44PHP Requires at least: 4.0
    5 Tested up to: 6.4.5
    6 Stable tag: 0.2.3
     5Tested up to: 6.7
     6Stable tag: 0.2.4
    77Requires PHP: 7.4 tested up to 8.0.6
    88License: GPLv3 or later
     
    2121
    2222== Changelog ==
     23* Version:  0.2.4
     24    * Fixed Admin Panel Css Code in Setup.php
     25
    2326* Version:  0.2.3
    2427    * Fixed Read More translatable.
Note: See TracChangeset for help on using the changeset viewer.