Return to Snippet

Revision: 35414
at November 9, 2010 23:21 by mommygeekology


Updated Code
function add_notice() {
if is_single() { >?
<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>
<?php }
}
add_action('headway_after_post', 'add_notice');

Revision: 35413
at November 8, 2010 00:22 by mommygeekology


Initial Code
function add_notice() {
if is_single() {
echo'<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>';
}
}
add_action('headway_after_post', 'add_notice');

Initial URL
rentageekmom.com

Initial Description
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.

Initial Title
Headway Theme add_notice function for single post pages

Initial Tags

                                

Initial Language
PHP