dizplay
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Taxonomy Order] Issue with hierarchical categories$terms = get_the_terms($post_id, ‘class’);
class is a custom tax
Same as disabling the plugin, I thoung it leaves something order-related around.
To put terms hyerarchically I must give the right order in the plugin.Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityNice! this can be a good starting point.
https://brickslabs.com/adding-any-custom-wp_query-loop-to-bricks-query-loop/
For additional question I think Bricks staff will be glad to help you.Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityusing shortcode
[display_book_chapters id={post_id}]
it works!
Do you think you can integrate this to the Bricks UI, like ACF on above video?Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityin my case, yes
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityUpdated functions: warning disappears, but no output.
in my case echoing {post_id} results in 336, which is the right one.
I also test php code above and also shortcode with hardcoded 336: no warning in this case, but neither the repeated Name/PDF.
I know that is not a post type, but the repeater (if present in page) should appears in dropwown: check the ACF version at 14:05 https://www.youtube.com/watch?t=845&v=72zSZ6AOU6YForum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityUsing the shortcode i get a warning (but no output):
Warning: foreach() argument must be of type array|object, null given inC:\Users\Dee Ego\Local Sites\bricksbuilder\app\public\wp-content\themes\bricks-c\functions.phpon line172I tries also with a code block (it’s an element like the Shortcode on bricks editor)
<?php echo do_shortcode( '[display_book_chapters id="'.$post_id.'"]' ); ?>
and in this case i get 2 warnings:
Warning: Undefined variable $post_id inC:\Users\Dee Ego\Local Sites\bricksbuilder\app\public\wp-content\themes\bricks\includes\elements\code.php(160) : eval()’d codeon line2
Warning: foreach() argument must be of type array|object, null given inC:\Users\Dee Ego\Local Sites\bricksbuilder\app\public\wp-content\themes\bricks-c\functions.phpon line172
In any case, these solutions would not be ideal, as they do not take advantage of bricks’ internal query system, that is, in making the Repeater appear as a post type in the indicated dropdown.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibility{post_id} is correct. Be sure to be previewing the real post, and not the template.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityDuring editing the template (bricks interface) you find the Shortcode element on the left colum. Click it and position it where you like on the page. When is selected you see its properties, where you can write the classic Shortcode with square brackets.
It’s also possible to use the echo php command: https://academy.bricksbuilder.io/article/dynamic-data/
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityInstall Pods and Panda.
Enable “Advanced content type” and ‘Tablke storage’ as per yours tutorials.
This is a JSON structure for a custom post type called Books
https://pastebin.com/gthr7y7s
import it on Pods.
in WP admin open Bricks > template, create a new template for SINGLE page, click “edit” it with bricks, copy the pastebin code from https://pastebin.com/grhu5xqh and paste it on the paste icon on the top of the structure panel (right darkgray column on bricks editor interface).
With template open, click the cog on the left top and assign the template to the “Books” post type (see here https://i.imgur.com/G6lgBdP.png)
last: create a Book post: on More fields you will find some singolar content (Singolar image, title, gallery) and after a repeader group, with Name and PDF).
Fill the singular content and a couple of Chapters (mine https://i.imgur.com/Jb1flDw.png )
After that you can view the book public page (it uses the book template).
So, the issue is that on template, the Post type do not show the repeater group (to count how many repeated groups and multiply the relative div on frontend)Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityFANTASTIC NEWS! Bricks guys are really awesome.
if you pm me temp admin, I’ll create a tipical scenario.Or you can create the usual Books post type in Pods, with a panda repeater on it, with some images and links in a repeater for a single book.
Then have a look here https://academy.bricksbuilder.io/article/query-loop/
Basically on frontend you should create a container with some dynamic data on it (the Flash icon on fields)
Like the picture on previous message, Activating the query loop (on the container element that should be repeated) on the post type dropdown you should have also the repeater, if present on the page.Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityBoth.
The issue is that when creating a query loop on backend, the Type won’t show the panda repeater, but only Posts, terms and users.
Other plugin (like ACF, Metabox, ACPT) displays also the repeater field in this dropdown.
So, Pods is ok, and your plugin it’s even better, it lacks only to be available here.Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityIf you ask the Bricks team, they probably will give you a license number valid for your development. They already did with other plugin devs.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bricks Builder compatibilityI see that the plugin unfortunately isn’t compatible with bricks query loop (PODS is, the plugin not).
as Bricks is becoming the ultimate web design tool, it would be interesting to make this gem of a plugin compatible.yeah, i know, but i’d like to show the rule name. It will be useful if there are several discount step based on cart value/quantity
hello, tanks for your reply.
I Sent a Chat message (i forgot to write down my email.. but there’s a link to this post)