if( !empty(get_the_author_meta('description')) ){
echo get_the_author_meta('description');
}
You can use empty() function to check the content entered or not.
Related Posts:
- How to change the case of all post titles to “Title Case”
- How to detect single.php (but not single-portfolio.php)?
- disable WP automatically inserted line breaks after an image
- Getting the post_id in wp_ajax function
- delete post also attachments
- How to call function within a page/post, to dynamically generate content?
- Restrict users from editing post based on the age of the post
- Code to auto expire posts after 30 days
- List only child categories a post is in, of a specific parent category
- How to change post status from publish to draft using hook in wordpress?
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Custom colors for post rows based on post meta value
- Force update all posts in custom post type, no content changes
- Custom wp_trim_words() function not trimming right
- Disable REST API for a user ROLE
- How to display post tags
- Add confirmation popup on “Move to Trash”
- Allow role to delete posts but block him the wp-admin
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- WP_Query in functions.php overrides global $post object, even with wp_reset_query()
- Delete Post From Front-End and attachment permanently
- Limit function to specific post category
- Function to show random posts from a category
- How can I list random authors from current post category?
- Disable single post page
- Enabling post thumbnails for custom post type
- Getting current post ID in functions.php
- Action hook for new pending posts?
- Uppercase first sentence in every post
- Ajax posts filter by date, comments, top views, top likes
- Prepend or add an Image to the content of a Post
- Why content_arr[‘extended’] removes paragraph tags?
- Load post attached images on a single page site with fancybox
- Setting posts_per_page for taxonomy term template
- Change post order random through out the entire WordPress
- How to display the link (title) and thumbnail post?
- Force the “Choose from the most used tags” meta box section to always be expanded
- How to do set post permalinks using 6 digit random unique function?
- Display post x of y within category
- WordPress Automatic Filename Changer
- disable Tab post on nav-menus page (Admin)
- Adding bootstrap classes to video shortcodes
- Every second post different class in blog view
- Get post meta retrieving wrong value
- The_excerpt() doesn’t parse – how to change that?
- How to only publish posts with image in it
- Add custom text automatically on each post
- Defined function isn’t showed on page
- WordPress 302 Redirect to Random Product/Post/Page
- Getting Whitescreen when publishing a post [closed]
- Using system date format
- Add code to a specific post’s content
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Is it advisable to use $post->comment_count instead of get_comments_number( $post_id )
- Related Posts: Changing Function For Posts Per Page
- Optimize CPT-function with a loop
- Same post appears in related Posts?
- Making a wordpress page print friendly
- Help on conditional statement to accompany wp_insert_post function please?
- Set Default Post as Parent Child (Nested) Relation
- I need to create “View Profile” and “Edit Profile” links by incorporating the Post Title/ID, but can’t seem to manage it
- how to show comments only author which send own posts in wordpress
- get category in list of posts // shortcode for custom related posts
- shortcode // get posts by ids
- Alt text attributes not showing over portfolio images
- Find most used words in post titles
- WordPress Sticky Post Count “Fix” Breaking Pagecount by 72 pages!
- $post->post_content empty while all other properties are correct
- Function is printing twice – any suggestions?
- Set a post expiration and delete a post when expirate
- I want to change the WordPress comments file
- Replace Tag Keyword With Link Within Post Content
- Excluding tag Link from html tags in Post content
- Changing a users posts to drafts upon role change
- Get post id outside loop : Notice: Trying to get property of non-object
- Show all posts from the tags without having to set all of them
- Trim excerpt to first paragraph
- im trying make a function to auto correct posts when i open the posts in the backoffice
- How to change number of posts shown on homepage vs other pages?
- Show only top 3 posts from 3 categories in order on home page
- Call image from post on index page?
- How to edit label_submit styling?
- How do I get thumbnails?
- How to get posts from network blog
- Get post title by Alphabet
- How to limit the number of results for all query_posts on mysite
- User driven content problems
- How can I create a menu items from meta box based on users input
- How to use wp_editor(); in functions.php then retrieve content in the template
- How *not* to show the last post on the latest posts list
- Notify Author of the post if admin deletes his post and perform some function
- How do we display a certain category type on a page while hiding all others?
- save_post not working
- wp trim function not working
- Insert Shortcode exactly at the end of the content
- display last post modified date in genesis child themes
- What function does the loop of displaying posts?
- Custom Post-Rename Function Does Not Function in WordPress 6.x
- How to use shortcode to get the second to newest post?
- How to sort posts alphabetically based on a specific parent category