Solved

Wordpress - authors that are not set up as users

Posted on 2014-12-08
4
87 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.

738 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