AdvancedCustomFields / AdvancedCustomFields/acf
Date & Editor (WYSIWYG) not displaying on frontend
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hey i’m trying to implement two date-fields and a editor field outside the wp-admin inclosure.
The fields rendered, but the functions from the editor and date fields are nowhere to been seen.
There are no javascript errors on load, but when I click on the “Visual”-btn, i get this error “Uncaught TypeError: Cannot read property ‘onpageload’ of undefined”.
only solution I have found to get this working is downgrading to ACF pro v5.6 from v5.9, but i dont see this as a viable solution for the future..
Im using WP 5.5.3, theme Astra, if this help in any wway
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the frontend date-field and WYSIWYG behavior with ACF Pro 5.9, WordPress 5.5.3, and the Astra theme, then inspect the reported onpageload error when clicking the Visual button. Compare the behavior with ACF Pro 5.6; done means both fields work outside wp-admin without downgrading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100