Skip Navigation

Output cf image on Archive page

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 voice and has 0 replies.

>
Author
Posts
#2841803

Tell us what you are trying to do?
Trying to display a cf category image on the relevant archive page.

Is there any documentation that you are following?
https://toolset.com/course-lesson/creating-a-custom-archive-page/
https://toolset.com/course-lesson/styling-views-and-archives/
https://toolset.com/course-lesson/display-dynamic-sources-inside-all-text-blocks/

Is there a similar example that we can see?

What is the link to your site?
hidden link

I have added a category image using a custom field:
[types termmeta='service-area-category-image' title='%%TITLE%%' alt='%%ALT%%' size='full'][/types]

I'm using a Kadence child theme, and I need to display the category image in the Hero Header section, but I'm not sure how to output the cf image in the CSS with the proper syntax:

.projects-archive-hero-section .entry-hero-container-inner {
background-image:;
}

There is an archive-hero.php template part that I can edit if necessary.

Thanks for any help!