Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget title addition #230

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion views/widget-front.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class_exists( 'Statify' ) || exit;
<?php echo (int) $target['count']; ?>
</td>
<td class="t">
<a href="<?php echo esc_url( home_url( $target['url'] ) ); ?>" target="_blank" rel="noopener noreferrer">
<a href="<?php echo esc_url( home_url( $target['url'] ) ); ?>" target="_blank" rel="noopener noreferrer" title="<?php echo 0 == url_to_postid( $target['url'] ) ? esc_attr( get_bloginfo( 'name' ) ) : esc_attr( get_the_title( url_to_postid( $target['url'] ) ) ); ?>">
<?php echo esc_html( $target['url'] ); ?>
</a>
</td>
Expand Down