Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


Use Gridster to manage your content with ease in a customizable grid.

Arbitrary section

Filters and Hooks

You can adjust the behavior of this plugin by using following filters:

  • Change the get_post_types() call for usable post_types by filtering gridster_get_post_types_as_widget_blocks_args
  • Change final array of used post_types by modifying gridster_post_types_as_widget_blocks
  • Filter the list of visible / usable posts per post_type by hooking into gridster_get_posts_by_type_query_args
  • Adjust the naming convention for used templates by filtering gridster_locate_templates_from
  • Add custom CSS classes to each Gridster widget individually from a multiple select field enhanced by chosen.js, using the gridster_choose_from_custom_css_classes_for_widgets filter. The return of your applied function should be an array() like this array( 'alignleft' => __('Align text from left'), 'alignright' => __('Align text from right'), where the array_keys are the CSS classes to apply and the values are the readable text for you or your editors.
  • Change the capability, which allows users to overwrite the default settings for each gridster individually by filtering gridster_overwrite_post_options_with_cap. By default "edit_theme_options" is used.

Or you can hook in your own functionality by using the following action hooks:

  • Do something before and/or after the shortcode ouput by using gridster_before_shortcode_render or gridster_after_shortcode_render. Both action hooks come with three additional arguments you are able to work with, the $post_id, the $title and the $widgets_html of the current gridster-post.

Have a look inside the plugin file to see, what variables you are able to use within your filter hooks.


  • English (en_US)
  • German (de_DE)

Many Thanks goes out to

Requires: 3.3 or higher
Compatible up to: 3.6.1
Last Updated: 3 years ago
Active Installs: 400+


3.1 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

50,2,1 100,1,1 100,1,1 50,2,1 100,1,1 100,3,3