PluginProbe ʕ •ᴥ•ʔ
Custom Twitter Feeds – A Tweets Widget or X Feed Widget / 2.7.0
Custom Twitter Feeds – A Tweets Widget or X Feed Widget v2.7.0
2.8.0 2.7.0 2.6.1 2.6.0 1.0 1.0.1 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.2 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.4 1.4.1 1.5 1.5.1 1.6 1.6.1 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.1.1 2.1.2 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.5.4 2.5.5 trunk
custom-twitter-feeds / templates / linkbox.php
custom-twitter-feeds / templates Last commit date
actions.php 1 month ago author.php 1 month ago error.php 1 month ago feed.php 1 month ago footer.php 1 month ago header-generic.php 1 month ago header-text.php 1 month ago header.php 1 month ago item.php 1 month ago linkbox.php 1 month ago
linkbox.php
26 lines
1 <?php
2 /**
3 * Smash Balloon Custom Twitter Feeds Link Box Template
4 * Information about the person tweeting, replying, or quoting
5 *
6 * @version 2.0.4 Custom Twitter Feeds by Smash Balloon
7 *
8 */
9 use TwitterFeed\CTF_Parse;
10 use TwitterFeed\CTF_Display_Elements;
11
12 $quoted_text = CTF_Display_Elements::post_text( $quoted, $feed_options );
13 $quoted_media_text = CTF_Display_Elements::get_quoted_media_text( $post, $feed_options );
14 $quoted_name = CTF_Parse::get_quoted_name( $quoted );
15 $quoted_verfied = CTF_Parse::get_quoted_verified( $quoted );
16 $quoted_screen_name = CTF_Parse::get_quoted_screen_name( $quoted );
17 ?>
18 <a href="<?php echo esc_url( 'https://twitter.com/' . $quoted_screen_name . '/status/' . $quoted['id_str'] ); ?>" class="ctf-quoted-tweet" target="_blank" rel="noopener noreferrer">
19 <span class="ctf-quoted-author-name"><?php echo esc_html( $quoted_name ); ?></span>
20 <?php if ((int)$quoted_verfied === 1) : ?>
21 <span class="ctf-quoted-verified"><?php echo ctf_get_fa_el( 'fa-check-circle' ); ?></span>
22 <?php endif; ?>
23 <span class="ctf-quoted-author-screenname">@<?php echo esc_html( $quoted_screen_name ); ?></span>
24 <p class="ctf-quoted-tweet-text"><?php echo wp_kses_post( nl2br( $quoted_text ) ); ?><?php echo wp_kses_post( $quoted_media_text ); ?></p>
25 </a>
26