I came to a conclusion !
if ($current_user->ID == $post->post_author)
Related Posts:
- How to remove the author pages?
- How to get author’s name by author’s id
- Give Author users the right to embed
- How can I publish a post with two or more authors?
- Displaying custom post types in author.php
- Order the users by the date of their latest post
- Permalink to user profile
- Show Author in custom rss feed
- No authors in change author dropdown
- More posts from the current author
- List authors of site with link and gravatar
- User Published Post Count
- What capability allows someone to change a page’s/post’s author?
- How to get posts without author?
- Just wanted to Pull Author’s Link
- list author’s posts in author.php
- add capability to author role to be able to delete attachments
- Get the excerpt for a post created by the related author
- get the username of a user in his author page
- Editing the loop for Author pages
- How can I add “posted by ‘author'” to each post?
- no emails for a user account
- Show selected value in a drop down menu
- Can I stop authors from changing the font in their post?
- Author page doesn’t change after username change [duplicate]
- Output author and description if description is not empty
- Author bio Social Links
- How to link avatar and nickname to profile
- Author custom fields post meta, the code?
- Change destination of author link to BuddyPress member profile
- Filter Author Bio
- How to remove the dropdown author data from the post edit page
- Multiple Unique Author Profiles
- How to add child page to author.php
- Restrict user role Author from viewing comments in admin interface
- Author List page: Exclude based on last post date not working correctly
- How to get all possible arguments for a wordpress function
- Author list based on recently active
- Authors & profiles (and exclude ID’s)
- Most recent post is missing from Author page
- I have two problems ( SEO )
- Difference between last_name and user_lastname
- Author name is not working on category page
- Migrate different author’s content to current author
- Declare global var from Template File and use it in Functions.php
- Display A list of Admins
- Get all media files for current author
- Getting list of top 10 users and sort on last name
- get_the_author_meta not working
- How to let authors only see website stats for their posts?
- how to get page views of author page?
- author_link filter not work correctly
- Auto assign author to new posts with wp_insert_post_data
- WordPress User role → Fetch and Print(echo)
- Author Box Meta Issues
- Conditional/Check: IF author has no First Name THEN
- Display Authors Selectively
- Display a list of all post from the Author in the author’s page (author.php) in alphebetical order
- How to show user role in author.php
- How to conditionally output to sidebar of each author’s archive and posts by each author?
- Authors divided alphabetically
- Can change twentytwelve_entry_meta “by-author” links?
- Author Page List – change to show authors instead of not subscribers
- How can I get all author written content?
- post author if statement
- If statement for is_author of a post
- WordPress Authors not showing with User Submitted Posts plugin
- Display posts differently depending on which author wrote it
- How to have certain WordPress settings set by default on a per author basis
- How to target a post by a sepecific author?
- WordPress Posts Multi Author without using plugin
- Automatically Switch between two AdSense accounts based on the author post
- How to create many author’s page?
- When clicking on author, it shows my email address in url
- Show all authors in drop down panel while choosing author for a post
- How do I edit disclaimer/contact information?
- How to add author on WordPress Pages? Not blog article page
- Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page
- Can’t use Persian/Farsi in Author slug (returns 404)
- Author.php Page views counter
- Co Authoring with different positions
- How to remove author from Social sharing links?
- How to add authors contact info to author metabox in post editor?
- Variable undefined but it is defined
- WordPress Author Information show paragraph?
- Show author name not the author ID
- the_author_meta not resetting
- Php markup question: php/html within conditional bit
- Show infos only to the author in the author.php
- Return one of user’s post from a category in user’s profile
- Multiple Authors on a Single Blog
- Want to add a custom author link to a single.php
- Editorial Process
- Multiple Authors per post and filter post by author
- Show the most recent post for an author on the author page
- Uncode theme, create author page and author link under the blog
- Replace author with custom field in feed
- author.php get current id of author for advance custom field
- How to load locally saved author photos based on author ID
- the_author function is displaying wrong name and url