The simpler media website CMS
What must be done to enable website visitors to select news or blog(s) by author?
If we have different blog/news writers on the ZP pages, then it would be nice to display the editors name below or next to the headline or sidebar, so visitors know who is the author of the story.
Then it would be nice if this name would be clickable and linking to an overview of "all stories of this author" page.
Thanks.
Comments
That's currently not possible on the front end (unless you want to do quite some custom coding). This is planned for the future (https://github.com/zenphoto/zenphoto/issues/807 - author actually here also refers to "owner" on images and albums). Workaround would be to use tags. On our site we use
author_<name>
for that reason.You can easily display the author on single news articles or within the news loop but as usual you have to edit your theme. see the functions documenation (search for "author").
Thanks!
Btw. this page: https://www.zenphoto.org/news/theming-tutorial/
includes a dead link to: https://github.com/zenphoto/DevTools/tree/master/demo_plugin-and-theme
Here: "We also provided example files of a bare bones theme on GitHub. "
But should be: https://github.com/zenphoto/demo-theme
Enjoy!
Thanks. FYI the demo theme is also listed on the themes section itself: https://www.zenphoto.org/theme/demo-theme/demo-theme.jpg.html
Quick update: There is actually a quite easy way via the search engine. Try such a link:
http://yourdomain/page/search/?words=nameofyourauthor&searchfields=author
This should give a search results page with all pages and articles of that author.
Looks good
Now I need to see how to integrate it in the template...
Thanks for your effort!
Normally I don't/can't fullfill such small wishes instantly but the support build will get ready some made template functions for this soon.
What else to say