I have the same issue, the acf get_field() function in footer returned null. Native WP function get_post_meta( get_the_ID(), ‘option_key’, true ) didn’t work to. But when I’ve noticed that get_the_ID() function in footer returned the wrong value because I forgot to reset query after custom WP_Query. So, reset custom WP_Query (wp_reset_query()) or hard code the page ID.
Related Posts:
- Putting footer content in a “page” – Doing it wrong?
- Why doesnt ONE of my links in the footer work properly? [closed]
- Google Analytics tracking code on just one page?
- How to create a page and display only the posts with a specific custom field value?
- Print page content with formatting when doing custom SQL query
- Embedding Password Protected (Private) “Blog Posts” BLOCK that shows Images and Excerpts on Password Protected Page (not the home page)
- Loading ACF Field content on a 404.php page
- Cannot Create A Page or Post in WordPress 5.2.1
- Add homepage to the list of pages in the Footer Widget
- Footer doesn’t display in page.php
- Why Does get_page_by_path Return The Sample Post?
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Custom SQL Query for WordPress page
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- How restrict page for users logged? [closed]
- Only allow new subpages to be created
- Hide Visibility Option From WordPress Publish Metabox
- How do I turn comments off for pages, but not posts?
- Custom protected password page with ACF
- How to make nested page structure?
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- How to add meta boxes to Pages
- Form action redirect to the same page
- How do I create a separate page for each author?
- Overriding the currently selected menu item
- WordPress pages with hierarchy
- How to incorporate Documentation into wordpress?
- Missing parent page attribute
- Hiding Page by Title from Editing
- Two Search pages, One search form
- Get page by its ID and display it on another one
- Add a predefined page to site
- creating and styling a within a page
- How do i change page template in bulk?
- What are trackbacks?
- How to enumerate a list of posts?
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- category slug and page slug same
- New user Registration data imported into Page
- Get the ID of the direct parent page
- External stylesheet per page
- How to add prefix slug in static wordpress page?
- how to avoid the character conversion of WordPress pages?
- access control for assets in a website powered by wordpress
- How to make a page unsearchable in blog search?
- Query specific Pages
- Phantom page can’t get rid of/can’t get at to change
- How to exclude authors from get_pages()
- Folder wordpress page redirect
- Dynamic page with comments
- How to rewrite a page url
- Manage content on multiple pages synchronysly?
- Display pages in alphabetical order
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- upgrade has caused page content to disappear
- Indenting within a blockquote
- Get ACF taxonomy term and sub-term lists ACF blocks
- Website jumps to top when scrolling down
- Can’t find the page that is using a slug
- Translate dashboard metabox
- How to set up page fields with gutenberg instead of ACF
- Revert a Draft page to its original version
- Create page template
- My edits are not saved
- Can I use the wordpress loop in pages?
- Add addtional page parameter before loading the page
- How to add a block to a category page?
- Get largest page id by title?
- How to insert current user ID in a shortcode?
- Make wordpress pages accessible for Woocommerce logged in users only
- How to show the view more on my display of pages shortcode
- Have subdirectory name act as $_GET or $_POST data
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Cannot add media to a page
- Creating multiple pages
- Create nonce in frontend page to edit profile
- How to make page navigation just below the content?
- Paginate Links not working
- How to remove title (home) from static page skeleton template
- How to get from sql query page id and retrieve it url and title
- Find Page Last Modified at Certain Date & Time
- Conditionally including JS based on whether ACF field is set [closed]
- Save search criteria per user and show on custom user page
- Add tags to long page that is broken up into subpages?
- page title showing twice [closed]
- How to add page category slug to base url
- Need pages with same names in multiple subdirectories
- How to use standalone Gutenberg (block editor) instance on any my own admin page in WordPress
- Slug of a child page is accessible with and without the parent slug in the URL