Archived topic
Adding an Affiliate Message with the after_entry_header hook
3 replies · Started by Zoltan on August 6, 2022
Hi,
I have added an affiliate message following the very helpful video made by Leo:
https://www.youtube.com/watch?v=txJcxZoheoA
Everything Leo does in the video I was able to replicate, except the final step he did at 4 min 35 sec.
He was changing the priority from 10 to 15 to move the affiliate message under the featured image, which is what I would like to replicate.
I was unable to move the affiliate text under the featured image on my site. I tried setting different priorities starting from 10 (default), 15, 20, 25, and 30, but it did not move the text.
Can you please advise?
Thanks,
Zoltan
Hi there,
Can you make sure the featured image is added using the option and not a block?
https://docs.generatepress.com/article/adding-featured-images/
Let me know :)
Hi Leo,
It's working well now, thank you! :)
No problem :)