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
- 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?
- 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 do I turn comments off for pages, but not posts?
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- Check to see if page exists problems
- 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
- Get page by its ID and display it on another one
- Get all pages that are published
- Add a predefined page to site
- creating and styling a within a page
- What are trackbacks?
- How to enumerate a list of posts?
- Missing ‘Page Attributes’ in page edit
- 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
- Updated WordPress, now getting errors on site
- Edit Parent page drop menu when creating a page
- Get parent of current page
- How to list a page tree?
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Exclude pages by menu order
- Change page name in admin list
- Remove_filter (‘the_content’, ‘wpautop’) only pages
- Weebly Migration to WordPress [closed]
- Need to create a custom page on a website
- How To Render Shortcode In AJAX Response?
- Do I have to widgetize my pages?
- Page templates in subdirectories and auto generator
- Get rid of “comment” field on non-blog pages [duplicate]
- Password Protect Pages Not Working
- Can I connect a page to a taxonomy?
- How to control display of page lists on sidebar that doesn’t have childrens
- wp_nav_menu: output featured image of each page listing
- Is there a template tag/function for getting the URL (or slug or name or ID) of the blog page when using a “static” front page
- Problems in creating a static site with WordPress
- Creating new page/tab in groups section not working! [closed]
- Change displayed “page name” to distinguish multiple pages with the same title
- add title to widgets of wordpress
- Custom user tables not working after migration
- remove “Edit” from select pages
- How to transfer a site to hosting?
- Add custom action to the page listing screen
- How can a .css file be applied to a virtual page?
- WordPress blog posts template bug [closed]
- Checkboxes to automatically create pages when I activate a theme
- Is it possible to embedd this web app to my website [duplicate]
- Using external DB within wordpress
- Cannot use old slug – it just 301s to site home page
- Display inner pages like posts.[Like how post excerpt works]
- include exception inside theme for empty widget area
- My pages disappeared from the list
- Pre-populating new Page creation with shortcodes
- Issue in If else condition [closed]
- How to display time when page is created and edited
- Loading internal page
- Firing page_publish where page is child page
- Add text to the bottom of particular pages
- Access wordpress pages using a self signed shared ssl
- Page loads all pages of the image gallery with pagination
- Group Pages based on Parent in Admin Area
- Google indexed pages for one page site
- How to exclude page in pages module
- get id custom tables on current page
- static page with buton that opens collect email form
- Parent for a single (single.php)
- Multiple WordPress Pages
- How to create an user defined page?
- How can one get page by pagename if it is a child page?
- Archive with specific keyword by category sorted by date
- How to make a conditional statement that checks if the page is the child of a certain page?
- Is it possible to keep the page title from actually appearing at the top of the page?
- Missing page on wordpress “Pages” dashboard [closed]
- custom css in one page
- Why is a page shown with ‘hidden’ next to the name in the list of pages if the page is set to public?