Incorrect link to the post being sent to the index
-
Problem. The link of a custom post has a structure with custom taxonomies and is collected through the permalink plugin (that is, there is a separate field for the correct link), but when sending to the index, the link is indicated without taxonomies.
The problem is probably that the link is collected after the post is sent to the index.
How do I make a delay before sending a new post to the index? Or another solution to the problem, for example, a hook that will take a link from another field.
—Проблема. Ссылка кастомного поста имеют структуру с кастомными таксономиями и собираются через плагин пермалинк (то есть для правильной ссылке есть отдельное поле), но при отправке в индекс ссылка указана без таксономий.
Вероятно проблема в том что ссылка собирается после того как пост отправляется в индекс.
Как сделать задержку перед отправкой нового поста в индекс? Или другое решение проблемы, например хух который будет брать ссылку из другого поля.
- The topic ‘Incorrect link to the post being sent to the index’ is closed to new replies.