Пример #1
0
echo cp_login_head();
?>

				<a href="<?php 
echo esc_url(appthemes_get_feed_url());
?>
" class="dashicons-before srvicon rss-icon" target="_blank" title="<?php 
esc_attr_e('RSS Feed', APP_TD);
?>
"></a>

				<?php 
if ($cp_options->facebook_id) {
    ?>
					<a href="<?php 
    echo appthemes_make_fb_profile_url($cp_options->facebook_id);
    ?>
" class="dashicons-before srvicon facebook-icon" target="_blank" title="<?php 
    _e('Facebook', APP_TD);
    ?>
"></a>
				<?php 
}
?>

				<?php 
if ($cp_options->twitter_username) {
    ?>
					<a href="http://twitter.com/<?php 
    echo $cp_options->twitter_username;
    ?>
Пример #2
0
if (!empty($curauth->twitter_id)) {
    ?>
<li><div class="dashicons-before twitterico"></div><a href="http://twitter.com/<?php 
    echo urlencode($curauth->twitter_id);
    ?>
" target="_blank"><?php 
    _e('Twitter', APP_TD);
    ?>
</a></li><?php 
}
?>
									<?php 
if (!empty($curauth->facebook_id)) {
    ?>
<li><div class="dashicons-before facebookico"></div><a href="<?php 
    echo appthemes_make_fb_profile_url($curauth->facebook_id);
    ?>
" target="_blank"><?php 
    _e('Facebook', APP_TD);
    ?>
</a></li><?php 
}
?>
								</ul>

								<?php 
cp_author_info('page');
?>

							</div>
Пример #3
0
if (!empty($current_user->twitter_id)) {
    ?>
<li><div class="dashicons-before twitterico"></div><a href="http://twitter.com/<?php 
    echo esc_attr($current_user->twitter_id);
    ?>
" target="_blank"><?php 
    _e('Twitter', APP_TD);
    ?>
</a></li><?php 
}
?>
					<?php 
if (!empty($current_user->facebook_id)) {
    ?>
<li><div class="dashicons-before facebookico"></div><a href="<?php 
    echo appthemes_make_fb_profile_url($current_user->facebook_id);
    ?>
" target="_blank"><?php 
    _e('Facebook', APP_TD);
    ?>
</a></li><?php 
}
?>
					<?php 
if (!empty($current_user->user_url)) {
    ?>
<li><div class="dashicons-before globeico"></div><a href="<?php 
    echo esc_attr($current_user->user_url);
    ?>
" target="_blank"><?php 
    echo esc_html($current_user->user_url);