info43
Forum Replies Created
-
Is it possible to import data into “panda pods” table?
Top of the morning to you, and here’s some good news!
I uploaded the zip to my Dropbox, but thought I should just try TwnetyFifteen first – and it shows the arrays! Yay!!
So it was obviously a problem with the twenty Sixteen theme
Now for your 2nd video!!!
I compared your code to mine and the only difference I could see was that yours was missing the endwhile;
but even though I commented it out – no joy – and put it back again didn’t make any differenceI cannot see how to send my theme folder to you
I presume you mean this folder?C:\wamp64\www\podsWP\wp-content\themes\twentysixteen
I thought of replying with attachment, but to [email protected]
didn’t seem to work for me!!!I am very glad to see that it is working properly, sio I’ll carry on with the 2nd tutorial looking at the options.
I really appreciate the level of support you give! <great clapping of hands!!!>
I’m running through Jim True’s tutorial Build anything with PODS at the same time!!
{"meta":{"version":"2.7.30","build":1632498964},"pods":{"13":{"id":13,"name":"business_information","label":"Business information","description":"","type":"settings","storage":"none","object":"","alias":"","fields":{"business_name":{"id":14,"name":"business_name","label":"Business Name","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"unique":"0","text_repeatable":"0","text_placeholder":""},"street_address":{"id":15,"name":"street_address","label":"Street Address","description":"","help":"","class":"","type":"text","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"unique":"0","text_repeatable":"0","text_placeholder":""},"city_state_zip":{"id":16,"name":"city_state_zip","label":"City State Zip","description":"","help":"","class":"","type":"text","weight":2,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"unique":"0","text_repeatable":"0","text_placeholder":""},"phone_number":{"id":17,"name":"phone_number","label":"Phone Number","description":"","help":"","class":"","type":"phone","weight":3,"pick_object":"","pick_val":"","sister_id":"","required":"0","phone_format":"999-999-9999 x999","phone_enable_phone_extension":"1","phone_max_length":"25","phone_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"unique":"0","phone_repeatable":"0","phone_placeholder":""}},"show_in_menu":1,"menu_name":"Business information","menu_location":"appearances","ui_style":"post_type","menu_position":"0"},"32":{"id":32,"name":"faq","label":"FAQs","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"FAQ","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"faq","capability_type_extra":"1","has_archive":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"0","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_wp_theme":"0","menu_position":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_excerpt","pfat_run_outside_loop":"0","rest_enable":"0","read_all":"0","write_all":"0","has_archive_slug":"faqs"},"41":{"id":41,"name":"member","label":"Members","description":"","type":"pod","storage":"table","object":"","alias":"","fields":{"name":{"id":42,"name":"name","label":"Name","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"1","unique":"0","text_repeatable":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","text_allow_shortcode":"0","text_allow_html":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"text_placeholder":""},"breakdown":{"id":47,"name":"breakdown","label":"Breakdown","description":"","help":"","class":"","type":"text","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"text_repeatable":0,"text_placeholder":""}},"show_in_menu":"1","label_singular":"Member","pod_index":"name","hierarchical":"0","ui_style":"post_type","menu_position":"0","ui_actions_enabled":["add","edit","duplicate","delete"],"ui_reorder_field":"menu_order","ui_fields_manage":{"0":"name","2":"modified"}},"25":{"id":25,"name":"project","label":"Projects","description":"","type":"post_type","storage":"table","object":"","alias":"","fields":{"task":{"id":39,"name":"task","label":"Task","description":"","help":"","class":"","type":"pandarepeaterfield","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","pick_post_status":["publish"],"pandarepeaterfield_table":"task","pandarepeaterfield_field_width":"100","pandarepeaterfield_entry_limit":"0","pandarepeaterfield_enable_load_more":"0","pandarepeaterfield_initial_amount":"10","pandarepeaterfield_enable_trash":"0","pandarepeaterfield_order_by":"pandarf_order","pandarepeaterfield_order":"ASC","pandarepeaterfield_display_order_info":"0","pandarepeaterfield_apply_admin_columns":"0","pandarepeaterfield_allow_reassign":"0","pandarepeaterfield_public_access":"0","subscriber":"0","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"1"}},"show_in_menu":"1","label_singular":"Project","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"project","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"0","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_wp_theme":"0","menu_position":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_excerpt","pfat_run_outside_loop":"0","rest_enable":"0","read_all":"0","write_all":"0"},"26":{"id":26,"name":"task","label":"Tasks","description":"","type":"pod","storage":"table","object":"","alias":"","fields":{"name":{"id":27,"name":"name","label":"Name","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"1","unique":"0","text_repeatable":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","text_placeholder":""},"members":{"id":48,"name":"members","label":"Members","description":"","help":"","class":"","type":"pandarepeaterfield","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","pick_post_status":["publish"],"pandarepeaterfield_table":"member","pandarepeaterfield_field_width":"50","pandarepeaterfield_entry_limit":"0","pandarepeaterfield_enable_load_more":"0","pandarepeaterfield_initial_amount":"10","pandarepeaterfield_enable_trash":"0","pandarepeaterfield_order_by":"pandarf_order","pandarepeaterfield_order":"ASC","pandarepeaterfield_display_order_info":"0","pandarepeaterfield_apply_admin_columns":"0","pandarepeaterfield_allow_reassign":"0","pandarepeaterfield_public_access":"0","subscriber":"0","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"]}},"show_in_menu":"0","label_singular":"Task","pod_index":"name","hierarchical":"0","ui_style":"post_type","menu_position":"0","ui_actions_enabled":["add","edit","duplicate","delete"],"ui_reorder_field":"menu_order","ui_fields_manage":["name"]}},"templates":{"Business Details":{"id":19,"name":"Business Details","code":"<strong>{@business_name}<\/strong>\r\n<p>{@street_address}<br \/>\r\n\t{@city_state_zip}<\/p>\r\n\r\n<div>{@phone_number}<\/div>","type":"template","slug":"business-details","options":{"_edit_last":"1","_edit_lock":"1632480032:1","admin_only":"","restrict_capability":"","capability_allowed":"","show_restrict_message":"1","restrict_message":"You do not have access to view this content.","pod_reference":"a:1:{s:3:\"pod\";s:20:\"business_information\";}"}}}}
I have followed your instructions to create single-project.php with the following –
<div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php // Start the loop. while ( have_posts() ) : the_post(); echo '<pre>'; print_r( pods_field('task')); echo '</pre>'; // End the loop. endwhile; ?>
but when I view Project, I don’t get your results – just a depressing blank page with the title A website
Other than that, this is exactly what I need for my development
Oh, is my face red? and covered with egg!!!
I’ve been working on 2 or 3 versions working my way through the various tutorials – I didn’t even think to check!!Thank you –
Thank you very much – I enabled Advanced Custom Types and Table Storage, amd then followed your video up to the point of editing Project – when I click on the Field Type Dropdown, there’s no change ??
No Pods Table as Repeater field???Did I miss something?