Try this code
<?php $image = get_field('team_members_page_image', 'option'); ?>
<div class="post-hero-image archive-header" style="background-image: url('<?php echo $image ?>')">
Related Posts:
- WordPress custom post type archive with description
- Custom Post Type Settings page, choose page to display archive
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Custom post type is showing custom home page, not archive page
- CPT archive admin menu label
- Custom post type archive page blank
- My archive-posttype.php template is not loading
- Custom Post Archive is not working
- How to integrate single and archive templates for custom post type in any WordPress theme
- ACF for custom post type archive pages: which hook to use?
- Custom Post Type Archive template not being called
- Custom Post Type with Configurable Sidebar via ACF
- Is possible register two archive pages for single custom post type?
- How to set a ‘page’ as parent of a custom post type?
- Archive page of CPT’s custom Taxonomy
- Finding the CPT archive template source
- get first limited words from a custom post in the archive page
- Show index and not the archive for “Dog Custom Post” with default slug
- Custom post type archive page not showing on archive-posttype.php
- Custom post type with two templates
- How do I make my archive page look like popular reviewing sites (e.g., Polygon and Gamespot) [closed]
- Display custom post type archive on page.php template
- Making a archive gallery page for a custom post type which already has an archive page
- Pagination not working only on Archive-Name.php using new WP_Query
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Get custom post type slug for an archive page
- Adding custom post type archives to a WordPress menu
- Custom Post Type Archives by Date with Custom Permalink
- Custom Post Type archive as front page
- Adding custom post types to archive.php
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- Archive filter disappears on no results?
- Display Next/Prev when looping Custom post-types archive?
- How to replace custom post type slug with an ACF value?
- Link users to a custom post type
- How can I filter by taxonomy on a custom post type’s page?
- How To Create A Custom Taxonomy 404 Page
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- Change archive page template using pre_get_post
- CPT Archive with core Category
- Validate custom fields before save using WordPress Rest API
- Custom post types and tag archive pages/permalink structure issue
- How can I dynamically add a post to a custom post type which uses a custom field?
- WordPress post_where & posts_join not working only for custom post type
- custom post type WYSIWG removes paragraphs when displayed
- ACF From & To Date Validations
- Exclude objects from WordPress API based from ACF field using rest_prepare_{$post_type}
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- How to update post meta on uploaded image from a custom form?
- Order post by date with ACF
- Querying & displaying custom post type into an existent page [closed]
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Post loop count is not in order
- How to inherit field value from parent post into in child / sub post
- sort CPT on Custom Taxonomy Archive page
- How to use single.php for creating, reading and editing Custom Posts with ACF
- posttype and custom fields on multisite
- Custom fields not showing in custom post type
- Using WP meta query to show custom post types by a start and finish date
- add_action ‘init’ from inside a class for custom post types
- Advanced custom field – posted fields from custom post type
- Custom post type archive – error in nav-menu-template.php
- Get single posts archive information
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- How to display author details in a custom post type in the wordpress backend?
- Show/hide posts and categories based on user meta
- ACF – Retrieve custom taxonomy from a relationship field
- Pagination links for custom post type shows correct number of links, but links result in Page not found
- Invalid content when I try to import custom post type from the old template wordpress
- Set up a WP Cron scheduled event to update calculated ACF field
- Show Post Revisions on front-end
- How to show Custom Post Type – Case Study using Shortcode & ACF
- Add custom post related by custom field to custom post
- Create loop from selected terms in ACF taxonomy field
- Sort custom posts by date and then by taxonomy
- Does this archive template part look like its making too many calls to the db?
- Posts per Page on custom Taxonomy Template
- Issue to display Permalink (ACF Relationships in Custom Post Type )
- Group custom post type posts by month
- Changing default admin column sorting to an ACF Date Picker field
- Tell wordpress to show a single page instead of an archive page
- Wrapping an unknown amount of posts inside separate HTML Containers during WP_Query loop
- Custom post pagination not working
- Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks
- save_post affect creation and deletion
- Custom post type post_type_link gives “page not found” on any other custom post type
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- How to query posts by meta keys AND under specific category?
- Have two (permalinks) urls for a same custom post type
- how to load custom single.php?
- Setting a custom $query->query_vars[‘meta_key’] breaks the WordPress menu
- Function that get ACF fields value before saving
- Custom Post-type not returning the right child_of
- Register a title automatically with a relationship field
- Why custom search engine only searches in post titles of custom posts?
- Post object GUID adding http:/