Solved

Wordpress - authors that are not set up as users

Posted on 2014-12-08
4
79 Views
Last Modified: 2014-12-09
I run a website with a number of different people contributing to it. I woud like to have the author appear in each post rather than have Wordpress display the posted by stuff on the top of the post. More or less, I found the way to do this, or rather: I know what to read about and look for in order to make the proper changes.

This is not the problem. The problem is that WP, in order to set up a user as an author demand their email-address. This is not very practical, since I do not want the contributors to be authors in the WP sense of the word. And I do not want to bother them for emails. What I want is really the ability to create as list of authors along with the biographical info, and have WP to put on the relevant post. It seems like overkill to create a user profile for each one of them.

Or is there a way to manually
0
Comment
Question by:Lars Ploug
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40486875
What you can do is use Custom Fields to hold the author information for each post and then modify single.php (or create a new template) to echo out those fields when and where you want them.

The Advanced Custom Fields plugin would be helpful in doing this.

I am not sure there is a plugin that does exactly what you are asking, though.  Most of the enhanced author display plugins that I know of do require the author be a registered WordPress user.
0
 

Author Comment

by:Lars Ploug
ID: 40488150
Get Jason, thank you. I 'have comeback across advanced Cusom Fields, and I've even found what's seems to be a decent tutorial for it.  But maybe maybe you can enligthen me even further.

As I understand it ACF can make another field or set of fields in the add post section. This can the ve echoed out in posts and pages? In my case  the fields would be "writers" and "writers info". This would certainly do the trick for me. But it would be really neat if ACF would allow me to enter a more permanent list of writers and their corresponding info into a database, and then simple choksejr them from a list (or add them to it if they were not on it). can ACF do that?

BW, Lars
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 40488196
First off, the ACF web site has great documentation:

http://www.advancedcustomfields.com/resources/

What I would do in this case is create author pages and populate each page with the relevant info via a Nested Repeater:

http://www.advancedcustomfields.com/resources/working-with-nested-repeaters/

You then use the "Getting values from another page" code sample from here:

http://www.advancedcustomfields.com/resources/code-examples/

and a little bit of custom code to create a picklist to pull in the author data and display on different pages:

http://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/
to pull it altogether.
0
 

Author Comment

by:Lars Ploug
ID: 40488381
Thx a lot, Jason. L
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now