- This topic has 9 replies, 3 voices, and was last updated 10 months, 3 weeks ago by Leo.
November 9, 2019 at 10:30 pm #1058276Jahid
Is there any way to add particular text/sentences right before each featured image.
Want to display the text automatically on each post. Something like this one: https://ibb.co/2nzYbpj
ThanksNovember 10, 2019 at 3:54 am #1058383DavidStaffCustomer Support
you can use the Hook Element:
before_contenthook is the one you want.November 10, 2019 at 10:10 am #1058785Jahid
Thank you so much!
That’s what I wanted.
One more question please. I used this following code in “before_content” hook.
<center><font size="2"><p>This site is reader-supported. When you buy through links on our site, we may earn an affiliate commission. <span style="color:#3a3a3a;"<a href="https://demosite/disclaimer/">Learn more...</a></span></p></font></center>
But now I see “learn more…” isn’t hyperlinked. What am I missing? :/
ThanksNovember 10, 2019 at 10:13 am #1058792LeoStaffCustomer SupportNovember 10, 2019 at 10:22 am #1058807Jahid
Just tried but it’s still not fixed.November 10, 2019 at 10:26 am #1058815LeoStaffCustomer SupportNovember 10, 2019 at 10:34 am #1058823Jahid
I want to display that static text on Post only. You can check any Post on my site to see the live issue.
Unfortunately I am very new to coding. Couldn’t solve the issue using HTML checker.
I would really appreciate if you look up at my page and share the exact code that I should add to the Hook Element.
ThanksNovember 10, 2019 at 10:54 am #1058833LeoStaffCustomer SupportNovember 10, 2019 at 11:38 am #1058849Jahid
Thanks you so much, Leo!
It’s perfect now.
BTW, is it possible to change the hyperlinked color here? I don’t want to use the default hyperlink color here.November 10, 2019 at 11:47 am #1058853
- You must be logged in to reply to this topic.