23 lines
539 B
PHP
23 lines
539 B
PHP
<?php
|
|
/**
|
|
* Facebook Comments Template
|
|
*
|
|
* @link https://codesupply.co
|
|
* @since 1.0.0
|
|
*
|
|
* @package PowerKit
|
|
* @subpackage PowerKit/templates
|
|
*/
|
|
|
|
?>
|
|
|
|
<?php
|
|
if ( powerkit_connect( 'facebook_app_id' ) ) {
|
|
?>
|
|
<div class="fb-comments" data-width="100%" data-href="<?php the_permalink(); ?>" data-numposts="<?php get_option( 'powerkit_facebook_number_comments', 10 ); ?>"></div>
|
|
<?php
|
|
} else {
|
|
/* translators: Facebook API Link. */
|
|
powerkit_alert_warning( __( 'Warning: Facebook ID not specified!', 'powerkit' ) );
|
|
}
|