I tell you, I have a particular situation:
1) I have a CPT in WordPress called projects
2) I have a rewrite of the CPT to have it in 2 languages
'projects' => array(
'es' => array(
'has_archive' => true,
'rewrite' => array(
'slug' => 'proyectos',
),
),
'en' => array(
'has_archive' => true,
'rewrite' => array(
'slug' => 'projects',
),
),
),
3) Create a page called "Projects" and of course you have problems with the URL generated by siteweb.com/projects if you disable 'has_archive' = > false
4) I am using the archive-projects.php file to customize the template of the "projects" page but it is not working and the ACF fields are not printed.
Any idea or suggestion to be able to have the rewriting of the CPT active in Spanish and English, have the ACF fields and that this information be displayed correctly on the "Projects" page?
Thank you!