Make WordPress Themes

Changeset 356462


Ignore:
Timestamp:
10/31/2026 07:34:22 PM (3 hours ago)
Author:
themedropbox
Message:

New version of Spiral Lite One Page - 1.5.4

Location:
spiral-lite-one-page/1.5.4
Files:
1 added
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • spiral-lite-one-page/1.5.4/functions.php

    r272958 r356462  
    319319       
    320320        echo '<div class="service_section">
    321         <div class="service_box"><h3>Installaton Video Tutorial Spiral Lite</h3><p>Import demo content and build and customize the Ello Lite Photography </p><center><a target="_blank" rel="nofollow noopener" href="https://www.youtube.com/watch?v=6FyecnWnJtk" class="learn_more" title="Watch Now" data-wpel-link="external">Watch Now</a></center></div>
    322         <div class="service_box"><h3>SEO Services</h3><p>Increase your ranking and traffic through SEO on & off page services</p><center><a target="_blank" rel="nofollow noopener" href="https://seoengineinc.com/" class="learn_more" title="Learn More" data-wpel-link="external">Learn More</a></center></div>
    323         <div class="service_box"><h3>Wordpress Customization Service</h3><p>Order The Service Add more custom features and designs!</p><center><a target="_blank" rel="nofollow noopener" href="https://pixelonetry.com/services/" class="learn_more" title="Learn More" data-wpel-link="external">Learn More</a></center></div>
    324321        </div><br/><a href="https://pixelonetry.com/downloads/spiral-one-page-parallax-wordpress-theme/" target="_blank"><input type="button" value="Upgrade to Pro, unlock all features" class="button button-primary button-large req_btn"></a>';             
    325        
    326322        }
    327323
    328324add_action('admin_notices', 'spiral_lite_one_page_admin_notice');
    329325
     326/**
     327 * Customizer Live Preview: Logo, Breadcrumb and Typography
     328 */
     329function spiral_lite_one_page_customizer_live_preview() {
     330
     331    wp_enqueue_script(
     332        'spiral_lite_one_page-customizer-live-preview',
     333        get_template_directory_uri() . '/js/elina-typography-live-preview.js',
     334        array( 'jquery', 'customize-preview' ),
     335        SPIRAL_LITE_ONE_PAGE_VERSION,
     336        true
     337    );
     338
     339}
     340add_action(
     341    'customize_preview_init',
     342    'spiral_lite_one_page_customizer_live_preview'
     343);
     344
  • spiral-lite-one-page/1.5.4/inc/extras.php

    r302945 r356462  
    183183/*******************************************************************************/
    184184
    185 
    186  add_action( 'wp_ajax_install_act_plugin', 'spiral_lite_one_page_admin_install_plugin' );
    187  
    188  function spiral_lite_one_page_admin_install_plugin() {
    189      /**
    190       * Install Plugin.
    191       */
    192      include_once ABSPATH . '/wp-admin/includes/file.php';
    193      include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    194      include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
    195  
    196      if ( ! file_exists( WP_PLUGIN_DIR . '/pixelonetry-companion' ) ) {
    197          $api = plugins_api( 'plugin_information', array(
    198              'slug'   => sanitize_key( wp_unslash( 'pixelonetry-companion' ) ),
    199              'fields' => array(
    200                  'sections' => false,
    201              ),
    202          ) );
    203  
    204          $skin     = new WP_Ajax_Upgrader_Skin();
    205          $upgrader = new Plugin_Upgrader( $skin );
    206          $result   = $upgrader->install( $api->download_link );
    207      }
    208  
    209      // Activate plugin.
    210      if ( current_user_can( 'activate_plugin' ) ) {
    211          $result = activate_plugin( 'pixelonetry-companion/pixelonetry-companion.php' );
    212      }
    213  }     
    214  
     185add_action( 'wp_ajax_install_act_plugin', 'spiral_lite_one_page_admin_install_plugin' );
     186
     187function spiral_lite_one_page_admin_install_plugin() {
     188
     189    include_once ABSPATH . 'wp-admin/includes/file.php';
     190    include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
     191    include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
     192
     193    $plugins = array(
     194        array(
     195            'slug' => 'pixelonetry-companion',
     196            'file' => 'pixelonetry-companion/pixelonetry-companion.php',
     197        ),
     198        array(
     199            'slug' => 'pelightbox-gallery-slider',
     200            'file' => 'pelightbox-gallery-slider/pelightbox-gallery-slider.php',
     201        ),
     202        array(
     203            'slug' => 'contact-form-7',
     204            'file' => 'contact-form-7/wp-contact-form-7.php',
     205        ),
     206    );
     207
     208    foreach ( $plugins as $plugin ) {
     209
     210        if ( ! file_exists( WP_PLUGIN_DIR . '/' . $plugin['file'] ) ) {
     211
     212            $api = plugins_api( 'plugin_information', array(
     213                'slug'   => sanitize_key( $plugin['slug'] ),
     214                'fields' => array(
     215                    'sections' => false,
     216                ),
     217            ) );
     218
     219            if ( is_wp_error( $api ) || empty( $api->download_link ) ) {
     220                continue;
     221            }
     222
     223            $skin     = new WP_Ajax_Upgrader_Skin();
     224            $upgrader = new Plugin_Upgrader( $skin );
     225            $result   = $upgrader->install( $api->download_link );
     226
     227            if ( is_wp_error( $result ) || ! $result ) {
     228                continue;
     229            }
     230        }
     231
     232        if ( current_user_can( 'activate_plugins' ) ) {
     233            activate_plugin( $plugin['file'] );
     234        }
     235    }
     236}
     237
    215238 ?>
  • spiral-lite-one-page/1.5.4/inc/tgm-plugin/tgm-hook.php

    r292095 r356462  
    8484                        'required'  => false,
    8585                ),
     86                array(
     87                        'name'      => __( 'peLightbox Gallery Slider – Responsive Lightbox, Slideshow, Carousel, Image & Video Gallery', 'spiral-lite-one-page' ),
     88                        'slug'      => 'pelightbox-gallery-slider',
     89                        'required'  => false,
     90                ),
    8691        );
    8792
  • spiral-lite-one-page/1.5.4/readme.txt

    r342840 r356462  
    55Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, Full width template, Portfolio, Services, Agency, One Page, Post formats, Right sidebar, Theme options translation-ready
    66Requires at least: 5.9
    7 Tested up to: 6.9
    8 Stable tag: 1.5.3
     7Tested up to: 7.1.4
     8Stable tag: 1.5.4
    99Requires PHP: 7.4
    1010License:  GNU General Public License version 3.0
    … …  
    276276* Updates Social
    277277
     278= 1.5.4 =
     279* Update Meta
     280* Added Typtography
     281
    278282== Upgrade Notice ==
    279283
    … …  
    394398= 1.5.1 =
    395399* Updates Social
     400
     401= 1.5.4 =
     402* Update Meta
     403* Added Typtography
  • spiral-lite-one-page/1.5.4/style.css

    r342840 r356462  
    55Author URI: https://pixelonetry.com/
    66Description: SpiralLite is creative one page parallax WordPress theme for anyone. This theme can be used for creative, portfolio, agency or multipurpose website .This theme is perfect for any other categories as well and you can also modify it. Documentation: https://pixelonetry.com/docs/spiral-lite-one-page/ the demo at https://pixelonetry.com/previews/?theme=spiral-lite the PRO demo at https://pixelonetry.com/previews/?theme=spiral, and get support: https://pixelonetry.freshdesk.com/support/tickets/new .
    7 Version: 1.5.3
    8 Tested up to: 6.9
     7Version: 1.5.4
     8Tested up to: 7.1.4
    99Requires PHP: 5.6
    1010License: GNU General Public License v2 or later
Note: See TracChangeset for help on using the changeset viewer.