- This topic has 17 replies, 3 voices, and was last updated 1 year, 11 months ago by Pete.
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
Pete the codex can help you, there’s a template example…CODEX AUTHOR TEMPLATE
🙂September 13, 2015 at 8:39 am #136494Pete
es 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 Developer
Not 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 #136515Pete
At 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 Developer
You 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_pageSeptember 13, 2015 at 10:23 am #136517Pete
Thanks, I guess I’m reinforcing this idea…September 13, 2015 at 10:26 am #136518TomLead DeveloperLead Developer
Yea – 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 DeveloperSeptember 13, 2015 at 10:33 am #136523Pete
User fieldsSeptember 13, 2015 at 10:36 am #136524TomLead DeveloperLead DeveloperSeptember 13, 2015 at 10:40 am #136525Pete
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 fieldsSeptember 13, 2015 at 10:45 am #136526Pete
I’m using WP User Front End Pro to make my user registration profile fieldsSeptember 13, 2015 at 11:37 pm #136629TomLead DeveloperLead Developer
- You must be logged in to reply to this topic.