Solved

Wordpress - authors that are not set up as users

Posted on 2014-12-08
4
77 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The viewer will learn how to count occurrences of each item in an array.

758 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

19 Experts available now in Live!

Get 1:1 Help Now