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
- Made a Custom Post Type using ACF. Via the dashboard I cannot see the view button to see the post
- How to remove custom post type archive
- How to use a custom post type archive as front page?
- How to show animal lineage/pedigree in WordPress?
- Custom Post Type Loop breaking php
- Register a title automatically with a relationship field
- Styling first post using Advanced Custom Fields
- Create a Page Templete to Display Table Of Content for Custom Taxonomies
- Archive custom template from search
- has_archive for default post type
- custom post type not getting archived?
- Pagination not working for archive
- how to pass args for archive.php query?
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- WooCommerce – Complete Order when an action occurs
- ACF – Query relationship without ID
- ACF Relationship: Group posts by parent category term, then child [closed]
- ACF Field to set Publish Date – Post Duplication upon Update
- Getting ACF relationship field information
- WordPress Loop trouble with ACF [closed]
- Pagination for Custom Post Type with Multiple Types
- Custom Post Type Archive Title Lowercase
- using a template for more then 1 page
- Add a class to a menu item depending on a body class
- Retrieve a post with its ACF repeater fields in wordpress
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Show custom post type on post category page doesn’t work / breaks navigation
- On archive.php show loop for child categories if they exist or posts if they don’t, on custom post type
- How to I add count of custom posts listed in a post as a prefix to its title
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?
- Why custom search engine only searches in post titles of custom posts?
- Filter page ID outside the loop and order
- Pagination not working on custom post type archive
- Elementor Custom Query to get Posts by ACF (Post Object Field
- Best practice to display a list/archive of Custom Posts in a Page Template
- Display ACF object field data using Elementor Custom Query
- Archive pagination – second page shows exactly the same posts
- Custom taxonomy meta fields
- Custom archive URL as a subfolder of the custom post type slug
- Create WP multisites as a custom post type
- WordPress WP_Query Sort by 2 dates – custom fields
- Post object GUID adding http:/
- Two custom post type relations
- Custom Sort Order for Custom Post Type Taxonomy
- How to make posts under custom post type not generate a URL / post
- Display custom post type attached media file sizes
- Can’t add custom post type archive page to menu
- Dynamic WordPress rewrite rules for multiple custom post types
- selecting custom post types and taxonomies for hub page listing blocks
- WordPress post objects in one parent post object
- How to work with URLs where sometimes a post or a subcategory is in the same part of the URL structure
- Show only taxonomy types terms associated with a custom post type in WordPress PHP
- Create side bar widget showing list of years as hyperlinks for a custom post type
- Meta query with ACF relationship field
- Remove date rewrite rule for custom post type archive page
- Creating a Single Instance Custom Post Type with Limited Module Options using ACF and WPGraphQL
- Custom Post Type Pagination Showing 404 On archive pages
- Code output help please! WordPress> ACF > Relationship > Post Object
- how can i call archive-{post type}.php template from my custom plugins to my theams?
- ACF Pro simple Business Directory – Requesting assistance with created Templates and associated Functions.php Coding
- How can I filter records in a custom post type list in the admin based on the ACF field in the post that contains the current user?
- Cannot create custom post types with a specific name
- WordPress custom post type -> query and sort by custom field with multiple values, then published date
- WordPress duplicating posts from single loop
- Use Custom Field to Display Post Loop
- Custom fields disappearing when a custom post type is assigned
- How to automatically update ACF field value every year?
- displaying ACF Repeater Fields in Backend sorted by a subfield
- Advanced Custom Fields Custom Post Types Heirarchy
- Generate Post Title From ACF Fields on Custom Post Type
- Rewrite taxonomy permalink appended to CPT archive url
- How do I add a filter to my custom post type archive page?
- How to Dynamically Filter Custom Post Types by Taxonomy Based on URL in Elementor Pro and ACF?
- ACF – Updating all posts of CPT when a custom field from options page is updated