Skip to content

Commit

Permalink
Bump to v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mauryaratan committed May 22, 2014
1 parent b860f53 commit c621fb4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ Yes you can! Join me on [Github Repository](https://github.com/mauryaratan/stagt
* New - ``[stag_column]`` shortcode for wrapping the columns
* New - Added ``stag-section`` class to all block level shortcodes
* New - Custom post type "Project" added, better version of portfolios
* Updated FontAwesome to v4.1.0
* Fix - Minor issue with popup modal not resizing properly
* Tweak - Enqeueu FontAwesome stylesheet before StagTools' shortcode styles
* Update - FontAwesome icons updated to v4.1.0, includes 71 new icons
* Improved - FontAwesome icons now use default FontAwesome classes instead of custom
* Improved - Removed redundant code

Expand Down
3 changes: 2 additions & 1 deletion shortcodes/shortcodes.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

/**
* All Plugin Shortcodes
*
* @package StagTools
*/


Expand Down
16 changes: 8 additions & 8 deletions stagtools.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: StagTools
* Plugin URI: https://wordpress.org/plugins/stagtools/
* Description: A poweful plugin to extend functionality to your WordPress themes offering shortcodes, font icons and useful widgets.
* Version: 1.2.3
* Version: 1.2.4
* Author: Ram Ratan Maurya
* Author URI: http://mauryaratan.me
* License: GPL2
Expand All @@ -22,7 +22,7 @@
* Main StagTools Class
*
* @package StagTools
* @version 1.2.3
* @version 1.2.4
* @author Ram Ratan Maurya (Codestag)
* @link http://mauryaratan.me
* @link http://codestag.com
Expand All @@ -33,7 +33,7 @@ class StagTools {
/**
* @var string
*/
public $version = '1.2.3';
public $version = '1.2.4';

/**
* @var string
Expand Down Expand Up @@ -212,13 +212,13 @@ public function frontend_includes(){
* @return void
*/
public function frontend_style() {
wp_register_style( 'stag-shortcode-styles', plugin_dir_url( __FILE__ ) . 'assets/css/stag-shortcodes.css' , '', $this->version, 'all' );
wp_register_style( 'font-awesome', plugin_dir_url( __FILE__ ) . 'assets/css/font-awesome.css' , '', '4.1.0', 'all' );
wp_register_style( 'font-awesome', $this->plugin_url() . '/assets/css/font-awesome.css' , '', '4.1.0', 'all' );
wp_register_style( 'stag-shortcode-styles', $this->plugin_url() . '/assets/css/stag-shortcodes.css' , array( 'font-awesome' ), $this->version, 'all' );

wp_enqueue_style( 'stag-shortcode-styles' );
wp_enqueue_style( 'font-awesome' );
wp_enqueue_style( 'stag-shortcode-styles' );

wp_register_script( 'stag-shortcode-scripts', plugin_dir_url( __FILE__ ) . 'assets/js/stag-shortcode-scripts.js', array( 'jquery', 'jquery-ui-accordion', 'jquery-ui-tabs' ), $this->version, true );
wp_register_script( 'stag-shortcode-scripts', $this->plugin_url(). '/assets/js/stag-shortcode-scripts.js', array( 'jquery', 'jquery-ui-accordion', 'jquery-ui-tabs' ), $this->version, true );
wp_enqueue_script( 'stag-shortcode-scripts' );
}

Expand Down Expand Up @@ -355,7 +355,7 @@ function contextual_help( $contextual_help, $screen_id, $screen ) {
'title' => __( 'Using Social Icons', 'stag' ),
'content' => '<h5>'. __( 'Using Social Icons Shortcode' ) .'</h5>'.
'<p>' . __( 'To use the social icon use the following shortcode:', 'stag' ) . '</p>'.
'<pre>[stag_social id="all"] // '. __( 'passing "all" in id would display all social icons with filled settings.', 'stag' ) .'</pre>'.
'<pre>[stag_social] // '. __( 'It would display all social icons with non-empty profile URLs.', 'stag' ) .'</pre>'.
'<pre>[stag_social id="facebook,twitter,google-plus"] // '. __( 'or you can pass specific ids.', 'stag' ) .'</pre>'.
'<h5>'. __( 'Using Different Styled Icons' ) .'</h5>'.
'<p>'. __( 'You can use the social icons in two different styles: normal and square. Just pass the <code>style</code> argument in sidebar.<br>E.g.: <code>[stag_social id="twitter,facebook" style="square"]</code>.' ) .'</p>'
Expand Down

0 comments on commit c621fb4

Please sign in to comment.