You can use the_title
hook to change the title of the post in the admin, something like this
add_filter( 'the_title', 'custom_post_title', 10, 2 );
function custom_post_title( $title, $post_id ) {
// Return early if not in the admin
if ( !is_admin() )
return $title;
$post_type = get_post_type( $post_id );
// You only need to change the title for pages
if ( 'page' !== $post_type )
return $title;
$custom_title = get_field( 'your_custom_title_acf_key', $post_id );
// If custom title is present, display it instead of original
if ( $custom_title ) {
$title = $custom_title;
}
return $title;
}
Related Posts:
- Can I display the widget admin in the page admin?
- Change admin startpage to Pages-page?
- How does wordpress calculate the page depth?
- Only allow new subpages to be created
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- How to disable Page Attributes dropdown in wp-admin
- How to change redirect after moving a page to trash?
- Dashboard–> All Pages “How to create folders?”
- How to make certain page templates visible to admin only
- Check whether the child page has siblings
- How to echo excerpts with wp_list_pages?
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Extra title output with this function wp_list_pages
- Remove pages from backend list *and* update counter accordingly
- Edit page’s “Restore the backup” link does nothing
- List child pages by slug not ID?
- Missing ‘Page Attributes’ in page edit
- Admin pages, edit notes of the title of posts and pages
- Can’t locate a hidden private page
- Role – edit page but not publish
- Combining ‘depth’ with ‘include’ in wp_list_pages()
- Adding Page URL to the Pages Admin Table
- Get the ID of the direct parent page
- Get parent of current page
- How to use is_admin in page content?
- Post Fetching Ignoring Sort_Column?
- Exclude pages by menu order
- Check if the child page has sibling pages, and bookmark current page
- logout redirect only from admin page
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- Keep page hierarchy in wp_list_pages, even if on a child or grandchild
- Publish page by invoking submit via jQuery
- Check if page has subpages
- How should I set up a Tumblr blog at a WordPress Page?
- accessing the Admin page
- Translate dashboard metabox
- remove “Edit” from select pages
- Include parent page in list of child pages
- wp_list_pages get the hole hierarchy for current page
- Remove and change pages label
- Get All Pages as strings in array
- Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)
- How To List Sibling Pages And Include The Featured Image?
- Group Pages based on Parent in Admin Area
- disable trashability for certain pages
- Custom admin menu for a selection of pages
- How to make in post Parent page children page list nummbered
- How to access variables from one plugin in another
- Custom wp_list_pages() function
- How to give paged links custom title?
- featured image as background image on pages
- Any guides on creating custom admin pages?
- Can I display submenus in groups, using wp_list_pages?
- Internal Links to Pages in PHP?
- Modify theme to get page excerpts on front page
- Editing Pages that Have Already Been Published
- The entire content of my WordPress page has disappeared
- What is the proper way to get contents of a page?
- Getting child content
- Adminbar Missing “Edit Page”
- Any Ideas for Including “More Tag” with get_pages($args)?
- Display child pages in sidebar of parent page in wordpress
- Get the Current Page Slug-Name
- Adding a Calculator to a WordPress Page
- List all posts with the parent or grandparent of a page with a specified ID
- block a page from logged out users and redirect to homepage
- Disable ADD PDF media button on rich text editor
- Restrict the list of parent pages to only those which are created by current user
- Use content from one page in another template
- Is there a way to schedule changes to a page?
- Is it possible to change slugs’ default behaviour?
- List child pages within page template
- Option for pages order in backend
- Return subpages of an author if the parent page was published by an other author
- Removing custom sort order from admin page listing
- append one page content into another
- Allow a user to edit their own page and profile only
- Parent/Child pages
- Editing Help Section
- Separate URL for a specific page
- Next and Previous Page links based on ‘Order’ attribute
- register_rest_field only for specific page
- Update Pages ONLY from Stage to Live (not products)
- Every change made by “Author” role is going to “pending review”
- Create multiple custom HTML pages
- Add homepage to the list of pages in the Footer Widget
- Admin menu disable new/delete page
- How to turn post into pages and via versa?
- How do I get my page “About” to show up on my WordPress site?
- Featured Image not displaying in a page
- Using wp_list_pages to create 2 lists of pages and include and exclude some of them depending on their category
- Pulling posts tagged with similar title name
- Decouple page name from page title
- simple category search form returns full text – but I need excerpts
- Naming custom page templates
- How can I use Page editor for two separate templates?
- Sort the data in WordPress using get-page-by-title
- Order pages by date
- In WP, Google map error initMap is not a function [closed]
- Fresh WordPress installation not able to simply show page content