Changing the funds anchors to LI in a UL
authorLaury GvR <laury@gaslightmedia.com>
Fri, 9 Jun 2017 19:58:21 +0000 (15:58 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 9 Jun 2017 19:58:21 +0000 (15:58 -0400)
lib/funds.php

index 8d3edc1..9b1e82b 100644 (file)
@@ -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>';
      }
     }