type
1 month ago
author.php
1 month ago
container.php
1 month ago
date.php
1 month ago
index.php
1 month ago
media-link.php
1 month ago
post-link.php
1 month ago
post-text.php
1 month ago
shared-link.php
1 month ago
date.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Custom Facebook Feed Item : Date Template |
| 5 | * Displays the item date |
| 6 | * |
| 7 | * @version 2.19 Custom Facebook Feed by Smash Balloon |
| 8 | */ |
| 9 | |
| 10 | use CustomFacebookFeed\CFF_Utils; |
| 11 | use CustomFacebookFeed\CFF_Shortcode_Display; |
| 12 | |
| 13 | // Don't load directly |
| 14 | if (! defined('ABSPATH')) { |
| 15 | die('-1'); |
| 16 | } |
| 17 | |
| 18 | $cff_date_styles = $this_class->get_style_attribute('date'); |
| 19 | ?> |
| 20 | |
| 21 | <p class="cff-date" <?php echo $cff_date_styles ?>><?php |
| 22 | echo wp_kses_post(CFF_Shortcode_Display::get_date($options, $atts, $news)); |
| 23 | if ($cff_date_position == 'below' || (!$cff_show_author && $cff_date_position == 'author')) : |
| 24 | ?> |
| 25 | <span class="cff-date-dot"> · </span> |
| 26 | <?php endif; ?> |
| 27 | </p> |
| 28 |