walid Posted December 1, 2022 Share Posted December 1, 2022 I am using wordpress an I am trying to dynamically add an ad to my content. I want the ad to show before the third h2 tag. How can I do this in php? I need something like: if third h2 tag,then echo "ads" before that h2 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.