diff --git a/web/wp-content/mu-plugins/custom/lfevents/admin/class-lfevents-admin.php b/web/wp-content/mu-plugins/custom/lfevents/admin/class-lfevents-admin.php index fe9cdcfa..853f1ed4 100755 --- a/web/wp-content/mu-plugins/custom/lfevents/admin/class-lfevents-admin.php +++ b/web/wp-content/mu-plugins/custom/lfevents/admin/class-lfevents-admin.php @@ -397,6 +397,9 @@ public function speaker_custom_column_data( $column, $post_id ) { case 'twitter_url': echo get_post_meta( $post_id, 'lfes_speaker_twitter', true ) ? '' : ''; break; + case 'bluesky_url': + echo get_post_meta( $post_id, 'lfes_speaker_bluesky', true ) ? '' : ''; + break; case 'github_url': echo get_post_meta( $post_id, 'lfes_speaker_github', true ) ? '' : ''; break; @@ -419,14 +422,15 @@ public function speaker_custom_column( $columns ) { unset( $columns['date'] ); unset( $columns['author'] ); // add new columns. - $columns['featured_image'] = 'Speaker Image'; + $columns['featured_image'] = 'Image'; $columns['job_title'] = 'Title'; $columns['company'] = 'Company'; - $columns['company_logo'] = 'Company Logo'; - $columns['linkedin_url'] = 'Linkedin URL'; - $columns['twitter_url'] = 'X URL'; - $columns['github_url'] = 'GitHub URL'; - $columns['website_url'] = 'Website URL'; + $columns['company_logo'] = 'Logo'; + $columns['linkedin_url'] = 'Linkedin'; + $columns['twitter_url'] = 'X'; + $columns['bluesky_url'] = 'Bluesky'; + $columns['github_url'] = 'GitHub'; + $columns['website_url'] = 'Website'; // add back in old columns. $columns['author'] = $author; $columns['date'] = $date; diff --git a/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sidebars.php b/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sidebars.php index 96952b22..9c579150 100644 --- a/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sidebars.php +++ b/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sidebars.php @@ -433,6 +433,17 @@ 'default_value' => '', 'placeholder' => __( 'https://twitter.com/CloudNativeFdn' ), ), + array( + 'type' => 'text', + 'id' => 'bluesky', + 'data_type' => 'meta', + 'data_key' => 'bluesky', + 'label' => __( 'Bluesky' ), + 'register_meta' => true, + 'ui_border_top' => true, + 'default_value' => '', + 'placeholder' => __( 'https://bsky.app/profile/cncf.io' ), + ), array( 'type' => 'text', 'id' => 'github', @@ -897,6 +908,17 @@ 'default_value' => '', 'placeholder' => __( 'https://twitter.com/username' ), ), + array( + 'type' => 'text', + 'id' => 'bluesky', + 'data_type' => 'meta', + 'data_key' => 'bluesky', + 'label' => __( 'Bluesky' ), + 'register_meta' => true, + 'ui_border_top' => false, + 'default_value' => '', + 'placeholder' => __( 'https://bsky.app/profile/cncf.io' ), + ), array( 'type' => 'text', 'id' => 'github', diff --git a/web/wp-content/plugins/speakers-block-2/includes/speaker-block.php b/web/wp-content/plugins/speakers-block-2/includes/speaker-block.php index 10532d78..45fc2c8f 100644 --- a/web/wp-content/plugins/speakers-block-2/includes/speaker-block.php +++ b/web/wp-content/plugins/speakers-block-2/includes/speaker-block.php @@ -14,6 +14,7 @@ $company_logo = get_post_meta( $speaker_id, 'lfes_speaker_company_logo', true ); $linkedin = get_post_meta( $speaker_id, 'lfes_speaker_linkedin', true ); $twitter = get_post_meta( $speaker_id, 'lfes_speaker_twitter', true ); +$bluesky = get_post_meta( $speaker_id, 'lfes_speaker_bluesky', true ); $github = get_post_meta( $speaker_id, 'lfes_speaker_github', true ); $website = get_post_meta( $speaker_id, 'lfes_speaker_website', true ); $content = get_the_content(); @@ -177,7 +178,7 @@