Plugin Directory

Changeset 2466953


Ignore:
Timestamp:
02/02/2021 07:57:45 AM (5 years ago)
Author:
nutttaro
Message:

Add buy me coffee button

Location:
wp-taxonomy-order/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-taxonomy-order/trunk/inc/wp-taxonomy-order-setting.php

    r2385441 r2466953  
    9797            'wp_taxonomy_order_settings_section'
    9898        );
     99
     100        add_settings_section(
     101            'wp-taxonomy-donate', // ID
     102            '', // Title
     103            [$this, 'donate_settings_section'], // Callback
     104            'wp-taxonomy-order-settings-page' // Page
     105        );
    99106    }
    100107
     
    150157    }
    151158
     159    public function donate_settings_section()
     160    {
     161        ?>
     162        <div class="wpfp-donate" style="position: fixed;right: 1rem;bottom: 1rem;z-index: 20;">
     163            <script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="nutttaro" data-color="#FFDD00" data-emoji=""  data-font="Cookie" data-text="Buy me a coffee" data-outline-color="#000" data-font-color="#000" data-coffee-color="#fff" ></script>
     164        </div>
     165        <?php
     166    }
     167
    152168}
  • wp-taxonomy-order/trunk/wp-taxonomy-order.php

    r2385441 r2466953  
    44 * Plugin URI:        https://wordpress.org/plugins/wp-taxonomy-order/
    55 * Description:       Order Taxonomy and child with a Drag and Drop Sortable. Compatible with WPML.
    6  * Version:           1.0.1
     6 * Version:           1.0.2
    77 * Requires at least: 4.7
    88 * Requires PHP:      7.0
Note: See TracChangeset for help on using the changeset viewer.