If you added the Custom field only to a certain page template it won’t show on default edit screen when it stared or when you creating a new page because the new page isn’t associate with the page template yet. And when you save it shows because now the page template is added to the post.
One solution, you can use some jquery coding if you want to add the meta box when code you select the page template from dropdown.
Related Posts:
- Tabindex on text input immediately after WordPress title input
- Having different sidebar content for MANY pages?
- How do I read the value of a custom field of the page?
- Advice needed for importing custom field data and database structure
- Get Meta from Custom Field of Image URL
- Custom Fields box in the post editor: Replace textareas with input elements
- Limits, not all post are showen when querying for posts by view count
- remove initial wysiwyg editor from cms page edit
- Displaying page image in the footer automatically
- Hide text if one custom field out of two is empty [closed]
- How to disable Edit Post and Allow only Custom Field?
- How to display a product features dynamically with icons?
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- How do I include a template file while allowing it to render its own dynamic content added via custom box?
- show a specific metabox dependent on the page template
- Making custom meta box required (with error message if not filled in) on Gutenberg
- HTML for adding a meta box (basic text field) to page editor?
- Load one page with parent and child pages
- Page template is missing fields or is invalid when I updating the template
- Append custom field items to content from plugin
- Display Child Page with custom fields within Parent Page
- Create download page from post option link
- Edit different parts of a page seperately
- Group pages by custom field values
- Get custom field from page, in a post?
- Is there a way to set default custom fields when creating a post?
- Underscores in custom fields
- Add custom field to the archive page?
- So much data in postmeta
- Show only posts which can be commented OR have custom meta field
- Need small coding with Custom Fields Search
- Show Custom Comment Fields when editing in admin
- How do I make a custom field choose an image?
- get_post_meta() unserialize issue – returns boolean(false)
- How can I remove fields in the attachment editor?
- Edit Custom Database Tables in WordPress
- How to store the value of a custom field dropdown select for post referencing?
- Gutenberg Custom Block
- Change content before writing to database
- post meta data clearing on autosave
- WordPress Search Custom Meta Field Only
- Loop through two different sets of custom fields
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- Add description text under input field for new profile fields
- Which is best in the following scenario : post_meta vs custom table vs parent/child posts
- Echo values from custom field outside loop php
- How to add content at the end of posts?
- Get all posts that do not have a specific custom field without using a subquery
- Transfer self made functions.php custom fields to Advanced Custom Fields [closed]
- How to query posts with certain custom meta data, and output Post data
- Custom Fields Not in Search Results
- add_action and remove_action if custom field exists
- wordpress custom fields multiple data
- How do I define post titles as images using Custom Fields?
- Store array as single, serialized post meta field or many post meta fields?
- Get an advanced custom field after post publish
- Why the pagination for a query modified by pre_get_posts doesn’t mind the number & order of posts sorted & selected based on a custom date time field
- Trying to update_post_meta function
- How do i add custom fields to my themes template file?
- Custom Field to a Role?
- WordPress set custom field to true, sets all others to false?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- How to make a customized user registration form using the built in wp-register() template tag
- Link FROM attachment to full post and get custom fields values on attachment page?
- Getting the Featured image URL and inserting it as Custom Field on Post update / publish
- How to copy data from a custom field to the post_content?
- Pass PHP through redirect and custom fields
- MetaBox not saving after empty
- How can I create a profile field group that the user can’t see?
- Custom field as featured image caption
- Update custom field values on edit address page woocommerce
- Is there a (sane) way to get all custom fields for a post, which do not have a leading underscore?
- Custom wpdb query – how to sort post by another table meta_count
- custom filed from post in the side bar
- Rewrite comment form post ID on submit
- Add a custom field to my custom post type and then get posts which are before the given date in the custom field
- Custom User Dashboard
- Custom Fields not working properly
- Custom meta POST request fired twice when updating a post in Gutenberg
- add meta box considers the selected option as post parent
- How do I display a custom field in an existing form on the front end?
- How to save array option as text and not integer?
- Extend WP_User_Query or WP_User to return all custom fields?
- Quicktag button to automatically add a custom field to a post
- Display custom fields only if it has a value
- WordPress taxonomy child image
- Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
- Add nofollow to custom field link and make domain exceptions?
- Override edit_custom_walker.php to conditionally show input depending on menu position
- wordpress simple post multi rating with post_meta and user_meta
- Custom fields are not displaying in page with multiple loops
- Change event firing in wordpress
- Download stuff after filling fields?
- Custom search with meta fields
- Adding custom field to Lightbox in header only pulls current page data, not Lightbox item data
- Meta boxes not displayed, data isn’t being saved
- Custom registration form and custom field
- Custom field for image, not showing image!
- How can i put a custom field inside this php
- Archive for custom fields?