Site logo

[Resolved] How can I get a header on the author page?

Home Forums Support [Resolved] How can I get a header on the author page?

Home Forums Support How can I get a header on the author page?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1539873
    roy

    Hi there,

    It was quite difficult searching for the exact question I have, sorry if it answered already.

    First, I would like to add an image on this page. I’m unsure how to do so. Second, would it all be possible to get the posts only on this page be presented differently?

    I’d like to have the 3 posts across rather than the big ones like I have now, sorry I’ve had a long day and forgot the specific term. Thank you

    #1540132
    David
    Staff
    Customer Support

    Hi there,

    you could create a Header Element for your author archive:

    https://docs.generatepress.com/article/header-element-overview/

    You would need to includes some content in the Header Element, if you only want the image to display add a HTML Comment:

    <!-- author image -->

    Then give the element some Top and Bottom padding to set the height, and set a Background Image.

    The display Rules you would use is Author Archive

    Once thats done we can walk your through ( if needed ) this filter:

    https://docs.generatepress.com/article/option_generate_blog_settings/

    Which will allow you create a different layout for the author archive.

    #1540159
    roy

    View post on imgur.com

    So I tried to do what you described, in the HTML box I put <!– author image –>

    and still nothing. Also made sure that the display area was specified for author archive.

    Let me know if my settings are wrong or what I can try, thank you!

    #1540181
    David
    Staff
    Customer Support

    Looks like you have another Header Element set to display on the site.
    Edit that and on the Display Rules -> Exclude the Author Archive.

    #1540188
    roy

    The only other header that is “Entire site” is the site hero which breaks the author archive if I exclude it.

    #1540194
    David
    Staff
    Customer Support

    Exclude the Author Archive from that other element so i can take a look.
    I would suggest that you use the same Padding options in your entire site element on the author archive element.

    #1540195
    roy

    I updated it so you could take a look. I copied the settings over initially so there wouldn’t be any issues.

    #1540204
    David
    Staff
    Customer Support

    Maybe try this instead.
    Delete the Author Archive template.
    Edit your Entire Site template and set a Fall Back Image for the Background.
    Edit the Display rules so it no long Excludes the Author Archive.

    #1540222
    roy

    That worked!

    Thank you! Can you help me with the 2nd part? I looked through the link you sent me but I’m not a coder, I would appreciate the help.

    #1540325
    Leo
    Staff
    Customer Support

    Sorry is the second part related to the header?

    If not any chance you can open a new topic?

    It’s easier for us to track this way.

    Thanks 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.