Manual insertion: Shortcode or PHP function call not working
-
Hi,
First of all I wish to congratulate you for the fantastic plugin you created. I’ve been using it for more than three years now, and i’m really happy with all its features.
I’m contacting today you because I don’t seem to be able to use your plugin’s shortcode feature or PHP function call (manual insertion) with my theme’s ad space. This ad space accepts html, and I’m able to use any kind of adcode ranging from Adsense to simple image html. however, Ad Inserter’s shortcode just features a shortcode in the header ad code space when the page has loaded, and the PHP function does not display anything.
I read all your documentations, but nothing works. Here is an example of a webpage where I’m trying to implement your shortcode (the ad space is in the header, on the right hand side opposite to the logo): https://www.fleamarketinsiders.com/brick-lane-market/
I also tried a workaround, by using “custom hooks”, since Ad Inserter offers this solution: https://adinserter.pro/documentation#custom-hooks
I read the documentation in the above link, and I looked for the name that is used in the do_action () WordPress function of my theme, but I think I did not properly identify it. Is it “header-ad”? I tried this action as a custom hook, but it did not work. The ad does not appear either.
I’d really appreciated any guidance you could provide, so I can use the ad space in the header (right hand side opposite to the logo) with Ad Inserter.
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Manual insertion: Shortcode or PHP function call not working’ is closed to new replies.