Share Your Thoughts

Features Request

Zion repeater is a powerful tool that is more flexible than any other builder. You can make any custom provider as per your requirement. The ZiUltimate adds another new provider “Adjacent Posts Query Builder” which is helping to create the adjacent posts section on a singular page.

Adjacent Posts Query Builder

Preview

Preview of Adjacent Posts

It is very flexible and you can build any layout with this repeater provider from the Zion builder editor.

How Do You Use

Please follow the video below. You can understand how it is working.

The ZiUltimate add-on made a custom repeater provider “Author Box Query Builder” and you can easily create the author box from the Zion builder editor. It is giving flexibility and you can make any layout. It is compatible with any post type.

Author box

How to create

Make sure that you installed and activated the ZiUltimate add-on. Now open the single post theme builder editor and follow this

  1. Add a section/container element
  2. Click on Advanced tab and expand the Repeater Option panel
  3. Select “Author Box Query Builder” provider from Query type dropdown.
  4. Enable the repeater consumer
  5. Add tne image element for profile image. Click on dynmaic tag icon and select the “author profile image” dynamic data. You can also upload the custom author image via ACF/Metabox plugin and show it via author meta or function return value dynamic option.
  6. About author name, description, etc content, you can use the heading, text element and follow the dynamic data logic.

Please follow the video

The “Extended Query Builder” is a custom query type for Zion repeater feature. It is extending the WP Query arguments and you can easily customise them from Zion Builder Editor.

Here is the new features which is available in this query builder:

  1. Post Status
  2. Ignore Sticky Posts
  3. Offset
  4. Show all posts
  5. Exclude current post
  6. Include/Exclude specific posts
  7. Show child/parent pages
  8. Author parameters
Extended Query Builder

Zion Builder repeater is a powerful weapon for any site. It is very flexible and you can make unlimited custom providers. ZiUltimate made one custom provider “Ultimate Query Builder” and users can build any type of query for their content like post, page, cpts.

Ultimate Query Builder Type for Repeater

You will select the “Ultimate Query Builder” from the Query Type dropdown. You will get a code editor and put the query arguments there like the above screenshot. There have tons of tutorials on the net and you can easily make the query args. At first, you will follow these two links and understand the query parameter for WP Query.

  1. https://developer.wordpress.org/reference/classes/wp_query/
  2. https://luetkemj.github.io/wp-query-ref/
  3. https://rudrastyh.com/wordpress/meta_query.html

Quick Workthrough

Here is the codes which I used in the video

<?php

return [
	'post_type' 		=> 'product',
	'post_status' 		=> 'publish',
	'posts_per_page' 	=> 8,
	'no_found_rows' 	=> 1,
	'orderby' 			=> 'title',
	'order' 			=> 'ASC'
];

Will It work with taxonomy?

Yes. I said that you can build any type of query(like meta query, date query, tax query, etc) with this custom provider. I already tested and built a category filterable page for the WooCommerce products.

Filter By Taxonomy Terms

I used the following query arguments in the code.

<?php

$query_args = [
	'post_type' 		=> 'product',
	'post_status' 		=> 'publish',
	'posts_per_page' 	=> 8,
	'tax_query' 		=> [
		'relation'	=> 'AND'
	],
	'orderby' 			=> 'title',
	'order' 			=> 'ASC'
];

if( isset( $_GET['cat'] ) ) {
	$query_args['tax_query'][] = [
		'taxonomy' 	=> 'product_cat',
		'field' 	=> 'slug',
		'terms' 	=> [ esc_html( $_GET['cat'] ) ],
		'operator' 	=> 'IN'
	];
}

return $query_args;