Voxel 1.4 is now available

Voxel 1.2.9 is now available

Post relation dynamic tags

Using dynamic tags, you can now pull individual data from a related post. In the example video, we’re editing an Event template and pulling data from the Place which is related to

Note: This is available for single relation types (Has One, Belongs to One).

For multiple relation types (Has many, Belongs to many), the Post feed method must be used.

Post relation field

Post relation field now allows you to enable relations between posts that belong to the same author or all posts on the site even by different authors.

If the latter is selected, you can specify whether the relation requires an approval by the post authors. The available options are:

  1. Never: Post relation will be saved right away
  2. Always: Post relation will be saved after the author has manually approved it

Approval process

If you pick the “Always” option, relating a post from a different author will send a notification to that author allowing them to approve or decline the request. This notification is configurable as an app-event.

Note: Admins don’t need approval to save relations even if this option is enabled

Relation will be stored only after the author has approved it. Until then, those posts will be marked as “Pending” in the post submission form.

Additional app-events for Relation Approve and Relation Decline can be enabled to let the user know when an author has responded to their request.

Additional field settings

  • Added ability to pick non-published posts from the same author
  • Added ability to set maximum number of relations allowed (applies to Has Many and Belongs To Many relation types)

Reviews

In the general tab of the post type editor there’s a new section available to configure reviews for that post type.

Among other things, you can define the

  • Review categories
  • Labels and colors for different rating levels (1 to 5)
  • Review input mode

Review input mode

The input mode defines the review form in front-end.

There are two main modes:

Numeric:

Stars (or custom icons)

The two modes can be customized further in WP-admin ➝ Theme builder ➝ General ➝ Style kits ➝ Popup styles

Options to customize the styling of submitted reviews are added to the Timeline (VX) widget.

Reviews utilized in an upcoming Voxel demo

Review stats

The Review stats (VX) widget previously showed a breakdown of overall score by percentage. An additional mode to this widget is now available to show rating per category

Quick search

The quick search widget now has the ability to search through all post types and taxonomies at once. This is the default behaviour.

However, part of functionality needs some configuration with this mode. More specifically, where the user is redirected after a search.

Because it is a global search, we cannot redirect the user to any specific post type archive. So by default this option is disabled.

To enable it, you can create a regular page which can be used as a general search archive, and then select that in the Quick Search widget options

Full changelog

Post relation field

  • Added ability to pick posts from different authors
  • Added ability to pick non-published posts from the same author
  • Added ability to set maximum number of relations allowed (applies to Has Many and Belongs To Many relation types)
  • Added setting: “Require approval for posts that belong to a different author”
    • If enabled, assigning posts from a different author will send a notification to that author where they can approve or decline the request. This notification is configurable as an app-event.
    • Relation will be stored only after the author has approved it. Until then, those posts will be marked as “Pending” in the post submission form.
    • Additional app-events for Relation Approve and Relation Decline can be enabled to let the user know when an author has responded to their request.
    • Admins don’t need approval to save relations under any scenario

Multi-criteria reviews

  • Added ability to create custom review categories (Post type editor > General > Reviews)
    • Set category label, icon, and whether it is required during review submission
  • Added two rating input modes: Numeric and Stars
    • Stars mode: Added ability to replace stars with custom icons
  • Added ability to configure the label and color for rating levels
  • Review stats (VX): Added “Show stats by review category” mode

Dynamic tags

  • Element loops: Added “Offset” option to skip a set number of items from the start of the loop
  • Dynamic Tags: Added support for pulling related post data directly for Has One and Belongs To One relation types.
  • Dynamic Tags: Added post type singular and plural name under Post group.

Other:

  • Post feed: Performance improvements in the Post feed (VX) widget
  • Timeline (VX): Added setting for maximum reply nesting level (in WP Admin Voxel Settings Timeline Max reply depth). This setting affect future activity only
  • Keyword search: Added “Minimum keyword length” and “Search stopwords” settings in WP Admin Voxel Settings Database
  • Quick search (VX): Added support for searching all configured post types and taxonomies at once (Enabled by setting “Display mode” to “Single”)

Fixes:

Hope you enjoyed this update.

Next week we’ll update the existing demos to showcase the new features, and also release a brand new demo.

Follow Voxel on Twitter