item
2 years ago
credit.php
2 years ago
error-message.php
2 years ago
header.php
2 years ago
likebox.php
2 years ago
credit.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Custom Facebook Feed : Credit |
| 4 | * Show a credit message to Smashballoon |
| 5 | * |
| 6 | * @version 2.19 Custom Facebook Feed by Smash Balloon |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | // Don't load directly |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | die( '-1' ); |
| 13 | } |
| 14 | use CustomFacebookFeed\CFF_Utils; |
| 15 | |
| 16 | $cff_show_credit = CFF_Utils::check_if_on( $atts['credit'] ); |
| 17 | |
| 18 | if($cff_show_credit) : |
| 19 | ?> |
| 20 | |
| 21 | <p class="cff-credit"> |
| 22 | <a href="https://smashballoon.com/custom-facebook-feed/" target="_blank" style="color: #<?php echo esc_attr( $cff_posttext_link_color ); ?>" title="<?php echo esc_attr('Smash Balloon Custom Facebook Feed WordPress Plugin') ?>"> |
| 23 | <img src="<?php echo CFF_PLUGIN_URL ?>/assets/img/smashballoon-tiny.png" alt="<?php echo esc_attr('Smash Balloon Custom Facebook Feed WordPress Plugin') ?>" /> |
| 24 | The Custom Facebook Feed plugin |
| 25 | </a> |
| 26 | </p> |
| 27 | <?php |
| 28 | endif; |
| 29 |