PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 2.6.6
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v2.6.6
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
← All changes | inc/block-posts-config/class-multiauthor-frontend.php +7 -14 2.6.1 → 2.6.6 View file →
@@ -35,12 +35,9 @@
35 35
36 36 ?>
37 37 <a class="blockspare-posts-block-text-link" href="<?php echo esc_url(get_author_posts_url($xauthor_id));?>"
38 38 itemprop="url" rel="author">
39 - <span itemprop="name">
40 - <i class="<?php echo $authorIcon;?>"></i>
41 - <?php echo esc_html(get_the_author_meta('display_name', $xauthor_id));?>
42 - </span>
39 + <span itemprop="name"><i class="<?php echo $authorIcon;?>"></i><?php echo esc_html(get_the_author_meta('display_name', $xauthor_id));?></span>
43 40 </a>
44 41 <?php
45 42
46 43
@@ -46,14 +43,10 @@
46 43
47 44 }
48 45 }else{
49 46 $author_id = $xauthor_id;?>
50 - <a class="blockspare-posts-block-text-link" href="<?php echo esc_url(get_author_posts_url($xauthor_id));?>"
51 - itemprop="url" rel="author">
52 - <span itemprop="name">
53 - <i class="<?php echo $authorIcon;?>"></i>
54 - <?php echo esc_html(get_the_author_meta('display_name', $xauthor_id));?>
55 - </span>
47 + <a class="blockspare-posts-block-text-link" href="<?php echo esc_url(get_author_posts_url($xauthor_id));?>" itemprop="url" rel="author">
48 + <span itemprop="name"><i class="<?php echo $authorIcon;?>"></i><?php echo esc_html(get_the_author_meta('display_name', $xauthor_id));?></span>
56 49 </a>
57 50 <?php }
58 51
59 52 }
@@ -70,11 +63,11 @@
70 63
71 64 <a class="blockspare-posts-block-text-link" href="<?php echo esc_url(get_author_posts_url($author_id));?>"
72 65 itemprop="url" rel="author">
73 66 <span itemprop="name">
74 - <?php if($key<1){?>
67 + <?php if($key<1){ ?>
75 68 <i class="<?php echo $authorIcon;?>"></i>
76 - <?php }?>
69 + <?php } ?>
77 70 <?php echo esc_html(get_the_author_meta('display_name', $author_id));?>
78 71 <?php
79 72 if( $key != ( count( $awpa_post_authors ) - 1 ) ){
80 73 echo ",";
@@ -90,11 +83,11 @@
90 83 $guest_user_data = $wp_amulti_authors->get_guest_by_id($author_id);?>
91 84
92 85 <a class="blockspare-posts-block-text-link">
93 86 <span itemprop="name">
94 - <?php if($key<1){?>
87 + <?php if($key<1){ ?>
95 88 <i class="<?php echo esc_attr($authorIcon);?>"></i>
96 - <?php }?>
89 + <?php } ?>
97 90 <?php echo esc_html($guest_user_data->display_name);?>
98 91 <?php
99 92 if( $key != ( count( $awpa_post_authors ) - 1 ) ){
100 93 echo ",";