Plugin Directory

Changeset 1156037


Ignore:
Timestamp:
05/08/2015 11:16:01 AM (11 years ago)
Author:
iammathews
Message:

Fixed continuous loop issue.

Location:
pricing-table-shortcode
Files:
108 added
3 edited

Legend:

Unmodified
Added
Removed
  • pricing-table-shortcode/trunk/prepros.cfg

    r1154801 r1156037  
    6262          "name": "README.md",
    6363          "category": "HTML",
    64           "autoCompile": true,
     64          "autoCompile": false,
    6565          "sanitize": false,
    6666          "gfm": true,
  • pricing-table-shortcode/trunk/pts.php

    r1154801 r1156037  
    44 * Plugin URI: https://wordpress.org/plugins/pricing-tables-shortcode/
    55 * Description: A pricing table plugin, that sells.
    6  * Version: 1.0
     6 * Version: 1.1
    77 * Author: Yusri Mathews
    88 * Author URI: http://yusrimathews.co.za/
     
    8989
    9090    if( get_post_type( get_the_ID() ) == 'page' ){
    91         wp_enqueue_style( 'pts-admin-css', plugin_dir_url( __FILE__ ) . 'css/admin.min.css' );
     91        wp_enqueue_style( 'pts-admin-css', plugin_dir_url( __FILE__ ) . 'css/admin.min.css', array( 'pts-font-awesome' ) );
    9292        wp_enqueue_script( 'pts-admin-js', plugin_dir_url( __FILE__ ) . 'js/admin.min.js', array( 'jquery' ) );
    9393    }
     
    182182                endwhile;
    183183
     184                wp_reset_query();
     185
    184186            } elseif( $layoutStyle == 'modern' ){
    185187
     
    262264                endwhile;
    263265
     266                wp_reset_query();
     267
    264268            } else {
    265269                $shortcodeOutput .= '<p>Something is wrong with your Pricing Table shortcode. Please use our built in shortcode generator to assist you.</p>';
  • pricing-table-shortcode/trunk/readme.txt

    r1154801 r1156037  
    4848== Changelog ==
    4949
     50= 1.1 =
     51* Fixed continuous loop issue.
     52
    5053= 1.0 =
    5154* Fixed 404 page bug.
Note: See TracChangeset for help on using the changeset viewer.