I have a CPT (using ACF fields), that have a title, some other taxonomies, and a pdf attached file (it’s also an attachment file because I need that Elasticpress search in it).
When I do a search, when a word is in the CPT title and in the PDF content, I have 2 results in my list. But it is the same CPT (the CPT and it’s pdf). I only need to retrieve the CPT title (that contains the pdf file). So I’m lost…..
The First result is the attachment match and the third is the Parent post that contains the attachment.
Thanks if someone can help…!
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com