Skip to content

Commit 13d5e18

Browse files
authored
Merge pull request #97 from themegrill/update/footer-credentials
Update/footer credentials
2 parents e79937a + ccc37d7 commit 13d5e18

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

footer.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,25 @@
1515
<div id="bottom-footer" class="clearfix">
1616
<div class="tg-container">
1717
<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 &copy; %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>' ); ?>
2121
</div>
2222
<?php
2323
$logos = array();
2424
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 );
2828
}
2929
}
30-
$totallogo = count($logos);
31-
if($totallogo > 0){ ?>
30+
$totallogo = count( $logos );
31+
if ( $totallogo > 0 ) {
32+
?>
3233
<div class="payment-partner-wrapper">
3334
<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>
3637
<?php } ?>
3738
</ul>
3839
</div>

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ If you want the theme to be translated into your language, feel free to contribu
7575
/**********************************************************/
7676

7777
== Changelog ==
78+
= TBD =
79+
* Tweak - Update footer credit link with `rel="nofollow"` attributes.
80+
7881
= Version 1.5.1 - 2020-09-22 =
7982
* Fix - Design issue of spacing while latest posts.
8083
* Fix - Link in slider not working on certain devices in Chrome.

0 commit comments

Comments
 (0)