Plugin Directory

Changeset 1871941


Ignore:
Timestamp:
05/10/2018 07:06:38 AM (8 years ago)
Author:
erichmond
Message:

updated team page link

Location:
wp-virgin-money-giving/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-virgin-money-giving/trunk/README.txt

    r1568002 r1871941  
    44Tags: Virgin Money Giving, fundraising, fundraiser, fundraisers, charity, charities, donations meter, donate, donating, widget
    55Requires at least: 4.4.2
    6 Tested up to: 4.7
    7 Stable tag: 1.1.5
     6Tested up to: 4.9.5
     7Stable tag: 1.1.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
     49= 1.1.6 =
     50* Added team page conditional.
     51
    4952= 1.1.5 =
    5053* Fixed single page and multiple page array from feed.
     
    7073
    7174== Upgrade Notice ==
     75
     76= 1.1.6 =
     77Additional fix for team pages.
    7278
    7379= 1.1.5 =
  • wp-virgin-money-giving/trunk/admin/class-wp-virgin-money-giving-admin.php

    r1461919 r1871941  
    199199        $error = array();
    200200        $vmg_settings = get_option('wp_virgin_money_giving_options_name');
     201       
     202        var_dump($vmg_settings);
     203       
    201204        if (isset($vmg_settings) && !empty($vmg_settings)) {
    202205           
  • wp-virgin-money-giving/trunk/includes/class-virgin-money-giving-api.php

    r1380909 r1871941  
    9797       
    9898        $apiCall = self::API_Fundraisers_URL . $resource . $key;
     99       
     100        var_dump($apiCall);
    99101       
    100102        $curl = curl_init();
  • wp-virgin-money-giving/trunk/includes/class-wp-fundraisers-widget.php

    r1568002 r1871941  
    107107            $fundraisers_page_details = $fundraisers_page_details->pageDetails[0];
    108108           
     109            if ($fundraisers_page_details->teamPage == true) {
     110                $fundraisers_page_url = $fundraisers_page_details->pageUrl . '&isTeam=true';
     111            } else {
     112                $fundraisers_page_url = $fundraisers_page_details->pageUrl;
     113            }
     114                       
    109115            $percentage = ($fundraisers_page_details->donationTotalGross / $fundraisers_page_details->targetAmount) * 100;
    110116
     
    131137                        <li class="detail">Total Donors: <span class="data"><?php echo esc_attr($fundraisers_page_details->numberOfDonations); ?></span></li>
    132138                    </ul>
    133                     <a href="<?php echo esc_attr($fundraisers_page_details->pageUrl); ?>" target="_blank">
     139                    <a href="<?php echo esc_attr($fundraisers_page_url); ?>" target="_blank">
    134140                        <img src="<?php echo plugin_dir_url( dirname( __FILE__ ) )  . 'public/images/virgin-money-giving.png'; ?>" alt="virgin-money-giving" />
    135141                        <p>Donate Now >> </p>
  • wp-virgin-money-giving/trunk/wp-virgin-money-giving.php

    r1568002 r1871941  
    1717 * Plugin URI:        http://www.squareonemd.co.uk/
    1818 * Description:       A plugin that uses the Virgin Money Giving API to feed data in to your website via a widget.
    19  * Version:           1.1.5
     19 * Version:           1.1.6
    2020 * Author:            Elliott Richmond Square One
    2121 * Author URI:        http://www.squareonemd.co.uk/
Note: See TracChangeset for help on using the changeset viewer.