I used another existing CPT, volumen. I added it to the whitelist. I used exactly the same code than versiculo in single-volumen.php. I rebuild the index. No links in any volumen, but the links in the versiculo remains. I changed the template to single.php. Same situation.
So, I have a CPT that works, versiculo, and two CPT that doesn’t work, volumen and capitulo. Capitulo is a complex code, with relationships, so I’m currently focusing in volumen and versiculo.
I went to ACF to compare both CPT’s. Same features in the advanced section of the types. I can’t see what’s the difference.
This are my testing URLs:
versiculo
https://biblicomentarios.com/versiculo/mateo-28_12/
volumen
https://biblicomentarios.com/volumen/antiguo-testamento/
This post, in volumen, would must display several links, because the posts (Abraham, Moises, etc.) has the corresponding keywords.