View Custom-placeholder-Add-on.php
<?php | |
/* | |
Plugin Name: Custom-placeholder Add-on (ACF) | |
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/ | |
Description: Add-on to handle custom placeholder like custom fields for the premium widget Term and Category Based Posts Widget. | |
Author: TipTopPress | |
Version: 1.1 | |
Author URI: http://tiptoppress.com | |
Installation: |
View dequeue-select2-add-on.php
<?php | |
/* | |
Plugin Name: TACBPW dequeue Select2 Add-on | |
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/ | |
Description: Add-on to dequeue Select2 script and styles for the Term and Category based Posts Widget. | |
Author: TipTopPress | |
Version: 1.0 | |
Author URI: http://tiptoppress.com | |
Installation: |
View future-posts-extension.php
<?php | |
/* | |
Plugin Name: Future Posts Extension | |
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/ | |
Description: Extension to show only Posts which are in the future with the 'The future is now' widget for the premium widget Term and Category Based Posts Widget. | |
Additional needed widgets: 'The future is now' (https://wordpress.org/plugins/the-future-is-now/) | |
Author: TipTopPress | |
Version: 0.1 | |
Author URI: http://tiptoppress.com | |
*/ |
View Order-by-Add-on.php
<?php | |
/* | |
Plugin Name: Order-by Add-on | |
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/ | |
Description: Extension to add more sort possibilities for the premium widget Term and Category Based Posts Widget. | |
Author: TipTopPress | |
Version: 1.2 | |
Author URI: http://tiptoppress.com | |
Installation: |
View functinos.php
<?php | |
/** | |
* Only active Events | |
* | |
* Extensions for The Events Calendar plugin by Modern Tribe | |
* | |
* @namespace ECE - The Events Calendar Extensions | |
*/ | |
/** | |
* Add a checkbox to the extensions panel |
View functinos.php
<?php | |
// Show sharing buttons, e.g. from Jetpack | |
// http://tiptoppress.com/allow-html-in-excerpt-becomes-filteractions-code/ | |
// TODO: Rewrite code as filter hook | |
// TODO: Multi select supported HTML elements in option (https://github.com/tiptoppress/category-posts-widget/issues/59) | |
function widget($args, $instance) { | |
... | |
add_filter('the_excerpt', array($this,'allow_html_excerpt')); |
View functions.php
<?php | |
// Show sharing buttons, e.g. from Jetpack | |
// https://wordpress.org/support/topic/jetpack-sharing-options-showing-in-widget/ | |
// TODO: Rewrite code as filter hook | |
function form($instance) { | |
... | |
<p> | |
<label for="<?php echo $this->get_field_id("hide_social_buttons"); ?>"> | |
<input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id("hide_social_buttons"); ?>" name="<?php echo $this->get_field_name("hide_social_buttons"); ?>"<?php checked( (bool) $instance["hide_social_buttons"], true ); ?> /> |
NewerOlder