Opal-Estate-Pro/templates/user/social-login/social-login.php

23 lines
522 B
PHP
Raw Normal View History

2019-09-10 06:27:33 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit();
}
?>
<div class="opalestate-social-login">
<ul class="opalestate-social-login__buttons">
<?php
if ( 'on' === opalestate_get_option( 'enable_facebook_login' ) ) {
echo '<li>' . opalestate_load_template_path( 'user/social-login/facebook-button' ) . '</li>';
}
?>
<?php
if ( 'on' === opalestate_get_option( 'enable_google_login' ) ) {
echo '<li>' . opalestate_load_template_path( 'user/social-login/google-button' ) . '</li>';
}
?>
</ul>
</div>