- This topic has 17 replies, 3 voices, and was last updated 5 years, 4 months ago by Pete.
-
AuthorPosts
-
September 13, 2015 at 8:07 am #136486Pete
I’m making a multi author website and I really need a dedicated author page I can customise. Any chance of making one?
September 13, 2015 at 8:37 am #136490Jean Paiva DeveloperPete the codex can help you, there’s a template example…CODEX AUTHOR TEMPLATE
π
September 13, 2015 at 8:39 am #136494Petees I’ve seen that but i’d prefer Tom to make an official version. Also I’d like to see an author.php/archive.php page that works with CPT’s. At the moment I’m working with CPT’s and this isn’t showing up on the author’s profile page.
September 13, 2015 at 10:07 am #136514TomLead DeveloperLead DeveloperNot exactly sure what you’re wanting me to do? I can’t really built custom templates for people through the forum unless I know it will benefit a lot of people/implement it in core.
Let me know π
September 13, 2015 at 10:14 am #136515PeteAt the moment the author page is mixed in with the archive page. This makes it hard for us learning folk to customise the author side of things separate from the post archive stuff. An author.php file would help.
Also the CPTs are not supported in archive.php. It would be awesome if this could be implemented.
September 13, 2015 at 10:18 am #136516TomLead DeveloperLead DeveloperYou can always place an author.php in your child theme with any changes you’ll need – you can start with something like this: https://gist.github.com/generatepress/36e28f0f16d4053033c1
All CPTs will use the archive.php template by default – that’s just the way WP works. If it’s not working, you may have to do this: https://codex.wordpress.org/Post_Types#Archive_page
September 13, 2015 at 10:23 am #136517PeteThanks, I guess I’m reinforcing this idea…
September 13, 2015 at 10:26 am #136518TomLead DeveloperLead DeveloperYea – GP is just meant to be a lightweight template to work on top of. It’s pretty easy to build on top of if necessary, but I want to avoid adding too much. The more templates/files I add, the more room for bugs and issues arise.
As it is right now, it works for 98% of users, and the 2% who need to expand on it can easily use a child theme to add their custom files.
If more and more users require separate templates then I’ll definitely consider it, but right now the want just isn’t big enough.
September 13, 2015 at 10:31 am #136520Pete“If you build it they will come”
Oooo here’s an idea for the next add on… An option to build an author page with the ability to add extra fields and display then in the author.php page
Boom!
September 13, 2015 at 10:32 am #136521TomLead DeveloperLead DeveloperWhat kind of extra fields?
September 13, 2015 at 10:33 am #136523PeteUser fields
September 13, 2015 at 10:36 am #136524TomLead DeveloperLead DeveloperWhat would be in those fields? Any examples of an awesome author template?
September 13, 2015 at 10:40 am #136525PeteGoogle map
Avatar
Date field
Drop down
Multiple choice etc.Authors are more than just what WP think they are (bloggers)
Or use an established user meta plugin to make the fields and use their api to get those fields
September 13, 2015 at 10:45 am #136526PeteI’m using WP User Front End Pro to make my user registration profile fields
September 13, 2015 at 11:37 pm #136629TomLead DeveloperLead DeveloperSeems a little out of scope for a lightweight starter theme, but it could be added to the Blog add-on perhaps π
-
AuthorPosts
- You must be logged in to reply to this topic.