Hello, I recently started wordpress blog and now all set to add google ads on my blog. Now, I am trying to add google codes in each post below title and above comment box. I did try to find out on google, all they say is to edit single.php which i edited but its pretty different in my case. So, I got confused. I am compltely noob of coding infact zero. I posted below my single.ph file. I would be grateful to someone who can guide me through. Thanks
Try this method: <?php get_header(); if (have_posts()) { while (have_posts()) { art_page_navi(); ?> google ads here <?php art_post(); ?> google ads here <?php comments_template(); } art_page_navi(); } else { art_not_found_msg(); } get_footer(); PHP:
Thanks.. but using this code ads are appearing above title where i want ads to be appeared below title i.e. in between title and post.. thanks so far....
Can you find and write the function art_post() here? I think it is in the functions.php file of the theme directory.