Skip to content

Commit 303b8ee

Browse files
Move description inside link, version bump to 1.0.4
1 parent 03867fb commit 303b8ee

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

assets/template.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@
4646
<ul class="<?php echo esc_attr( implode( ' ', $list_classes ) ); ?>">
4747
<?php foreach ( $items as $item ) : ?>
4848
<li>
49-
<a href="<?php echo esc_url( $item['href'] ); ?>" target="<?php echo esc_attr( $item['target'] ); ?>"><?php echo esc_html( $item['title'] ); ?></a>
49+
<a href="<?php echo esc_url( $item['href'] ); ?>" target="<?php echo esc_attr( $item['target'] ); ?>">
50+
<?php echo esc_html( $item['title'] ); ?>
5051

51-
<?php if ( ! empty( $item['description'] ) ) : ?>
52-
<span class="description"><?php echo esc_html( $item['description'] ); ?></span>
53-
<?php endif; ?>
52+
<?php if ( ! empty( $item['description'] ) ) : ?>
53+
<span class="description"><?php echo esc_html( $item['description'] ); ?></span>
54+
<?php endif; ?>
55+
</a>
5456
</li>
5557
<?php endforeach; ?>
5658
</ul>

hogan-linklist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/dekodeinteraktiv/hogan-linklist
55
* GitHub Plugin URI: https://github.com/dekodeinteraktiv/hogan-linklist
66
* Description: Link List Module for Hogan
7-
* Version: 1.0.3
7+
* Version: 1.0.4
88
* Author: Dekode
99
* Author URI: https://dekode.no
1010
* License: GPL-3.0

0 commit comments

Comments
 (0)