Plugin Directory

Changeset 3049582


Ignore:
Timestamp:
03/12/2024 08:01:02 AM (2 years ago)
Author:
investi
Message:

add settings to hyperlink to WP plugin and updated docs

Location:
investi/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • investi/trunk/investi.php

    r3038877 r3049582  
    77* Plugin URI: https://web.investi.com.au/wordpress-plugin
    88* Description: Share Price Charts and Widgets. Our comprehensive and timely data quickly summarises your current and historical share price performance,displaying charts and widgets to enhance engagement with your investor audience.
    9 * Version: 1.0.3
     9* Version: 1.0.4
    1010* Author: Investi Services Pty Ltd
    1111* Author URI: https://web.investi.com.au
     
    1515* License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1616**/
    17 foreach (glob(__DIR__ . '/includes/*.php') as $filename) {
     17foreach (glob(__DIR__ . '/includes/*.php') as $filename) { 
    1818    include $filename;
    1919}
     
    8585        update_option('investi-do-not-add-css', $doNotAddCss);       
    8686    }   
    87 
    8887}
    8988add_action( 'admin_init', 'investi_admin_init' );
     89
     90add_filter( 'plugin_action_links', 'investi_admin_settings_plugin_link', 10, 2 );
     91
     92function investi_admin_settings_plugin_link( $links, $file )
     93{
     94    if ( $file == plugin_basename(dirname(__FILE__) . '/investi.php') )
     95    {
     96        /*
     97         * Insert the link at the beginning
     98         */
     99        $in = '<a href="options-general.php?page=investi">' . __('Settings','mtt') . '</a>';
     100        array_unshift($links, $in);
     101
     102       
     103    }
     104    return $links;
     105}
     106
    90107
    91108add_shortcode( 'investi-announcements-accordion', 'investi_accordion_func' );
  • investi/trunk/readme.txt

    r3038877 r3049582  
    66Requires PHP:      7.2
    77Tested up to: 6.4.1
    8 Stable tag: 1.0.3
    9 Version: 1.0.3
     8Stable tag: 1.0.4
     9Version: 1.0.4
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1212
    13 Share Price Charts and Announcement widgets for the ASX, LSE, AIM & FSE. Our comprehensive and timely data quickly summarises your current and historical share price performance,displaying charts and widgets to enhance engagement with your investor audience.
     13Share price charts and announcement widgets for the ASX, LSE, AIM & FSE.
    1414
    1515== Description ==
    1616
    17 
    18 Share Price Charts and Announcement widgets for the ASX, LSE, AIM & FSE. Our comprehensive and timely data quickly summarises your current and historical share price performance,displaying charts and widgets to enhance engagement with your investor audience.
     17Share price charts and announcement widgets for the ASX, LSE, AIM & FSE. Our comprehensive and timely data quickly summarises your current and historical share price performance,displaying charts and widgets to enhance engagement with your investor audience.
    1918
    2019== Installation ==
     
    2423After activating Investi, go to the plugin settings page by clicking on 'Investi' in the admin menu
    2524
    26 A Test API Key will enable you to demo the widgets using shortcodes [see examples here](https://web.investi.com.au/investor-dashboard/)
    27 
    28 API calls will be made to the investi backend at api.investi.com.au - see our privacy policy [here](https://web.investi.com.au/wp-content/plugins/investi/privacy_policy.html)
    29 
    3025== Third Party Services
    3126
     
    3429== Frequently Asked Questions ==
    3530
    36 = How do I get an API Key for a specific stock ? =
     31= How do I get an API Key for a specific stock? =
    3732
    38 Please email us at [email protected] and will we provide you with one.
     33Please email us at [email protected] and we will provide you with one.
     34
     35A Test API Key will enable you to demo the widgets using shortcodes [see examples here](https://web.investi.com.au/investor-dashboard/)
     36
     37API calls will be made to the investi backend at api.investi.com.au - see our privacy policy [here](https://web.investi.com.au/wp-content/plugins/investi/privacy_policy.html)
     38
    3939
    4040= How do customize the widget. How do i change the color, filter announcements, change the date format etc? =
    4141
    42 Each shortcode has several optional arguments
     42All shortcodes accept various parameters - see [Investi Documentation](https://web.investi.com.au/investor-dashboard/)
    4343
    44 For example the chart accepts a color:
     44For example, the chart accepts a color:
    4545
    4646
     
    4848
    4949
    50 All announcement widgets support date format, limiting the number of announcements and filtering e.g.
     50All announcement widgets support date format, limiting the number of announcements, filtering and search e.g.
    5151
    52 `[investi-announcements-summary-v2 date-format="dd MMM yy" num-announcements=5 filter-regex="report"]`
     52`[investi-announcements-summary-v2 date-format="dd MMM yy" num-announcements=5 filter-regex="report" searchbox]`
    5353
     54View [Investi Documentation](https://web.investi.com.au/investor-dashboard/) for example shortcodes with parameters.
    5455
    5556== Screenshots ==
     
    6061
    6162== Changelog ==
     63
     64= 1.0.4 =
     65* add settings to hyperlink to WP plugin and updated docs
    6266
    6367= 1.0.3 =
  • investi/trunk/views/investi-install.php

    r3038877 r3049582  
    115115        <p>How do i change ticker?</p>
    116116        <p>An API Key is bound to a specific ticker - please email [email protected] to get the API Key for your
    117             company</p>
     117            company (1 Month free trial)</p>
    118118
    119119    </div>
Note: See TracChangeset for help on using the changeset viewer.