help with footer credits
-
i want to display footer saying customized by Team eldiablo and developed by themes&co
add_filter( 'tc_credits_display', 'my_credits_display' ); function my_credits_display($html) { $logo_src = esc_url ( tc__f( '__get_option' , 'tc_logo_upload') ) ; if ( empty($logo_src) ) return $html; ?> <div class="span4 credits"> <?php $credits = sprintf( '<p> ·Team Eldiablo ? %1$s <a href="%2$s" title="%3$s" rel="bookmark">%4$s</a> · Designed by %5$s ·</p>', esc_attr( date( 'Y' ) ), esc_url( home_url() ), esc_attr(get_bloginfo()), '<img src="'.$logo_src.'" alt="'.esc_attr(get_bloginfo()).'">', '<a href="'.TC_WEBSITE.'">Themes & Co</a>' ); echo $credits; ?> </div> <?php }
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘help with footer credits’ is closed to new replies.