Plugin Directory

Changeset 1834976


Ignore:
Timestamp:
03/07/2018 04:17:36 AM (8 years ago)
Author:
irmau
Message:

Added css link for shareprice and changed load priority

Location:
irm-newsroom/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • irm-newsroom/trunk/README.txt

    r1830549 r1834976  
    105105== Changelog ==
    106106
     107= 1.2.0 =
     108* Added css link for shareprice and changed load priority
     109
    107110= 1.1.0 =
    108111* Added Events Calendar shortcode and tab
  • irm-newsroom/trunk/irm-newsroom.php

    r1834926 r1834976  
    1717 * Plugin URI:        http://www.irmnewsroom.com/
    1818 * Description:       IRM Newsroom is an ASX announcements, news and social media distribution service, which enables companies to easily communicate with investors and other stakeholders across multiple online channels – including website, email subscriptions and social media channels.
    19  * Version:           1.1.0
     19 * Version:           1.2.0
    2020 * Author:            IRM
    2121 * Author URI:        http://irmau.com
     
    7676    $site_directory = esc_attr( get_option('site_directory') );
    7777    $script_url = $site_type . "://" . $site_key . "/" . $site_directory . "/content/js/quoteapi.js";
    78 
    7978    echo '<script src="'.$script_url.'"></script>';
     79    echo '<link rel="stylesheet" href="https://js.irmau.com/shareprice/shareprice.css">';
    8080}
    8181
     
    8686    $share_price_toggle = esc_attr( get_option('share_price_toggle') );
    8787    if($share_price_toggle == "on") {
    88         add_action('wp_head', 'iguana_js');
     88        add_action('wp_head', 'iguana_js', 1);
    8989    }
    9090
Note: See TracChangeset for help on using the changeset viewer.