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
feed.php
44 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Smash Balloon Custom Twitter Feeds Container 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_Display_Elements; |
| 10 | ?> |
| 11 | |
| 12 | <!-- Custom Twitter Feeds by Smash Balloon --> |
| 13 | <div id="ctf" <?php echo $ctf_feed_classes ?> data-ctfshortcode="<?php echo $this->getShortCodeJSON() ?>" <?php echo $ctf_main_atts ?> data-ctfneeded="<?php echo esc_attr( $ctf_data_needed ) ?>"> |
| 14 | <?php |
| 15 | |
| 16 | do_action( 'ctf_before_feed_start', $this ); |
| 17 | |
| 18 | $showheader = ($feed_options['showheader'] === 'on' || $feed_options['showheader'] === 'true' || $feed_options['showheader'] === true); |
| 19 | |
| 20 | if ($showheader || ctf_doing_customizer( $feed_options )) : |
| 21 | CTF_Display_Elements::display_header( $feed_options, $tweet_set ); |
| 22 | endif; |
| 23 | ?> |
| 24 | <div class="ctf-tweets"> |
| 25 | <?php $this->tweet_loop( $tweet_set, $feed_options, $is_pagination ); ?> |
| 26 | </div> |
| 27 | <?php |
| 28 | if ( $this->should_show_footer( $tweet_set ) ) { |
| 29 | include ctf_get_feed_template_part( 'footer', $feed_options ); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Things to add before the closing "div" tag for the main feed element. Several |
| 34 | * features rely on this hook such as local images and some error messages |
| 35 | * |
| 36 | * @param object CTFFeedPro |
| 37 | * @param string $feed_id |
| 38 | * |
| 39 | * @since 1.8/1.13 |
| 40 | */ |
| 41 | do_action( 'ctf_before_feed_end', $this, $feed_id ); ?> |
| 42 | |
| 43 | </div> |
| 44 |