Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Remove old copyright links
- add_action( 'init' , 'mh_remove_copyright_link' , 15 );
- function mh_remove_copyright_link() {
- // remove_action( 'cryout_footer_hook' , 'mantra_copyright' , 11) ;
- remove_action( 'cryout_footer_hook' , 'mantra_site_info' , 12) ;
- // remove_action( 'cryout_footer_hook' , 'mantra_footer_social' , 13) ;
- }
- // Add my own copyright text
- add_action( 'cryout_footer_hook' , 'mh_footer_info' , 30 );
- function mh_footer_info() {
- $output = '<div style="text-align:center;clear:both;padding-top:4px;" >';
- $output .= '<a href="http://www.example.com/">Some AMAZING LINKS FROM MARS goes here</a> | <a href="' . get_bloginfo( 'wpurl' ) . '">' . get_bloginfo( 'name' ) . '</a>';
- $output .= '</div><!-- #site-info -->';
- echo do_shortcode( $output );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement