Build Your Own Business Website header image

Welcome to our Members Only Forum

You are welcome to view the content on our Forum, just scroll down to view this forum post.
If you like what you find and want to be able to post a question, please check out our subscription options.
Please feel free to search the forum using either the Google Site Search above or the forum search below.

Avatar
Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Using get_the_author_meta() when an author has no post
Avatar
Richard Barratt
UK
Member
Community Member

Members
Forum Posts: 33
Member Since:
August 14, 2012
sp_UserOfflineSmall Offline
1
July 27, 2016 - 6:47 am
sp_Permalink sp_Print

Hi All

I'm trying to display Author meta on the Author Singular template.

get_the_author_meta()

Any idea on how to get meta to display if an author has not written any posts yet?

Thanks

Richard

Avatar
Rick Anderson
Desert Hot Springs, CA
Admin
Forum Posts: 13637
Member Since:
November 8, 2009
sp_UserOfflineSmall Offline
2
July 29, 2016 - 10:12 am
sp_Permalink sp_Print

Rich, you'll need to create your own "author" loop.  The typical loop asks "if have posts".  You would remove that in your custom loop.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 228

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Keith W Jones: 1428

Brian Tozer: 1004

Carolin: 982

Heidi Hafner: 508

John Cunningham: 423

Reece Morrel: 353

Newest Members:

emma62755

sharonmarks

emma80233

Tijs de Jong

Daniel Frey

mutek

Forum Stats:

Groups: 8

Forums: 46

Topics: 6995

Posts: 34796

 

Member Stats:

Guest Posters: 6

Members: 6761

Moderators: 2

Admins: 2

Administrators: Rick Anderson, Rick Anderson

Moderators: Pierre Cote, Laura Nugent