I want to use this hook to place link ad unit (size 428*15) just after posts’ titles appearing on single posts pages only. Do not want the ads to appear on other pages like home page, etc.
(i) How to do it. Do I just need to add the ad unit code into the big rectangular box appearing after : “This hook executes immediately after each post/page title within the loop.”
(ii) Do I need to check any of the two small boxes appearing below the big rectangular box. That is small boxes appearing adjacent to : (i) Execute Shortcodes on this hook? and (ii) Execute PHP on this hook?
Thanks & Regards………..
I am looking for the answer to this as well. Does anyone know how to add the hook so that the ad appears only on full post pages and not archive or home pages? My website is CornerstoneConfessions.com and I am looking to add a disclaimer between the title and content only on complete post pages. Thanks.
Thought it would work but it doesn’t stick. Tried several forms. Here is my current code…no results. Am I missing something?
<blockquote><p style="text-align: left;"><span style="font-size: 12px;">Disclaimer: This post may contain affiliate links. For more information on Cornerstone Confessions affiliates, please see my full <a href="http://cornerstoneconfessions.com/disclosure-policy">disclosure policy</a>.</span></p> </blockquote> <?php if (is_singular('post') )?>
Thanks for the help.
Please start a new topic. Your question is not related to the title of this topic. Thanks.
?! What do you mean this is not related to this topic? I want my disclaimer to appear on full post pages only just like Renu wanted her ad on full post pages only too. It’s the same hook. I am just trying to figure out the code to make it work.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.