?> <?php do_action('graphene_page_footer'); ?> </div> </div> </div> <?php } ?> <?php /* For printing: the permalink */ if ($graphene_settings['print_css']) { echo graphene_print_only_text('<span class="printonly url"><strong>' . __('Permanent link to this article:', 'graphene') . ' </strong><span>' . get_permalink() . '</span></span>'); } ?> <?php /** * Display Adsense advertising * See graphene_adsense() function in functions.php */ graphene_adsense(); ?> <?php /* List the child pages */ get_template_part('loop', 'children'); ?>
function important_block_shortcode_handler($atts, $content = NULL, $code = '') { return '<div class="important_block message-block">' . graphene_print_only_text('<strong>Important!</strong>') . graphene_first_p(do_shortcode($content)) . '</div>'; }