In your loop, you can add
$available = get_sub_field('available');
if($available == 'yes'){
//your row rendering code
}
Switch ‘available’ with whatever you named that field.
Related Posts:
- Query by 2 values of a repeater ACF field
- Query filter by value in meta_value array
- Linking posts together with Advanced Custom Fields “both ways”
- How do I display specific custom posts, and how do I edit a post’s singular page?
- $post breaking container loop
- Media library – Limit images to custom post type
- How to use a custom post type as front page?
- Query multiple taxonomy in Custom Post Type
- Comparing timestamps in meta query doesn’t work
- Include both default and Custom Post Type in query modified inside pre_get_posts
- $wpdb returns no results with SELECT query on custom post type, works on default post type
- Automatically adding meta data to posts or multiple query help
- Show ACF field from custom taxonomy and display on the single template
- Get Custom Field Values by Another Custom Field in WordPress
- Custom Post Type order by modified date and custom meta field issue
- Show custom field from custom taxanomy term on custom post type
- Conditional to modify query results
- How to create an array for a CPT post ID to use in an IF/WHILE statement
- Querying Term Posts in Loop
- Custom Post type with ACF in REST API, how do I get those values?
- Create 3 Level Relations with ACF and WordPress
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Am unable to reset a query properly
- Retrieve value of a category’s custom field
- Get next and previous 3 posts in a term in single post page
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- Querying Two Custom Post Types with OR Not Working
- Bulk Update Custom Fields for Custom Post Types
- ACF Values Don’t Show After Import Unless I Edit/Update Post
- Stuck in Order by more then one
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Query Custom Post Type Taxonomy term with multiple parameters
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Integrate Custom Post Type Events into Calendar
- WebP Fallback for Inline Background Image in Style Attribute
- Query based on custom fields start and end date
- Why is my WP Query not returning first result’s post meta?
- Query multiple taxonomies with pre get posts
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- How to get a custom type post data when it has a connection with another custom type post?
- Query Custom Post Types with checkboxes
- show all custom posts types in home page
- How can I add a shortcode to query Custom Post Type with ACF in WordPress?
- ACF for custom post type archive pages: which hook to use?
- Returning a custom content types with meta values
- Custom Query: If One Post Object Field Value Is The Same As Another
- How do I replace the post title with a custom field?
- Advanced custom fields Post Object image field not displaying in custom post type single.php
- Sum and count of custom field values
- Custom Post Type with Configurable Sidebar via ACF
- Create query for both custom post type and category
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Custom taxonomy query showing more than 4 posts
- Query Custom Post by taxonomy multiple categories
- SQL query – get ids – Advanced Custom Fields / WPeC
- How to set a ‘page’ as parent of a custom post type?
- Create/populate Custom Posts ACF fields from external JSON file
- WordPress URL rewrites using Advanced Custom Field
- Custom Post Type and Structure Question
- Query posts by current ACF meta key value on single page as related posts
- How to access repeater field of a custom field?
- ACF Pro Accessing fields on a Custom Post Type
- Modify Publish Metabox location on CPT
- Permalink URL connection between two custom types
- WP_Query with all posts in one custom post type and only posts in another custom post type with a specific category
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- Display custom tax in “while” loop
- CPT: execute code after load if parameter is set
- ACF Post Content Not Being Searched
- Group/list/sort custom post type posts by date in tabs from acf datepicker field
- Custom post tag images not displaying with ACF
- meta query always fails even if data is correct
- How do I get a nested query to only display content that the main query outputed
- Get post id of permalink for a specific custom post type?
- Multiple Queries and Loops within CPT Archive
- If you’re calling a dynamic css inline style does that div have to be in the loop?
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- Copying custom field value in to title
- Pagination not working with custom loop
- Post content stays the same but permalink changes ?
- Pagination not working with custom loop
- How to show animal lineage/pedigree in WordPress?
- Custom Post Type Loop breaking php
- Styling first post using Advanced Custom Fields
- custom post-type query just returns two posts
- Order custom post type is beign ignored
- 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
- How to I add count of custom posts listed in a post as a prefix to its title
- Filter page ID outside the loop and order
- Elementor Custom Query to get Posts by ACF (Post Object Field
- Custom taxonomy meta fields
- Create WP multisites as a custom post type
- WordPress WP_Query Sort by 2 dates – custom fields
- Custom Sort Order for Custom Post Type Taxonomy
- Load posts via AJAX without draft status
- WordPress post objects in one parent post object