Posted By

mommygeekology on 11/08/10


Tagged

headwaytheme


Versions (?)

Headway Theme add_notice function for single post pages


 / Published in: PHP
 

URL: rentageekmom.com

When placed in the custom_functions.php file, this adds a notice after every post on the Single Post template only. Style the box with CSS.

  1. function add_notice() {
  2. if is_single() { >?
  3. <p class="notice">< Want to know how to get greater results with your marketing? We have marketing training courses, marketing reviews and solutions to help you. <a href="http://www.m4bmarketing.com/online-marketing-courses-marketing-revi..."><strong>Learn More About Greater Results</strong></a></p>
  4. <?php }
  5. }
  6. add_action('headway_after_post', 'add_notice');

Report this snippet  

You need to login to post a comment.