• I need to add this peace of code to the page.php page so It will be added to every new post that is added to the blog.
    <?php advman_ad('Blogad'); ?>

    Is this possible and how would I do it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you try?

    Thread Starter rdkurth

    (@rdkurth)

    No I can’t figure out where to put it

    Thread Starter rdkurth

    (@rdkurth)

    I have now tried to add this code in to the following area of the page.php but is does not work

    <?php endif; ?>
    <div class="art-PostContent">
    <!--ADVMAN -->
    <?php advman_ad("Blogad"); ?>  <------added code hear
    <!--ADVMAN -->
    <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
    </div>
    <div class="cleared"></div>
    Thread Starter rdkurth

    (@rdkurth)

    This worked
    added to page.php index.php and archive.php

    <?php endif; ?>
    <div class="art-PostContent">
    <!--ADVMAN -->
    <?php advman_ad("Blogad"); ?>  <------added code hear
    <!--ADVMAN -->
    <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
    </div>
    <div class="cleared"></div>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add text to all blog post automatically’ is closed to new replies.