Plugin Directory

Changeset 2041269


Ignore:
Timestamp:
02/28/2019 09:25:34 AM (7 years ago)
Author:
vidya_l
Message:

wp-page-title-with-icon 1.0.0

Location:
wp-page-title-with-icon/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • wp-page-title-with-icon/trunk/admin/functions.php

    r1260186 r2041269  
    33defined( 'ABSPATH' ) or die( 'No direct access allowed' );
    44/* Includes font-awesome */
    5 add_action ('init', 'wpptwi_enq_files');
     5add_action ('wp_enqueue_scripts', 'wpptwi_enq_files');
    66function wpptwi_enq_files(){
    77    wp_enqueue_style('font-awesome', WPPTWI_PLUGIN_URL.'/css/font-awesome.min.css');
     
    1717        wp_enqueue_style( 'wp-color-picker' );
    1818
    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' ));               
    2020        // 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 );
    2222       
    2323    }
  • wp-page-title-with-icon/trunk/readme.txt

    r1257114 r2041269  
    33Tags: icon, page title, post title, font awesome, page title with icon, post title with icon, icon picker
    44Requires at least: 3.0
    5 Tested up to: 4.3.1
     5Tested up to: 5.1
    66Stable tag: /trunk/
    77
     
    1818== Screenshots ==
    19191. Screenshot showing WordPress admin area
     202. Screenshot showing icon in Front End
    2021
    21 2. Screenshot showing icon in Front End
     22== Changelog ==
     23Updated with correct hook and added jquery dependency
  • wp-page-title-with-icon/trunk/wp-page-title-icon.php

    r1257112 r2041269  
    55Description: A simple plugin to display icons with title in posts/pages.
    66Author: Vidya L
    7 Author URI: http://www.wpresource.net/
    8 Version: 1.0.0
     7Version: 1.1.0
    98Text Domain: wp-page-title-icon
    109License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.