| @@ -362,9 +362,9 @@ | ||
| 362 | 362 | <div class="media-figure"> |
| 363 | 363 | <a href="[#author_link#]">[#author_image#]</a> |
| 364 | 364 | </div> |
| 365 | 365 | <div class="media-body"> |
| 366 | - <h3>Author: <a href="[#author_link#]">[#author_display_name#]</a></h3> | |
| 366 | + <h3>Author: <a href="[#author_link#]">[#author_name#]</a></h3> | |
| 367 | 367 | <p>[#author_bio#]</p> |
| 368 | 368 | </div> |
| 369 | 369 | </div>' |
| 370 | 370 | ); |
| @@ -374,22 +374,18 @@ | ||
| 374 | 374 | * Returns default author box content for bootstrap |
| 375 | 375 | * |
| 376 | 376 | * @return string |
| 377 | 377 | */ |
| 378 | - public static function author_box_content_bootstrap($args = array()) { | |
| 379 | - global $aui_bs5; | |
| 380 | - | |
| 381 | - $wrap_class = $aui_bs5 ? sd_build_aui_class($args) : ''; | |
| 382 | - | |
| 378 | + public static function author_box_content_bootstrap() { | |
| 383 | 379 | return apply_filters( 'uwp_author_box_content_bootstrap', |
| 384 | - '<div class="d-block text-center text-md-left d-md-flex p-3 bg-light ' . esc_attr($wrap_class) . '"> | |
| 385 | - <a href="[#author_link#]"><img src="[#author_image_url#]" class="rounded-circle shadow border border-white border-width-4 mr-3" width="60" height="60" alt="[#author_name#]"></a> | |
| 386 | - <div class="media-body"> | |
| 387 | - <h5 class="mt-0">Author: <a href="[#author_link#]">[#author_display_name#]</a></h5> | |
| 388 | - [uwp_button_group user_id="post_author"] | |
| 389 | - <p>[#author_bio#]</p> | |
| 390 | - </div> | |
| 391 | - </div>' | |
| 380 | + '<div class="d-block text-center text-md-left d-md-flex p-3 bg-light"> | |
| 381 | + <a href="[#author_link#]"><img src="[#author_image_url#]" class="rounded-circle shadow border border-white border-width-4 mr-3" width="60" height="60" alt="[#author_name#]"></a> | |
| 382 | + <div class="media-body"> | |
| 383 | + <h5 class="mt-0">Author: <a href="[#author_link#]">[#author_name#]</a></h5> | |
| 384 | + [uwp_button_group user_id="post_author"] | |
| 385 | + <p>[#author_bio#]</p> | |
| 386 | + </div> | |
| 387 | +</div>' | |
| 392 | 388 | ); |
| 393 | 389 | } |
| 394 | 390 | |
| 395 | 391 | /** |