2017 © Pedro Peláez
 

wordpress-plugin select-posts-widget

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

image

voceconnect/select-posts-widget

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

  • Thursday, October 16, 2014
  • by mgargano
  • Repository
  • 15 Watchers
  • 3 Stars
  • 544 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

=== Select Posts Widget ===, (*1)

Contributors: matstars
Tags: post, widget
Tested up to: 4.0 Requires at least: 3.5
Stable tag: 0.6.0 License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html, (*2)

== Description == An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface., (*3)

The following filters are available:, (*4)

  • spw_template to override the output template for the widget, see below for more information. Passes an optional second argument of the widget id.
  • widget_title this is a WordPress core filter see here for more information.
  • spw_post_types to override the post types available for this widget. Passes an optional second argument of the widget id.

== Installation ==, (*5)

See Installing Plugins., (*6)

== Frequently Asked Questions ==, (*7)

= How do you use a custom template? =, (*8)

Simply extend the plugin using the spw_template filter., (*9)

<?php
    add_filter( 'spw_template', 'customize_spw_template_filter' );
    function customize_spw_template_filter( $template ){
        $template_dir = get_template_directory();
        return $template_dir . '/views/custom-spw.php';
    }
?>

= How do I set the plugin to use post types besides/in addition to post? =, (*10)

Simply extend the plugin using the spw_select_posts_widget filter., (*11)

<?php
    add_filter( 'spw_select_posts_widget-15_template', 'customize_spw_post_types' );
    function customize_spw_post_types($post_types){
        $post_types = array( 'post', 'page' 'custom_post_type' );
        return $post_types;
    }
?>

== Changelog ==, (*12)

0.6.0
*Works with widget section in the theme customizer *Filter post types globally or per post type (by passing optional argument of widget id in spw_template and spw_post_types filters), (*13)

0.5.1
Changed composer type to wordpress-plugin (was library), (*14)

0.5.0
Bound javascript events on 'body' instead of '.widget' to ensure events persist after destroying/creating widget Added templating for individual widgets Added indicator if no posts are selected Refactored WET code Updated code comments, (*15)

0.4.1
Added readme, (*16)

0.4
Added filter to allow developers ability to use custom template for widget, (*17)

The Versions

16/10 2014

dev-psu

dev-psu

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

  Sources   Download

GPL-3.0+

The Requires

 

by Mat Gargano

wordpress widget select posts

14/10 2014

dev-master

9999999-dev

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

14/10 2014

0.6.0

0.6.0.0

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

14/10 2014

dev-code_cleanup

dev-code_cleanup

An easy to use (and extend) widget that allows you to selectively curate posts using a simple drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

11/03 2014

0.5.1

0.5.1.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Jeff Stieler
by Mat Gargano
by Mark Parolisi
by Mike Pretty
by Kevin Langley Jr

wordpress widget select posts

11/03 2014

dev-set-as-wordpress-plugin

dev-set-as-wordpress-plugin

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Jeff Stieler
by Mat Gargano
by Mark Parolisi
by Mike Pretty
by Kevin Langley Jr

wordpress widget select posts

13/02 2014

dev-unit_tests

dev-unit_tests

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Jeff Stieler
by Mat Gargano
by Mark Parolisi
by Mike Pretty
by Kevin Langley Jr

wordpress widget select posts

04/02 2014

dev-code_updates

dev-code_updates

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Jeff Stieler
by Mat Gargano
by Mark Parolisi
by Mike Pretty
by Kevin Langley Jr

wordpress widget select posts

27/01 2014

0.4.4

0.4.4.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

25/01 2014

0.4.3

0.4.3.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

25/01 2014

0.4.2

0.4.2.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

14/01 2014

0.4.1

0.4.1.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

12/01 2014

0.4

0.4.0.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

09/01 2014

0.3

0.3.0.0

Select posts to display in a widget with an easy drag and drop interface

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress widget select posts

09/01 2014

0.2

0.2.0.0

Easily create post metaboxes and add fields

  Sources   Download

GPL-3.0+

by Mat Gargano

wordpress post meta