Home › Forums › Add-ons › Flexible Content Field › Flexible Content to Build 404? › Reply To: Flexible Content to Build 404?
That would be a simple way to do it yes but you may have issues if someone modifies the post title.
A safer way to do this would be to create an option page or if you have a theme options page to add a field there that allows the user to select a page to use as the 404 page. Then check this value in the 404 template and use that page if set.
If you really want to get fancy, check this out.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.