Support

Account

Home Forums ACF PRO Renaming template and keep ACF data? Reply To: Renaming template and keep ACF data?

  • Hi @ndh611

    Thanks you for the clarification. ACF saves the field group settings in wp_posts table in the DB. So should you wish to do a DB query to update the template, this should work:

    UPDATE wp_posts SET post_content = REPLACE( post_content , 'page-a.php', 'page-awesome.php' ) WHERE post_type = 'acf-field-group'

    Give this a try and let me know if your issue gets resolved 🙂