Plugin Directory

Changeset 2866428


Ignore:
Timestamp:
02/16/2023 01:29:59 PM (3 years ago)
Author:
wowholic
Message:

Remove login condition for grid and layout

Location:
wowholic-core/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wowholic-core/trunk/includes/actions/grid.php

    r2811120 r2866428  
    192192            </svg>
    193193        </button>
    194        
    195         <?php if ( is_user_logged_in() ) { ?>
     194
    196195        <div class="wowcore-grid js-wowcore-grid is-active">
    197196            <div class="wowcore-grid_container">
     
    203202            </div>
    204203        </div>
    205         <?php } ?>
    206        
     204
    207205        <script type="text/javascript">
    208206            document.addEventListener('DOMContentLoaded', () => {
  • wowholic-core/trunk/includes/actions/layout.php

    r2811120 r2866428  
    55 */
    66if ( carbon_get_theme_option( 'wowcore_enable_layout_spacing' ) ) {
    7     if ( is_user_logged_in() ) {
    8         add_action( 'wp_enqueue_scripts', function () {
    9             wp_enqueue_script( 'spacingjs-defer', WOWCORE_PLUGIN_URL . 'assets/js/spacingjs.js', [], null, true );
    10         } );
    11     };
     7    add_action( 'wp_enqueue_scripts', function () {
     8        wp_enqueue_script( 'spacingjs-defer', WOWCORE_PLUGIN_URL . 'assets/js/spacingjs.js', [], null, true );
     9    } );
    1210}
  • wowholic-core/trunk/readme.txt

    r2811120 r2866428  
    77Requires at least: 5.6
    88Tested up to: 6.1
    9 Stable tag: 1.0.5
     9Stable tag: 1.0.6
    1010Requires PHP: 7.0
    1111
  • wowholic-core/trunk/wowholic-core.php

    r2811120 r2866428  
    44 * Plugin URI: https://github.com/Wowholic/CORE
    55 * Description: Utility functions and options for common tasks in WordPress.
    6  * Version: 1.0.5
     6 * Version: 1.0.6
    77 * Author: Wowholic
    88 * Author URI: https://wowholic.com
Note: See TracChangeset for help on using the changeset viewer.