Rename fact slider variables for clarity
authorLaury GvR <laury@gaslightmedia.com>
Wed, 6 Jun 2018 16:55:09 +0000 (12:55 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 6 Jun 2018 16:55:09 +0000 (12:55 -0400)
parts/facts-slider.php

index 5fbbf2d..e014d74 100644 (file)
                                     
                                     while ($facts_loop->have_posts()) {
                                         $facts_loop->the_post();
-                                        $post_id = get_the_ID();
-                                        $post_content = get_the_content($post_id);
+                                        $fact_id = get_the_ID();
+                                        $fact_content = get_the_content($fact_id);
 
                                         echo '<li class="facts-slide">';
-                                        echo $post_content;
+                                        echo $fact_content;
                                         echo "</li>";
                                     }