Coding Panda
Forum Replies Created
-
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Display Repeater FieldsHi @snookian
I imported your settings, and the following code works for me.
global $post; print_r( pods_field('product', $post->ID, 'growth_promotion') );https://www.dropbox.com/s/xkvw51elh84toxi/growth-backend.png?dl=0
https://www.dropbox.com/s/8l21g32bfa527h4/growth-frontend.png?dl=0Could you make sure $post->ID returns the current post ID?
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Display Repeater FieldsHi @snookian
Thanks for using the plugin. Can I double check: is the pod name ‘products’ or ‘product’. If it is ‘products’, it has to be pods_field(‘products’, $post->ID, ‘growth_promotion’).
If it is ‘product’. would you please use Pods’ Migrate: Packages component to export the relevant pods for me so I can test it on my computer?
I don’t have much experience with Elementor, but I will try to solve the problem.
I don’t have an Elementor Pro so I can’t build an Elementor Single Page template, but I can still use ‘Pods – List Items’ on normal pages. If I understand it correctly, you still have to create a template to display the repeater fields of the current recipe. Could I have the part of your code to display the repeater fields?
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bug foundHi @davidkoh83
It usually happens when Pods is not available or loaded after the plugin. I don’t know how to replicate this error as it is not happening to me, but I’ve added some code to check if the PodsField class exists before loading the files. Hopefully, that can fix the problem.
You could test it with the dev version: https://github.com/coding-panda/panda-pods-repeater-field/tree/develop.
If it doesn’t work or cause new problems, please let me know.
Thanks
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bug found@davidkoh83 Hello, Version 1.4.9 has been released. Any problems, please let me know.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bug found@davidkoh83
If you would like to test it before the new release, you could download it from https://github.com/coding-panda/panda-pods-repeater-field/tree/develop. Let me know if it doesn’t fix the problem. Thanks.Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bug found@davidkoh83
Many thanks for the detailed explanation :).Yes, it is a bug. I’ve fixed it and will release a new version asap.
Thanks again.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Bug foundThanks for reporting the bug, but I don’t seen to be able to replicate it. Could you please export your Pods by Pods component – Migrate Packages, and paste it here so I can investigate, as well as your code to get the results? I will appreciate it if you could provide screenshots as well.
Thanks.
Hello, thanks for using the plugin. Sorry for the late reply. Somehow it says about 3 days ago but this topic only appeared a moment ago.
It is a media id. If you want to get its URL, you can try this method: wp_get_attachment_image_src( int $attachment_id, string|int[] $size = ‘thumbnail’, bool $icon = false ).
https://developer.ww.wp.xz.cn/reference/functions/wp_get_attachment_image_src/
Any problems, please let me know.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Which problem(s) does Panda Pods address?@jjci Thanks for using the plugin. Yes, your understanding is correct. It is an interface to manage data in parent/child/grandchild relationships with Pods, which is what I use for my projects.
Hope that answers your question. 🙂
@logicdigger Do you have anything on the server to stop iframe? It works fine on my PC and my server. 403 means the server can render it but refuse to.
@logicdigger Would you investigate the Elements and see if pandarepeaterfield.php has been removed from the link? If not please clear the cache and try again.
https://www.dropbox.com/s/bx70v2rm8ytkkyy/difference.jpg?dl=0
@logicdigger Would you download this develop version from Github and replace the plugin on your site: https://github.com/coding-panda/panda-pods-repeater-field/tree/develop, and then clear your cache and reload the page. Let me know if that fixes the problem.
@logicdigger Thanks for using the plugin.
It is likely that it is stopped by .htaccess. I will have a look and get back to you later.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeater fields empty after saveIt works fine with the migration package you sent over. https://www.dropbox.com/s/6ffe71nxd82yv14/Edit%20Glossary%20%E2%80%B9%20Panda%20Pods%20Repeater%20Field%20%E2%80%94%20WordPress%20-%20Google%20Chrome%202020-12-10%2018-00-05.mp4?dl=0
Maybe there is a plugin conflict. Would you disable other plugins and just leave Pods Framework and Panda Pods Repeater field, and check if the problem still there?
I also demonstrated in the video on how to display titles on the list as well. Hope it is useful.
- This reply was modified 5 years, 5 months ago by Coding Panda.