diff --git a/web/wp-content/plugins/speakers-block-2/block-speakers-block.php b/web/wp-content/plugins/speakers-block-2/block-speakers-block.php index a88fbc7e..1c1a7c77 100644 --- a/web/wp-content/plugins/speakers-block-2/block-speakers-block.php +++ b/web/wp-content/plugins/speakers-block-2/block-speakers-block.php @@ -9,7 +9,7 @@ * Author: cjyabraham, James Hunt * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html - * Text Domain: block-speakers-block-2 + * Text Domain: speakers-block-2 * * @package WordPress */ diff --git a/web/wp-content/plugins/speakers-block-2/block.json b/web/wp-content/plugins/speakers-block-2/block.json index da1a134d..a1895f9f 100644 --- a/web/wp-content/plugins/speakers-block-2/block.json +++ b/web/wp-content/plugins/speakers-block-2/block.json @@ -30,7 +30,7 @@ "type": "string" } }, - "textdomain": "block-speakers-block-2", + "textdomain": "speakers-block-2", "editorScript": "file:./build/index.js", "editorStyle": "file:./build/index.css" } 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 047f432a..73a1cd02 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 @@ -47,7 +47,7 @@ $speaker_alt = 'Generic Speaker Image'; if ( has_post_thumbnail() ) { $speaker_image_id = get_post_thumbnail_id(); - $speaker_alt = 'Picture of ' . the_title_attribute( 'echo=0' ); + $speaker_alt = the_title_attribute( 'echo=0' ) . ' headshot'; } echo wp_get_attachment_image( $speaker_image_id, @@ -83,7 +83,7 @@ ?> 'sb2-speaker__company-logo', 'alt' => 'Logo of ' . $company ) ); + echo wp_get_attachment_image( $company_logo, 'full', '', array( 'class' => 'sb2-speaker__company-logo', 'alt' => $company . ' logo' ) ); } else { ?>