projects
/
WP-Themes
/
phsacf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b563a5e
)
Changing the funds anchors to LI in a UL
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 9 Jun 2017 19:58:21 +0000
(15:58 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 9 Jun 2017 19:58:21 +0000
(15:58 -0400)
lib/funds.php
patch
|
blob
|
history
diff --git
a/lib/funds.php
b/lib/funds.php
index
8d3edc1
..
9b1e82b
100644
(file)
--- a/
lib/funds.php
+++ b/
lib/funds.php
@@
-127,10
+127,12
@@
function funds_shortcode($atts)
$loop = new WP_Query($args);
if($loop->have_posts()) {
echo '<h2>'.$custom_term->name.'</h2>';
-
+ echo '<ul>';
while($loop->have_posts()) : $loop->the_post();
- echo '<a href="'.get_permalink().'">'.get_the_title().'</a><br>';
+// echo '<a href="'.get_permalink().'">'.get_the_title().'</a><br>';
+ echo '<li>'.get_the_title().'</li><br>';
endwhile;
+ echo '</ul>';
}
}