Forum Replies Created
-
AuthorPosts
-
February 19, 2024 at 11:24 AM in reply to: ✅This plugin failed to load properly and is paused during recovery mode. #44610
John Anderson
ParticipantThat worked. Thanks peter.
February 18, 2024 at 6:04 AM in reply to: ✅This plugin failed to load properly and is paused during recovery mode. #44599John Anderson
ParticipantI did try un-installing and re-installing a fresh copy of this plugin from Metabox website but the same error occurred.
John Anderson
ParticipantHi I just came across this as well. FTP in and remove the plugin meta-box-builder. download the newest version from this site then install it like you would a new plugin.
John Anderson
ParticipantOh nice. thank you. I've used WP_Query in the past but am not doing a lot at the moment and had forgotten about it.
Thank you for the quick response and the good ideas!
John Anderson
ParticipantAs if you were displaying the CPT in an Archive page. That kind of thing. But in this instance I want to control or limit which posts I display from this CPT.
John Anderson
Participantticking notify checkbox.
John Anderson
ParticipantHello Anh,
Thank you. That is an Australian voice!
Below is the code for the custom fields for the CPT 'team-member'. 'team_position' is only used once, but it is linking to a taxonmy called 'team-positions'. Could this be the issue?
John.
add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' ); function your_prefix_register_meta_boxes( $meta_boxes ) { $prefix = ''; $meta_boxes[] = array ( 'title' => esc_html__( 'Team Member', 'text-domain' ), 'id' => 'team-member', 'post_types' => array( 0 => 'team-member', ), 'context' => 'after_title', 'priority' => 'high', 'fields' => array( array ( 'id' => $prefix . 'heading_n402g7bza5', 'type' => 'heading', 'desc' => esc_html__( 'Information about this Individual', 'text-domain' ), 'name' => esc_html__( 'Individual Header', 'text-domain' ), ), array ( 'id' => $prefix . 'team_summary', 'type' => 'textarea', 'name' => esc_html__( 'Summary', 'text-domain' ), ), array ( 'id' => $prefix . 'team_title', 'type' => 'text', 'name' => esc_html__( 'Title or job description', 'text-domain' ), ), array ( 'id' => $prefix . 'team_position', 'type' => 'taxonomy', 'name' => esc_html__( 'Position', 'text-domain' ), 'desc' => esc_html__( 'This is the team member position in a general sense. This is not specific to their role in any Challenge.', 'text-domain' ), 'taxonomy' => 'team_positions', 'field_type' => 'checkbox_tree', ), array ( 'id' => $prefix . 'team_individual_url', 'type' => 'url', 'name' => esc_html__( 'Individual URL', 'text-domain' ), 'desc' => esc_html__( 'Link to this person\'s page / bibilography', 'text-domain' ), ), array ( 'id' => $prefix . 'team_email', 'name' => esc_html__( 'Email Address', 'text-domain' ), 'type' => 'email', 'desc' => esc_html__( 'Email Address for this individual', 'text-domain' ), ), array ( 'id' => $prefix . 'team_facebook', 'type' => 'url', 'name' => esc_html__( 'facebook', 'text-domain' ), 'desc' => esc_html__( 'facebook link', 'text-domain' ), ), array ( 'id' => $prefix . 'team_twitter_handle', 'type' => 'text', 'name' => esc_html__( 'Twitter Handle', 'text-domain' ), ), array ( 'id' => $prefix . 'heading_sigt24rh4qc', 'type' => 'heading', 'desc' => esc_html__( 'Organisation', 'text-domain' ), 'name' => esc_html__( 'team_organisation', 'text-domain' ), ), array ( 'id' => $prefix . 'team_organisation_name', 'type' => 'text', 'name' => esc_html__( 'Organisation Name', 'text-domain' ), 'desc' => esc_html__( 'Name of the organisation this person represents', 'text-domain' ), ), array ( 'id' => $prefix . 'team_organisation_logo', 'type' => 'single_image', 'name' => esc_html__( 'Organisation Logo', 'text-domain' ), 'desc' => esc_html__( 'the image that will be the organisation logo', 'text-domain' ), ), array ( 'id' => $prefix . 'team_organisation_url', 'type' => 'url', 'name' => esc_html__( 'Organisation URL', 'text-domain' ), 'desc' => esc_html__( 'URL for the organisation icon link', 'text-domain' ), ), ), 'style' => 'seamless', ); return $meta_boxes; }John Anderson
ParticipantYes it is a simple import. I will use the plugins you have mentioned. Thank you.
John Anderson
ParticipantHi Anh,
Is there any update on this? are we able to import data from a spreadsheet/csv file into a Metabox CPT?
Thanks,
John.John Anderson
ParticipantOh! I love you!!! lol.
And you updated the documentation for Admin Columns with this example! Now I just change the 'post' slug to what ever slug my CPT is and it will display the featured image in the admin columns.
Thank you!
Just one last question.
new My_Featured_Image_Columns( 'post', array() );
when I instantiate the class, how would I do so for more than 1 CPT? I tried this but it didn't work.new My_Featured_Image_Columns( array('team-member','challenge'), array() );So I am guessing that 2 instantiations are necessary.
new My_Featured_Image_Columns( 'team-member', array() ); new My_Featured_Image_Columns( 'challenge', array() );Thank you,
John.September 22, 2019 at 6:43 AM in reply to: ℹ️METABOXERS! Help get OxygenBuilder integration by upvoting this github issue #16223John Anderson
Participantdone!
-
AuthorPosts