Coding Panda
Forum Replies Created
-
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Remove Unwanted CSS / JS from FrontendHi @wparijat
Please try to increase the number of privileges from 10 to 11 or bigger. e.g.
add_action( 'wp_enqueue_scripts', 'dequeue_scripts_and_styles', 11 );Forum: Plugins
In reply to: [Panda Pods Repeater Field] Remove Unwanted CSS / JS from FrontendHi @wparijat
Try this:
add_action( 'wp_enqueue_scripts', 'dequeue_scripts_and_styles', 10 ); function dequeue_scripts_and_styles() { wp_dequeue_script( 'panda-pods-repeater-scripts' ); wp_dequeue_style( 'panda-pods-repeater-general-styles' ); wp_dequeue_style( 'panda-pods-repeater-styles' ); }Worked in my testing. Please let me know if it works for you.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Its awesomeMany thanks. 🙂
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Sort functuonHi @ozosh182
Please update the plugin to the latest version and see if the problem is solved.
Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Sort functuonHi @ozosh182 It is an issue in WordPress 5.9 and fixed in 5.9.1
https://core.trac.ww.wp.xz.cn/ticket/54902
Some people do recommend downgrading WordPress to 5.8.3 for now.
https://decodedigital.com/gallery-drag-and-drop-not-working-in-wordpress-5-9-how-to-fix/Basically it is the jQuery UI version in WordPress that I enqueue for the sorting.
I will see what I can do before the release of WordPress 5.9.1
Best regards.
- This reply was modified 4 years, 3 months ago by Coding Panda.
@mariankadanka Thanks for spotting the issue. I implemented a part of your solution because is_pandarf returns an array if it is a Panda Pods Repeater Field, so it can’t just return a boolean.
Thanks for your help. 🙂
Forum: Reviews
In reply to: [Panda Pods Repeater Field] A Mind-Blowing Plugin!Thank you very much for your nice comments. 😀
For files, it returns the media id.
You can use this wp_get_attachment_image_url() to get the image source.
https://developer.ww.wp.xz.cn/reference/functions/wp_get_attachment_image_url/
wp_get_attachment_image_url( $food_name['food_image'] )🙂 You are welcome. Thanks.
Yes, when it is inserted, the JavaScript only uses the ID and Name fields as the label. It only displays the values from the specified admin columns after refreshing the page.
For now, yes, a “Name” field is required. I will check the changes in Pods 2.8 and sort it out so it is not required.
It is explained in the video. Anyway, it is based on Pods 2.7 so it is not straightforward for Pods 2.8 users.
Basically, you turn on the “Apply Admin Table Columns” in the parent pod:
https://www.dropbox.com/s/cpfweqx93se1914/Edit-Pods-%E2%80%B9-Panda-Pods-Repeater-Field-%E2%80%94-WordPress%20%282%29.png?dl=0Pick the columns you want to display in the child pod:
https://www.dropbox.com/s/d8hbztlf9swx7kv/Edit-Pods-%E2%80%B9-Panda-Pods-Repeater-Field-%E2%80%94-WordPress%20%283%29.png?dl=0Save both and go back to refresh a Best Seller Group, it should display the columns you want. Bear in mind that it only applies to strings and numbers.
Yes. Please don’t rename other fields. Just add a new field with “name” as its Name. It may complain that it can’t be created, just ignore it and go ahead to save the pod, and then refresh the page, the “name” field should be added.
I think we are back to the beginning :). Before Pods 2.8, it worked no matter if a table had a “name” field or not. It is a new problem. For now, to make it work, please add a field with “name” as its Name.
https://www.dropbox.com/s/p1knl6bvxqugoj6/Edit-Pods-%E2%80%B9-Panda-Pods-Repeater-Field-%E2%80%94-WordPress.png?dl=0For displaying admin columns, please go to this video and start from 12:00,
Sorry, I am confused. When it opens, it displays those fields.
Are you talking about the bar that displays “ID: 1 Name:”?
Oh, sorry, they work so I didn’t realise that was what you asked for.
It would be great If you could send me some screenshots. It helps me to understand your descriptions.
Screenshots: