• Resolved caribouweb

    (@caribouweb)


     

    Hi,

    I’m currently working with WordPress 6.5 and using a Full Site Editor (FSE) theme. I need to dynamically change the template of a page based on the value of an Advanced Custom Fields (ACF) custom field. Specifically, if the custom field acf_custom_1 is true, I want the page to use a custom “Page with Sidebar” template instead of the default “Pages” template.

    With “traditional” themes, I could handle this by filtering the template include, but I’m unsure how to approach this within the context of an FSE theme.

Viewing 1 replies (of 1 total)
  • Hi @caribouweb

    ACF Support Team here. This forum is generally used by ACF users to help each other out. 

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ?support form and we can look into it further.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change template based on ACF field in WordPress 6.5 with FSE theme?’ is closed to new replies.