Activity Stream
48,167 MEMBERS
62701 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Member
    Website's:
    RNBxBeatz.com Storedpics.com

    Default How to put ADHitz Ads between wordpress posts?

    Hi,

    I am trying to put ADHitz ads between my wordpress posts, i have googled and only could find ways to put google ads.

    Could you help me?

    Thanks!
    RNBxBeatz Reviewed by RNBxBeatz on . How to put ADHitz Ads between wordpress posts? Hi, I am trying to put ADHitz ads between my wordpress posts, i have googled and only could find ways to put google ads. Could you help me? Thanks! Rating: 5


  2.   Sponsored Links

  3.     
    #2
    Member
    http://www.lancelhoff.com/adding-ads...between-posts/

    If you google you might have found this already. The procedure is the same, you need to edit the wordpress loop, add a counter, and add an IF statement that output your ads codes if the post is the number you specified.

  4.     
    #3
    Member
    Website's:
    RNBxBeatz.com Storedpics.com
    Quote Originally Posted by iniuria View Post
    http://www.lancelhoff.com/adding-ads...between-posts/

    If you google you might have found this already. The procedure is the same, you need to edit the wordpress loop, add a counter, and add an IF statement that output your ads codes if the post is the number you specified.
    Yes i have found that, but i am unable to locate:
    Code: 
    <?php if (have_posts()) : ?>
    in the index.php file.


  5.     
    #4
    Member
    What theme are you using? The loop can start without that IF, but it is often added to avoid errors. Are you able to locate the start of your loop? If so paste a snippet of that code and we'll help you adding the codes.

    Edit: A proper loop should be like this:

    Code: 
     <?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
        
        <div id="post"> 
           <div id="post-title">
        <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1><br />
       <span class="sub"><?php the_time('j F, Y'); ?> <span class="grey">| Posted By: </span><?php the_author_posts_link(); ?></span>
           </div>
           <div id="entry">
              <?php the_content('<span class="readmore">.:Read More:.</span>'); ?>
           </div><!--close entry-->
           <p class="postmetadata">
    Posted in <?php the_category(', ') ?> 
    <strong>|</strong>
    <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  
    <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><br/><br/><?php the_tags('Tags:', ', '); ?></p>
         </div><!--close post-->
    
           <?php endwhile; else: ?>
        
        <h2>Woops...</h2>
        
        <p>Sorry, no posts were found.</p>
        
        <?php endif; ?>

  6.     
    #5
    Member
    Website's:
    RNBxBeatz.com Storedpics.com
    Quote Originally Posted by iniuria View Post
    What theme are you using? The loop can start without that IF, but it is often added to avoid errors. Are you able to locate the start of your loop? If so paste a snippet of that code and we'll help you adding the codes.

    Edit: A proper loop should be like this:

    Code: 
     <?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
        
        <div id="post"> 
           <div id="post-title">
        <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1><br />
       <span class="sub"><?php the_time('j F, Y'); ?> <span class="grey">| Posted By: </span><?php the_author_posts_link(); ?></span>
           </div>
           <div id="entry">
              <?php the_content('<span class="readmore">.:Read More:.</span>'); ?>
           </div><!--close entry-->
           <p class="postmetadata">
    Posted in <?php the_category(', ') ?> 
    <strong>|</strong>
    <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  
    <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><br/><br/><?php the_tags('Tags:', ', '); ?></p>
         </div><!--close post-->
    
           <?php endwhile; else: ?>
        
        <h2>Woops...</h2>
        
        <p>Sorry, no posts were found.</p>
        
        <?php endif; ?>
    I am using the theme 'Fast Blog' from themeforest. There is a loop.php file.

    The Loop.php file: http://paste2.org/p/1378974
    The index.php file: http://paste2.org/p/1378975


  7.     
    #6
    Member
    Website's:
    animeout.com mangaout.com scenator.com
    just download the post layout plugin and try it....

  8.     
    #7
    Member
    Website's:
    RNBxBeatz.com Storedpics.com
    Quote Originally Posted by kenshin View Post
    just download the post layout plugin and try it....
    Have tried but that plugin does not work


  9.     
    #8
    Banned
    Website's:
    google.com
    recommended i also used this plugin, very easy to add ads in middle of post
    http://wordpress.org/extend/plugins/wp-insert/

    regards
    pioneer

  10.     
    #9
    Member
    Website's:
    RNBxBeatz.com Storedpics.com
    Quote Originally Posted by pioneer_fawad View Post
    recommended i also used this plugin, very easy to add ads in middle of post
    http://wordpress.org/extend/plugins/wp-insert/

    regards
    pioneer
    That plugin i used for ads in between one post. What i am looking for is placing ads in between serveral post.
    ie.
    Post 1
    Post 2
    Advertisement
    Post 3
    Post 4

    and so on.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. adhitz payout help
    By tut2tut in forum General Discussion
    Replies: 4
    Last Post: 20th May 2012, 06:38 PM
  2. Help with Adhitz
    By tut2tut in forum Webmaster Discussion
    Replies: 2
    Last Post: 23rd Feb 2012, 01:52 PM
  3. Yieldads, CMP.biz or AdHitz? Which one is the best?
    By Darlos in forum Webmasters, Money Making
    Replies: 4
    Last Post: 2nd Jan 2012, 10:05 AM
  4. Wordpress Posts To FB Fan Page?
    By Mulana in forum Webmaster Discussion
    Replies: 11
    Last Post: 24th Jun 2011, 07:04 PM
  5. Wordpress posts using RSS?
    By starme in forum Wordpress
    Replies: 0
    Last Post: 10th May 2011, 08:57 PM

Tags for this Thread

BE SOCIAL