With this plugin you can create your own loops
and manage them with a simple drag-and-drop interface.
Register one or more loops in your theme’s
function.php and then use them as any other loop in your theme with
etc. Editors can then manage these loops in the administration by simply drag posts to these loops or between them and override the posts’ content if they like. They’ll find posts in a search box just next to the loops.
The loops can be configured to …
- allow just a limited number of posts,
- allow just a specified set of post types,
- to have posts with children (like nested loops, related content etc),
- make posts’ content overrideable and optional,
- be set together in the administration,
- and use images fetched from content or the featured image.
This plugin also comes with a widget that …
- displays a registered loop
- or creates one for you.
No additional database tables or writeable directories are added
More info, wiki and issue tracker
In what languages are this plugin available?
- English (built-in)
Can I override the widget output template?
Yep. Create a template in your theme and call it
cursorial-widget.php. The loop in the template file is already initiated. You’ll just need to do the while loop like so …
<ul> <?php # In cursorial-widget.php while ( have_posts() ) : the_post(); ?> <li> <h4><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>"><?php the_title(); ?></a></h4> </li> <?php endwhile; ?> </ul>
Can I override the administration templates?
Yes you can.
Create a template in you theme and call it
cursorial-admin-blocks-BLOCK-ADMIN-NAME.php. The BLOCK-ADMIN-NAME should be replaced by the key for the specified group of blocks in the admin array in
The administration functionality is mainly done with some jQuery-plugins. See ´templates/cursorial-admin-block.php´ in the plugin directory to see how the jQuery plugins are applied.
- Fixed issue with siblings being removed when removing childs.
- Even more content override that might solve some unwanted override savings.
- Added widget that displays existing blocks or creates new ones.
- Widget have overridable widget templates for both public use and the admin.
- Support for blocks to limit posts by post-type.
- Fixed issue with hidden image selector.
- Posts’ order failed in chrome and maybe some other browsers.
- Fixed issue with using the “Insert into Post”-button in image selector.
- Search queries looks for all post types except cursorials. Thereby you can add pages and custom post types to your cursorial loops.
- Deleting posts with childs must also remove childs.
- Image won’t change until the block is saved.
- You can’t choosa an image override if there’s no cursurial representative.
- Search seems to get all posts even if they don’t match.
- Templates are located but not loaded.
- Default generated excerpt was saved as overrides even if there was no difference from the original.
- Search posts by date.
- First occuring block is used as default if no block is specified in get_cursorial_block() and query_cursorial_posts().
- Search result is limited.
- Administration interface have a saved/unsaved status indicator.
- There’s a save all blocks button.
- The jQuery block plugin have some of it’s internal functions available from outside.
- Swedish translation.
- An optional show/hide option on fields.
- Maximum number of posts can be set for both blocks and post childs.
First stable beta release with some of the main features.
- Register blocks with custom loops and gather them in the administration.
- Search posts in the administration and drag posts into cursorial blocks.
- Drag posts between blocks.
- Override posts’ contents.
- Images will be set by wordpress’ own image library.
- Posts can be set to have childs.
- Admin pages templates are overridable.
- Loops for displaying block posts are available through both a query method and a template fetcher.