|
15 | 15 | <div id="bottom-footer" class="clearfix"> |
16 | 16 | <div class="tg-container"> |
17 | 17 | <div class="copy-right"> |
18 | | - <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'estore' ), 'eStore', '<a href="'.esc_url ( 'https://themegrill.com' ).'" rel="author">ThemeGrill</a>' ); ?> |
19 | | - <span class="sep"> | </span> |
20 | | - <?php printf( esc_html__( 'Proudly powered by %s.', 'estore' ), '<a href="'.esc_url ( 'https://wordpress.org/' ).'">WordPress</a>' ); ?> |
| 18 | + <?php printf( esc_html__( 'Copyright © %1$s %2$s. All rights reserved.', 'estore' ), date( 'Y' ), '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>' ); ?> |
| 19 | + <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'estore' ), '<a href="' . esc_url( 'https://themegrill.com/themes/estore/' ) . '" target="_blank" rel="nofollow">eStore</a>', 'ThemeGrill' ); ?> |
| 20 | + <?php printf( esc_html__( 'Powered by %s.', 'estore' ), '<a href="' . esc_url( 'https://wordpress.org/' ) . '" target="_blank" rel="nofollow">WordPress</a>' ); ?> |
21 | 21 | </div> |
22 | 22 | <?php |
23 | 23 | $logos = array(); |
24 | 24 | for ( $i = 1; $i < 5; $i++ ) { |
25 | | - $paymentlogo = get_theme_mod('estore_payment_logo'.$i); |
26 | | - if($paymentlogo) { |
27 | | - array_push($logos, $paymentlogo); |
| 25 | + $paymentlogo = get_theme_mod( 'estore_payment_logo' . $i ); |
| 26 | + if ( $paymentlogo ) { |
| 27 | + array_push( $logos, $paymentlogo ); |
28 | 28 | } |
29 | 29 | } |
30 | | - $totallogo = count($logos); |
31 | | - if($totallogo > 0){ ?> |
| 30 | + $totallogo = count( $logos ); |
| 31 | + if ( $totallogo > 0 ) { |
| 32 | + ?> |
32 | 33 | <div class="payment-partner-wrapper"> |
33 | 34 | <ul> |
34 | | - <?php for($j = 0; $j < $totallogo; $j++ ) { ?> |
35 | | - <li><img src="<?php echo esc_url($logos[$j])?>" /></li> |
| 35 | + <?php for ( $j = 0; $j < $totallogo; $j++ ) { ?> |
| 36 | + <li><img src="<?php echo esc_url( $logos[ $j ] ); ?>" /></li> |
36 | 37 | <?php } ?> |
37 | 38 | </ul> |
38 | 39 | </div> |
|
0 commit comments