[Support request] Archive (Taxonomy?) Title over Featured Image for Archive (Taxonomy?)

Home Forums Support [Support request] Archive (Taxonomy?) Title over Featured Image for Archive (Taxonomy?)

Home Forums Support Archive (Taxonomy?) Title over Featured Image for Archive (Taxonomy?)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2252603
    Rick

    So, I’m trying to do something similar (I think) to what this post elsewhere in these support areas is about. But 1) it’s not exactly the same, and 2) I know y’all prefer opening a new topic, even when things are “close” to the same as what the OP asked.And, by “close,” I mean nearly-identical. Although, in this case, my query is not nearly-identical; it’s just sorta close.

    Okay. Fine. I love you all. And I recognize, as I heard somewhere once, in a far-away galaxy (universe?): “Resistance is futile.” (It doesn’t even use an exclamation point, because it’s just that clear a rule.)

    If you were to look at (almost?) any page other than the home page at https://fresnoinjurylaw.com, you would see that I have figured out how to put white text, stroked, over the Featured Image for each Page. (You would obviously have to select a page from the menu to see that; it does not appear on the HOME page.)

    In order to be consistent on my website, I would like my archives pages, of any kind, to have the same look.

    To get the categories to have images, I have installed the Categories Images plug-in. As a test, I have so far only assigned one category (“Our Practice”; slug “our-practice” without the quotes) an image. I copied the blocks from the Element where I successfully got the title over the Page Featured Image, as I wanted there, to a new Block Element which I could assign to “All Archives” for “All Users.” I have assigned a Hook of before_main_content.

    Beyond that, I do not know where to go next. I could tell you the rest of the settings, but they probably are not correct, so I hold off, unless asked about a specific thing.

    The result is that there is a big blank area (white, in my case) where I would expect the Featured Image with the Archive Title to be located. So…SOMETHING is working. Because, before I did this, that big blank area was not there.

    Any help will earn my eternal gratitude (as I plan to live forever). And possibly a bag of caramel M&Ms (which are to die for, and, hence, usher in eternity).

    #2252765
    Fernando
    Customer Support

    Hi Rick,

    I’ll try to guide you step by step.

    1. You’ll need to add a term meta to your taxonomy archive pages. For instance, I’m using ACF, and I added myimage image term meta field to all taxonomies in my site: https://share.getcloudapp.com/9ZuojmxY
    2. Then, through doing this, there will be an image term meta in your taxonomies as such where you can add an image: https://share.getcloudapp.com/4gurjK2W
    3. Now, you can create a Block Element – Page Hero displayed to Post Category Archives for instance. In this Block Element, you may add a Container Block with a dynamic Background set as such: https://share.getcloudapp.com/o0uGvRP9. The term meta is set to the term meta I set in my ACF field: https://share.getcloudapp.com/o0uGvRP9
    4. Lastly, I also added a dynamic Headline Block to retrieve the title of the archive page: https://share.getcloudapp.com/ApuXAJ9P

    With regards to us preferring starting new topics, we prefer it this way most of the times, for one, because only the topic starter can use the Private Information field. Another reason would be because there have been multiple cases where the topic strays aways from, and this, we feel may be confusing for other customers who’ll eventually get to read the topic. We basically prefer keeping topics as neat as possible for the benefit of other customers.

    Hope this helps! Kindly let us know how it goes!

    #2253019
    Rick

    Just to clarify, the stuff about starting a new topic was a joke. You folks at GeneratePress really are fabulous, so I was just having a little fun there. (I mean, I don’t see myself ever building websites that aren’t child themes of GP ever again.)

    Your solution did work. An example of the result is at https://fresnoinjurylaw.com/category/our-practice/. Now I just have to figure out how to get the presentation of the posts there to match the presentation of the posts on https://fresnoinjurylaw.com/blog/

    Thanks very much for getting me this far.

    #2253050
    David
    Staff
    Customer Support

    Hi there,

    i assume you have a Block Element – Content Template ( found in Appearance > Elements ) set to display on your Blog page ?
    If so, edit that, and in the Display Rules -> Locations and a new entry to include All Archives or specifically Post Category Archives

    #2253298
    Rick

    See? I told you you folks really are fabulous!

    I guess it didn’t occur to me that I could use the same element like that, because I had to do a separate element for the title over the blog post page versus title over the archive pages.

    Looking great. And I learned something, again.

    #2253950
    David
    Staff
    Customer Support

    You’re welcome!

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