Coding Panda
Forum Replies Created
-
Hi zeeshan4157 and quirinoneto
Somehow I’m not getting notification from this Forum so I can’t respond immediately. Sorry for the delay.
You can use the pods_field function to pull data out:
in a single post template, pods_field( ‘field_name’ ) to fetch the data for the current page, otherwise use pods_field( ‘pods_name’, ‘post_id’, ‘field_name’ ) to fetch any data you want anywhere. To fetch data in the settings area, use pods_field( ‘pods_name’, false, ‘field_name’ ). To fetch data in the users area, use pods_field( ‘user’, ‘user_id’, ‘field_name’ ).
Any problems, just let me know.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] How to show the field on the frontend?Hi novelmonroe
Somehow I’m not getting notification from this Forum so I can’t respond immediately. Sorry for the delay.
You can use the pods_field function to pull data out:
in a single post template, pods_field( ‘field_name’ ) to fetch the data for the current page, otherwise use pods_field( ‘pods_name’, ‘post_id’, ‘field_name’ ) to fetch any data you want anywhere. To fetch data in the settings area, use pods_field( ‘pods_name’, false, ‘field_name’ ). To fetch data in the users area, use pods_field( ‘user’, ‘user_id’, ‘field_name’ ).
I hardly use Pod Templates and I’m afraid that I have never tested it with Pod Template. If the pods_field function is working in Pod Template then it should work.
You can send me the migration code and the template, I can test it for you if you like.
Anything can be repeated. In your Pods table, just create a field for weblink and one for image.
Any problems, just let me know.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] IssueThank you very much, Zeeshan. ^_^
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Issue-_-! I can help you, but you could add a ticket to the Support forum instead of giving me a One Star here. It is very frustrating to see a One Star.
There some tutorials about how to pull data out at the frontend in the FAQs section. https://ww.wp.xz.cn/plugins/panda-pods-repeater-field/#description
Based on what you described, just in your single-project.php template, use pods_field( ‘projects_box’ ) to fetch the data. I recreated your repeater field and pulled the data out here: http://217.199.187.74/zhenghe-migration.co.uk/project/first-project/
As you can see “position” returned “left” and “right” (I used a Simple Relationship field), and “project_image” return an image ID. You can use wp_get_attachment_image_src() to get your image with the image ID. https://developer.ww.wp.xz.cn/reference/functions/wp_get_attachment_image_src/
———-code————
$proejcts_arr = pods_field( ‘projects_box’ ) ;foreach( $proejcts_arr as $project_arr ){
$img_arr = wp_get_attachment_image_src( $project_arr[‘project_image’] );
$img_url = ”;
if( $img_arr ){
$img_url = ‘‘;
}
echo ‘<p style=”clear:both”>Position ‘ . esc_html( $project_arr[‘position’] ) . $img_url . ‘</p>’;
}Any problems, just let me know.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Nice idea but, …Pods 2.8 has not even released. How do you know it will break it? Unless Pods 2.8 will break itself or they do something to block my code on purpose, as it is basically pods_form I used. I know Pods will have its own repeatable fields but I don’t think it will work in the same way. This is not built to compete against Pods’ own repeater field. Relationships UI can’t do everything this plugin offers.
By the way, where is the code review? I would like to know what I can improve. Thanks.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Awesome work by plugin authorThank you.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Great plugin so far!Thank you. I’m using it myself for some big projects. I will keep improving it.
- This reply was modified 8 years, 9 months ago by Coding Panda.
Hi Julian
Sorry for the delay. It is not an error, it is just kind of next step instructions for nested repeaters. Just save it, then edit the saved item, you will find that you can now create items for the nested repeater.
Hope it makes sense.
Best Regards
Forum: Plugins
In reply to: [Panda Pods Repeater Field] field image file type not showHi Rolldone
Sorry for the delay.
I don’t think the plugin will affect the field image type.
If it is hidden, there is a bar at the bottom of each item window, please click it and it will open the window fully.
If not, please send me a screen-shot and I will investigate.
Best Regards
Forum: Plugins
In reply to: [Anything Order by Terms] Database errorWorks now. Thanks
Forum: Plugins
In reply to: [WooCommerce] Database errorI have figured it out. It is caused by the plugin Anything Order. I have to deactivate now.
Sorry to bother you and Thanks
- This reply was modified 9 years, 5 months ago by Coding Panda.
Forum: Plugins
In reply to: [WooCommerce] Database error### WordPress Environment ### Home URL: http://www.codingpanda.co.uk Site URL: http://www.codingpanda.co.uk WC Version: 2.6.11 Log Directory Writable: ✔ WP Version: 4.7 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: en_US ### Server Environment ### Server Info: Apache/2.4.23 (Unix) PHP Version: 7.0.13 PHP Post Max Size: 200 MB PHP Time Limit: 36000 PHP Max Input Vars: 100000 cURL Version: 7.19.7 NSS/3.19.1 Basic ECC SUHOSIN Installed: – Max Upload Size: 200 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.6.11 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ ### Active Plugins (24) ### Redux Framework: by Team Redux – 3.6.3 Anything Order: by pmwp – 1.0.3 Contact Form DB: by Michael Simpson – 2.10.26 Contact Form 7: by Takayuki Miyoshi – 4.6 Duplicator: by LifeInTheGrid – 1.1.26 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.12 Master Slider Pro: by averta – 2.18.2 ModelTheme Framework: by ModelTheme – 1.0 Panda Pods Repeater Field: by Dongjie Xu – 1.0.9 Parallax Backgrounds for VC: by Benjamin Intal - Gambit – 4.3 Pods - Custom Content Types and Fields: by Pods Framework Team – 2.6.7 Uber Login Logo: by UberWeb – 1.5.1 Ultimate Social Media PLUS: by UltimatelySocial – 2.5.1 Under Construction: by Noah Kagan – 1.17 WooCommerce Print Invoice & Delivery Note: by Triggvy Gunderson – 4.1.5 WooCommerce Advanced Product Quantities: by WP BackOffice – 2.1.9 WooCommerce Predictive Search LITE: by A3 Revolution – 3.6.6 WooCommerce Sequential Order Numbers: by SkyVerge – 1.7.0 WooCommerce: by WooThemes – 2.6.11 Wordfence Security: by Wordfence – 6.2.8 Yoast SEO: by Team Yoast – 4.0.2 YITH WooCommerce Compare: by YITHEMES – 2.1.0 YITH WooCommerce Quick View: by YITHEMES – 1.1.4 YITH WooCommerce Wishlist: by YITHEMES – 2.0.16 ### Settings ### Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ✔ ### WC Pages ### Shop Base: #31 - /shop/ Cart: #6 - /cart/ Checkout: #134 - /checkout/ My Account: #136 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: TREND Child Version: 1.9.7 Author URL: http://modeltheme.com/ Child Theme: ✔ Parent Theme Name: TREND Parent Theme Version: 2.0.1 Parent Theme Author URL: http://modeltheme.com/ WooCommerce Support: ✔ ### Templates ### Overrides: trend/woocommerce/archive-product.php trend/woocommerce/content-product.php trend/woocommerce/content-single-product.php trend/woocommerce/loop/add-to-cart.php trend/woocommerce/single-product/add-to-cart/external.php trend/woocommerce/single-product/add-to-cart/grouped.php trend/woocommerce/single-product/add-to-cart/simple.php trend/woocommerce/single-product/meta.php trend/woocommerce/single-product/product-attributes.php trend/woocommerce/single-product/rating.php trend/woocommerce/single-product/related.php trend/woocommerce/single-product/sale-flash.php trend/woocommerce/single-product/share.php trend/woocommerce/single-product/short-description.php trend/woocommerce/single-product/title.php trend/woocommerce/single-product/up-sells.php trend/woocommerce/single-product-reviews.php trend/woocommerce/single-product.php trend/woocommerce/taxonomy-product_cat.php trend/woocommerce/taxonomy-product_tag.phpForum: Reviews
In reply to: [Panda Pods Repeater Field] Love the IdeaThank you. ^_^
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Table doesn’t existHi Hartleystone, Scott
The problem should be fixed now.
Please update the plugin and have a look.
Thanks for reporting the problem.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Table doesn’t existJust wonder if you have created a table with Advanced Content Type, because it should be wp_pods_comic_content rather than wp_comic_content.