As suggested by @Sumit, the problem was in the template: there was a test that prevented the_content() to execute when the content was empty.
<?php if ( $page->post_content && have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile ?>
Related Posts:
- Change content before writing to database
- How do I assign this filter to a variable? (Appending php & markup to the_content)
- Update posts after populating ACF field value [closed]
- Let Users Filter Posts by Custom Fields
- How to show ACF fields in Gridbuilder custom block
- Filter and display a specific custom field value [closed]
- How to filter post using custom feild value in shortest and longest duration?
- Query Posts Via WordPress URL
- Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
- Where are custom field values stored in the database
- Apply the_content filter to a custom field with multiple values
- How to position a custom field before the editor
- Filter results with custom field values and dropdown
- Retrieve custom fields on Categories, using WP-API
- Archive sorting functions by custom fields (front-end)
- Order by custom field date?
- Using custom fields in a filter hook
- automatically set “Featured Image” the same as the og:i that is set in a custom field
- Problem with adding exta field in metabox in custom post type
- Copying Custom Meta Values from existing post to a duplicate post
- Calculate the sum of certain the_sub_fields
- How to filter a dd/mm/yyyy date from a custom field in a query
- Displaying Custom Fields on Post with Genesis Child Theme
- Send Multiple Custom Field Values Through the URL
- ACF won’t load from a custom JSON location
- Add WYSIWYG to Image Description field
- Force hide custom field metaboxes
- Show ACF fields only on certain page in the backend
- How can I pass a variable set by ACF to header.php?
- How to validate custom field on lost password form before the user id field?
- ACF: How to get the full field name (meta_key) by a field key?
- Dynamically fill a post custom field with post publish date
- Save the_content into custom field
- How can I store a file in the database in the same way WordPress and ACF do?
- WP_User_Query pulling ACF to loop
- filtering custom post types via meta data drop down
- global function to apply filter to custom field
- Print custom field in Query Loop block
- How to add Advenced Custom Fields In Single Post
- How to schedule a custom field value update?
- Order RSS content by an advanced custom field value
- Add new image block, set default class name and update it using Javascript
- Advanced Custom Fields dynamic update_field
- Filter multiple custom fields Values with Check boxes
- How to get categories with posts by custom field value?
- More efficient to add content to custom fields or the content area?
- Custom wysiwyg editor doesn’t execute shortcodes?
- Vimeo thumbnails
- Walker class for sub-menu with ACF fields
- How to list Category list in ACF Pro’s Select Field to choose from [closed]
- Get all the posts where meta field with multiple choice has several values checked
- ACF: How to get users with a ACF flexible content subfield with a specific value AND layout?
- Get users based on month ACF datepicker field
- WordPress creates new lines in postmeta table on post update
- Retrive Image URL of Custom Fields in Theme
- How to Pass values to Custom Field through PHP in WordPress Posts?
- Filter posts by custom field (Advanced Custom Fields)
- Advanced Custom fields not available yet during publish_page action
- Displaying an ACF list of users
- Custom field Search with Relavanssi
- Footnotes in custom fields
- How to change permalink on headlines in rss feeds?
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- How To Save Data From Remote APIs To ACF?
- comments_where Hook
- ACF field group not showing in page
- Filter post style attribute
- What am I missing in this Code Block?
- get_field values for each post on home page using wp_add_inline_style
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- Is there any way to make a custom field for a post only if the author is a certain user?
- Setting user permissions per post
- Filter posts by their related field’s custom field
- WP meta_query args not working in function
- Weird custom fields data lost
- adding autosave feature to custom fields
- Retrive acf fields in publish_post action for wp_mail
- How to delete attachments associated with custom field type when post property changes? [closed]
- ACF – Compare user and post data
- Page template is missing fields or is invalid when I updating the template
- Query Posts based on custom field value
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- display Flexible Fields from options
- Empty the_content for all posts
- Display Child Page with custom fields within Parent Page
- change attachment custom field onChange event
- Display different category template if custom field is checked
- How to Order Posts by Custom Fields?
- Fetch data from a WP page with same name as current username
- Get custom field from other post in carousel
- Include custom fields into the content of a regular page
- Create widget that filters posts on current page based on entered value
- Advenced custom fields auto fill problem
- Adding custom field to an array
- Add image custom attribute [closed]
- Truncating characters in Advanced Custom Fields works some places but not others?
- Set new url from custom post field
- Conditional display based on ACF checkbox
- How to add an ACF only for parent term?
- Best way for managing images of ads banners