Changeset 2041269
- Timestamp:
- 02/28/2019 09:25:34 AM (7 years ago)
- Location:
- wp-page-title-with-icon/trunk
- Files:
-
- 1 added
- 5 edited
-
Screenshot 2019-02-28 at 2.30.11 PM.png (added)
-
admin/functions.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
screenshot-1.png (modified) (previous)
-
screenshot-2.png (modified) (previous)
-
wp-page-title-icon.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-page-title-with-icon/trunk/admin/functions.php
r1260186 r2041269 3 3 defined( 'ABSPATH' ) or die( 'No direct access allowed' ); 4 4 /* Includes font-awesome */ 5 add_action (' init', 'wpptwi_enq_files');5 add_action ('wp_enqueue_scripts', 'wpptwi_enq_files'); 6 6 function wpptwi_enq_files(){ 7 7 wp_enqueue_style('font-awesome', WPPTWI_PLUGIN_URL.'/css/font-awesome.min.css'); … … 17 17 wp_enqueue_style( 'wp-color-picker' ); 18 18 19 wp_enqueue_script('icon-picker', WPPTWI_PLUGIN_URL.'/js/fontawesome-iconpicker.js' );19 wp_enqueue_script('icon-picker', WPPTWI_PLUGIN_URL.'/js/fontawesome-iconpicker.js', array( 'jquery' )); 20 20 // Include custom jQuery file with WordPress Color Picker dependency 21 wp_enqueue_script( 'wpptwi-color-picker', WPPTWI_PLUGIN_URL.'/js/custom.js', array( ' wp-color-picker' ), false, true );21 wp_enqueue_script( 'wpptwi-color-picker', WPPTWI_PLUGIN_URL.'/js/custom.js', array( 'jquery', 'wp-color-picker' ), false, true ); 22 22 23 23 } -
wp-page-title-with-icon/trunk/readme.txt
r1257114 r2041269 3 3 Tags: icon, page title, post title, font awesome, page title with icon, post title with icon, icon picker 4 4 Requires at least: 3.0 5 Tested up to: 4.3.15 Tested up to: 5.1 6 6 Stable tag: /trunk/ 7 7 … … 18 18 == Screenshots == 19 19 1. Screenshot showing WordPress admin area 20 2. Screenshot showing icon in Front End 20 21 21 2. Screenshot showing icon in Front End 22 == Changelog == 23 Updated with correct hook and added jquery dependency -
wp-page-title-with-icon/trunk/wp-page-title-icon.php
r1257112 r2041269 5 5 Description: A simple plugin to display icons with title in posts/pages. 6 6 Author: Vidya L 7 Author URI: http://www.wpresource.net/ 8 Version: 1.0.0 7 Version: 1.1.0 9 8 Text Domain: wp-page-title-icon 10 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.