Plugin Directory

Changeset 1666996


Ignore:
Timestamp:
05/30/2017 10:20:16 AM (9 years ago)
Author:
ayush.malakar
Message:

Fixed popup big on show-hooks.php
Updated readme.txt

Location:
woo-visual-hook-guide/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • woo-visual-hook-guide/trunk/inc/hook-library.php

    r1573079 r1666996  
    5555    'woocommerce_after_checkout_billing_form',
    5656    'woocommerce_checkout_order_review',
    57     'woocommerce_cart_collaterals',
    58     'woocommerce_proceed_to_checkout',
    5957    'woocommerce_view_order',
    6058    'woocommerce_thankyou',
     
    106104    'woocommerce_account_add-payment-method_endpoint',
    107105    'woocommerce_account_edit-account_endpoint',
     106    'woocommerce_proceed_to_checkout',
    108107);
    109108
  • woo-visual-hook-guide/trunk/inc/show-hooks.php

    r1573079 r1666996  
    5555        public function hook_html_structure( $hooks ) {
    5656            ob_start();
     57
    5758            ?>
    5859
     
    109110        public function wvhg_style() {
    110111            wp_enqueue_style( 'wvhg-style', plugins_url( 'css/wvhg-style.css', WVHG_BASE_PATH ) );
    111             wp_enqueue_style( 'wvhg-style', plugins_url( 'css/magnific-popup.css.css', WVHG_BASE_PATH ) );
     112            wp_enqueue_style( 'magnific-css', plugins_url( 'css/magnific-popup.css', WVHG_BASE_PATH ) );
     113            wp_enqueue_script( 'magnific-js', plugins_url( 'js/jquery.magnific-popup.min.js', WVHG_BASE_PATH ) );
     114
    112115            wp_enqueue_script( 'wvhg-script', plugins_url( 'js/woo-hook-guide.js', WVHG_BASE_PATH ) );
    113116            wp_localize_script( 'wvhg-script', 'wvhg_ajax', array(
  • woo-visual-hook-guide/trunk/readme.txt

    r1573097 r1666996  
    22Contributors: ayushmalakar
    33Tags: woo visual hook guide, woocommerce, hook guide, visual, woocommerce addons
    4 Requires at least: 4.0.0
    5 Tested up to: 4.7.1
    6 Stable tag: 1.0.0
     4Requires at least: 4.5.0
     5Tested up to: 4.7.5
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949= 1.0.0 =
    5050First Version
     51
     52=1.0.1=
     53Fixed pop up bug
     54Woocommerce 3.0.x compatible
  • woo-visual-hook-guide/trunk/woo-visual-hook-guide.php

    r1573079 r1666996  
    33 * Plugin Name:       Woo Visual Hook Guide
    44 * Description:       Visual hook guide for WooCommerce.
    5  * Version:           1.0.0
     5 * Version:           1.0.1
    66 * Author:            Ayush Malakar
    7  * Author URI:        http://ayushmalakar.com.np/
     7 * Author URI:        https://www.ayushmalakar.com/
    88 * Text Domain:       woo-visual-hook-guide
    99 * License:           GPL-2.0+
     
    5959                add_action( 'admin_notices', array( $this, 'wvh_woocommerce_missing_notice' ) );
    6060            }
     61        } // end of contructor
     62            public static function get_instance() {
     63                // If the single instance hasn't been set, set it now.
     64                if ( null == self::$instance ) {
     65                    self::$instance = new self;
     66                }
    6167
    62         } // end of contructor
     68                return self::$instance;
     69            }
     70
    6371
    6472
     
    6876         * @return object A single instance of this class.
    6977         */
    70         public static function get_instance() {
    71             // If the single instance hasn't been set, set it now.
    72             if ( null == self::$instance ) {
    73                 self::$instance = new self;
    74             }
    7578
    76             return self::$instance;
    77         }
    7879
    7980        /**
Note: See TracChangeset for help on using the changeset viewer.