Plugin Directory

Changeset 3195944


Ignore:
Timestamp:
11/24/2024 04:44:01 PM (16 months ago)
Author:
soliddigital
Message:

Update to version 1.6.2 from GitHub

Location:
solid-dynamics
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • solid-dynamics/tags/1.6.2/readme.txt

    r3195679 r3195944  
    33Tags: elementor, dynamic tags, jet engine, macros
    44Tested up to: 6.7.1
    5 Stable tag: 1.6.1
     5Stable tag: 1.6.2
    66Requires PHP: 7.0
    77License: GPLv2
     
    1111== Description ==
    1212
    13 This plugin provides an Admin Page called, "Widget Usage" that shows the individual posts in which a widget is used.
    14 Currently, the Elementor Element Manager only shows the total number of usages of a widget. We're always wondering
    15 where those widgets are being used, and "Widget Usage" is the answer to that question.
     13This plugin provides an Admin Page called, "Widget Usage" under the "Solid Dynamics" menu that shows the individual posts in which a widget is used. Currently, the Elementor Element Manager only shows the total number of usages of a widget. We're always wondering where those widgets are being used, and "Widget Usage" is the answer to that question.
    1614
    17 Solid Dynamics also provides several dynamic tags under the "Solid Dynamics" section:
     15Solid Dynamics also provides several dynamic tags under the "Solid Dynamics" section in Elementor:
    1816
    1917- `Custom Callback`: Call any php function. The current post is passed as the first argument.
     
    2321- `Post Field`: Retrieves custom post field by name.
    2422
    25 This plugin also provides several general use and Elementor specific settings at Settings > Solid Dynamics. All settings have to be opted in to. Activating the plugin does not activate any of the settings. Activating the plugin does automatically make the dynamic tags listed above available.
     23This plugin also provides several general use and Elementor specific settings under the menu Solid Dynamics. All settings have to be opted in to. Activating the plugin does not activate any of the settings. Activating the plugin does automatically make the dynamic tags listed above available.
    2624
    2725General:
     
    5351
    5452== Changelog ==
     53
     54= 1.6.2 =
     552024-11-24
     56- Feature: Moving "Solid Dynamics" to its own menu page
     57- Patch: Ensuring "Widget Usage" menu option is visible
     58
     59= 1.6.1 =
     602024-11-23
     61- Patch: Changelog update
    5562
    5663= 1.6.0 =
  • solid-dynamics/tags/1.6.2/settings/settings.php

    r2896069 r3195944  
    2424        $this->wpsf->add_settings_page(
    2525            array(
    26         'parent_slug' => 'options-general.php',
    27                 'page_title'  => esc_html__( 'Solid Dynamics', 'solid-dynamics' ),
     26                'page_title'  => esc_html__( 'Settings', 'solid-dynamics' ),
    2827                'menu_title'  => esc_html__( 'Solid Dynamics', 'solid-dynamics' ),
    2928                'capability'  => 'manage_options',
  • solid-dynamics/tags/1.6.2/solid-dynamics.php

    r3195679 r3195944  
    44 * Plugin Name:       Solid Dynamics
    55 * Description:       Helpful utilities for Elementor, Jet Engine, and beyond.
    6  * Version:           1.6.1
     6 * Version:           1.6.2
    77 * Author:            Solid Digital
    88 * Author URI:        https://www.soliddigital.com
     
    3030
    3131new Settings();
     32
     33require_once( __DIR__ . "/widget-usage/admin-page.php" );
  • solid-dynamics/tags/1.6.2/widget-usage/admin-page.php

    r3195678 r3195944  
    44// Hook to add the admin menu page
    55add_action('admin_menu', function () {
    6     add_menu_page(
    7         'Elementor Widget Usage',   // Page title
    8         'Widget Usage',            // Menu title
     6    add_submenu_page(
     7        'solid-dynamics-settings',
     8        __('Elementor Widget Usage', 'solid-dynamics'),   // Page title
     9        __('Widget Usage', 'solid-dynamics'),            // Menu title
    910        'manage_options',          // Capability
    1011        'elementor-widget-usage',  // Menu slug
     
    2122        <h1>Find Elementor Widget Usage</h1>
    2223        <form method="post" id="widget-usage-form">
    23             <label for="widget_name">Select Widget:</label>
     24            <label for="widget_name"><?php echo __('Select Widget', 'solid-dynamics'); ?>:</label>
    2425            <select id="widget_name" name="widget_name" required>
    25                 <option value="">-- Select a Widget --</option>
     26                <option value="">-- <?php echo __('Select a Widget', 'solid-dynamics'); ?> --</option>
    2627                <?php foreach ($widgets as $widget) : ?>
    2728                    <option value="<?php echo esc_attr($widget); ?>">
     
    3031                <?php endforeach; ?>
    3132            </select>
    32             <?php submit_button('Find Usage'); ?>
     33            <?php submit_button(__('Find Usage', 'solid-dynamics')); ?>
    3334        </form>
    3435
     
    4647                $total_instances = array_sum(array_column($results, 'widget_count'));
    4748
    48                 echo '<h2>Results:</h2>';
    49                 echo '<p>Total Instances Across All Posts: ' . $total_instances . '</p>';
     49                echo '<h2>' . __('Results', 'solid-dynamics') . ':</h2>';
     50                echo '<p>' . __('Total Instances Across All Posts', 'solid-dynamics') . ': ' . $total_instances . '</p>';
    5051                echo '<table class="widefat fixed" cellspacing="0">';
    51                 echo '<thead><tr><th>#</th><th>Title</th><th>Post Type</th><th>Status</th><th>Count</th></tr></thead>';
     52                echo '<thead><tr><th>#</th><th>' . __('Title', 'solid-dynamics') . '</th><th>' . __('Post Type', 'solid-dynamics') . '</th><th>' . __('Status', 'solid-dynamics') . '</th><th>' . __('Count', 'solid-dynamics') . '</th></tr></thead>';
    5253                echo '<tbody>';
    5354
     
    6768                echo '</tbody></table>';
    6869            } else {
    69                 echo '<p>No templates or posts contain this widget.</p>';
     70                echo '<p>' . __('No templates or posts contain this widget', 'solid-dynamics') . '.</p>';
    7071            }
    7172        }
  • solid-dynamics/trunk/readme.txt

    r3195679 r3195944  
    33Tags: elementor, dynamic tags, jet engine, macros
    44Tested up to: 6.7.1
    5 Stable tag: 1.6.1
     5Stable tag: 1.6.2
    66Requires PHP: 7.0
    77License: GPLv2
     
    1111== Description ==
    1212
    13 This plugin provides an Admin Page called, "Widget Usage" that shows the individual posts in which a widget is used.
    14 Currently, the Elementor Element Manager only shows the total number of usages of a widget. We're always wondering
    15 where those widgets are being used, and "Widget Usage" is the answer to that question.
     13This plugin provides an Admin Page called, "Widget Usage" under the "Solid Dynamics" menu that shows the individual posts in which a widget is used. Currently, the Elementor Element Manager only shows the total number of usages of a widget. We're always wondering where those widgets are being used, and "Widget Usage" is the answer to that question.
    1614
    17 Solid Dynamics also provides several dynamic tags under the "Solid Dynamics" section:
     15Solid Dynamics also provides several dynamic tags under the "Solid Dynamics" section in Elementor:
    1816
    1917- `Custom Callback`: Call any php function. The current post is passed as the first argument.
     
    2321- `Post Field`: Retrieves custom post field by name.
    2422
    25 This plugin also provides several general use and Elementor specific settings at Settings > Solid Dynamics. All settings have to be opted in to. Activating the plugin does not activate any of the settings. Activating the plugin does automatically make the dynamic tags listed above available.
     23This plugin also provides several general use and Elementor specific settings under the menu Solid Dynamics. All settings have to be opted in to. Activating the plugin does not activate any of the settings. Activating the plugin does automatically make the dynamic tags listed above available.
    2624
    2725General:
     
    5351
    5452== Changelog ==
     53
     54= 1.6.2 =
     552024-11-24
     56- Feature: Moving "Solid Dynamics" to its own menu page
     57- Patch: Ensuring "Widget Usage" menu option is visible
     58
     59= 1.6.1 =
     602024-11-23
     61- Patch: Changelog update
    5562
    5663= 1.6.0 =
  • solid-dynamics/trunk/settings/settings.php

    r2896069 r3195944  
    2424        $this->wpsf->add_settings_page(
    2525            array(
    26         'parent_slug' => 'options-general.php',
    27                 'page_title'  => esc_html__( 'Solid Dynamics', 'solid-dynamics' ),
     26                'page_title'  => esc_html__( 'Settings', 'solid-dynamics' ),
    2827                'menu_title'  => esc_html__( 'Solid Dynamics', 'solid-dynamics' ),
    2928                'capability'  => 'manage_options',
  • solid-dynamics/trunk/solid-dynamics.php

    r3195679 r3195944  
    44 * Plugin Name:       Solid Dynamics
    55 * Description:       Helpful utilities for Elementor, Jet Engine, and beyond.
    6  * Version:           1.6.1
     6 * Version:           1.6.2
    77 * Author:            Solid Digital
    88 * Author URI:        https://www.soliddigital.com
     
    3030
    3131new Settings();
     32
     33require_once( __DIR__ . "/widget-usage/admin-page.php" );
  • solid-dynamics/trunk/widget-usage/admin-page.php

    r3195678 r3195944  
    44// Hook to add the admin menu page
    55add_action('admin_menu', function () {
    6     add_menu_page(
    7         'Elementor Widget Usage',   // Page title
    8         'Widget Usage',            // Menu title
     6    add_submenu_page(
     7        'solid-dynamics-settings',
     8        __('Elementor Widget Usage', 'solid-dynamics'),   // Page title
     9        __('Widget Usage', 'solid-dynamics'),            // Menu title
    910        'manage_options',          // Capability
    1011        'elementor-widget-usage',  // Menu slug
     
    2122        <h1>Find Elementor Widget Usage</h1>
    2223        <form method="post" id="widget-usage-form">
    23             <label for="widget_name">Select Widget:</label>
     24            <label for="widget_name"><?php echo __('Select Widget', 'solid-dynamics'); ?>:</label>
    2425            <select id="widget_name" name="widget_name" required>
    25                 <option value="">-- Select a Widget --</option>
     26                <option value="">-- <?php echo __('Select a Widget', 'solid-dynamics'); ?> --</option>
    2627                <?php foreach ($widgets as $widget) : ?>
    2728                    <option value="<?php echo esc_attr($widget); ?>">
     
    3031                <?php endforeach; ?>
    3132            </select>
    32             <?php submit_button('Find Usage'); ?>
     33            <?php submit_button(__('Find Usage', 'solid-dynamics')); ?>
    3334        </form>
    3435
     
    4647                $total_instances = array_sum(array_column($results, 'widget_count'));
    4748
    48                 echo '<h2>Results:</h2>';
    49                 echo '<p>Total Instances Across All Posts: ' . $total_instances . '</p>';
     49                echo '<h2>' . __('Results', 'solid-dynamics') . ':</h2>';
     50                echo '<p>' . __('Total Instances Across All Posts', 'solid-dynamics') . ': ' . $total_instances . '</p>';
    5051                echo '<table class="widefat fixed" cellspacing="0">';
    51                 echo '<thead><tr><th>#</th><th>Title</th><th>Post Type</th><th>Status</th><th>Count</th></tr></thead>';
     52                echo '<thead><tr><th>#</th><th>' . __('Title', 'solid-dynamics') . '</th><th>' . __('Post Type', 'solid-dynamics') . '</th><th>' . __('Status', 'solid-dynamics') . '</th><th>' . __('Count', 'solid-dynamics') . '</th></tr></thead>';
    5253                echo '<tbody>';
    5354
     
    6768                echo '</tbody></table>';
    6869            } else {
    69                 echo '<p>No templates or posts contain this widget.</p>';
     70                echo '<p>' . __('No templates or posts contain this widget', 'solid-dynamics') . '.</p>';
    7071            }
    7172        }
Note: See TracChangeset for help on using the changeset viewer.