Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
beak
/
wp-content
/
themes
/
anka
/
profile
:
aside.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php if(!defined('ABSPATH')) exit; ?> <?php global $widgetPlace; global $activeMenu; $widgetPlace = "sidebar"; $current_user = wp_get_current_user(); $authorID = $current_user->ID; $authorName = get_the_author_meta( 'first_name', $authorID ) . ' ' . get_the_author_meta( 'last_name', $authorID ); if(!$authorName) $authorName = get_the_author_meta( 'display_name', $authorID ); $authorMail = get_the_author_meta( 'user_email', $authorID ); $authorLogin = get_the_author_meta( 'user_login', $authorID ); $authorSite = get_the_author_meta( 'user_url', $authorID ); global $wpdb; $image = safir_get_author_image($authorID); if($image == "") { $image = get_template_directory_uri() . "/images/noauthor.png"; } ?> <aside id="aside" class="profile"> <div class="thumb avatar"> <div class="image"> <a href="<?php echo get_permalink(xoption('profilePage')) ?>"> <div class="safirthumb square"> <div class="center"> <img src="<?php echo $image; ?>" width="150" height="150" /> </div> </div> </a> </div> <div class="name"><?php echo $authorName; ?></div> </div> <div class="userMenu"> <ul> <li> <a href="<?php echo get_permalink(xoption('profilePage')) ?>"> <?php themeIcon("user") ?> <div class="title"><?php _e("Profilimi Düzenle", "anka"); ?></div> </a> </li> <li> <?php if(xoption('postsPage')) : ?> <a href="<?php echo get_permalink(xoption('postsPage')) ?>"> <?php themeIcon("list") ?> <div class="title"><?php _e("İçerik Yönetimi", "anka"); ?></div> </a> <?php endif; ?> </li> <li> <?php if(xoption('addPostsPage')) : ?> <a href="<?php echo get_permalink(xoption('addPostsPage')) ?>"> <?php themeIcon("addnew") ?> <div class="title"><?php _e("İçerik Ekle", "anka"); ?></div> </a> <?php endif; ?> </li> <li> <a href="<?php echo get_author_posts_url($authorID) ?>"> <?php themeIcon("pen") ?> <div class="title"><?php _e("Yazar Sayfam", "anka"); ?></div> </a> </li> <li> <a class="logout" href="<?php echo wp_logout_url(home_url()) ?>"> <?php themeIcon("logout") ?> <div class="title"><?php _e("Güvenli Çıkış Yap", "anka"); ?></div> </a> </li> </ul> </div> </aside>