Home › Forums › Support › hero element- how to add photo author credit This topic has 5 replies, 2 voices, and was last updated 3 years, 11 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 14, 2019 at 5:19 am #868446 Santa Hi! Have made an element for blog posts to show featured photo and title of the post. How to add author credit for posts? Can I add it as a tag, as for every post the author of photos will be different? Thanks! GP Premium 1.7.8 April 14, 2019 at 6:02 am #868461 DavidStaff Customer Support Hi there, does this example help: https://docs.generatepress.com/article/page-hero-examples/#example-2 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ April 15, 2019 at 1:05 am #869120 Santa Hello! Maybe it is possible to add just plain text under the h1, or text with link to image author somehow? For example, ”Photo: link to author url” April 15, 2019 at 1:51 am #869173 DavidStaff Customer Support So you could use Custom Fields and the {{custom_field.name}} template tag to display it in the header. Eg. Add 2 Custom Fields to the post: author_name author_url Then you could add this to the page header: <a href="{{custom_field.author_url}}">Photo: {{custom_field.author_name}}</a> Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ April 15, 2019 at 5:03 am #869355 Santa Thank you! Just what I wanted to archieve. April 15, 2019 at 5:31 am #869379 DavidStaff Customer Support Glad to be of help. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In