linking the custom field support link
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 10 May 2017 20:24:45 +0000 (16:24 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 10 May 2017 20:24:45 +0000 (16:24 -0400)
the support button under the front page custom fields section didn't have a permalink, added
the id to the support page

sections/front-page.php
sections/interior-page.php

index 0e53541..dfd93b1 100644 (file)
@@ -84,7 +84,7 @@
                             <div class="row">
                                 <div class="small-12 columns text-center donation">
                                     <?php the_field('front_content');?>
-                                    <a href="#" class="support"></a>
+                                    <a href="<?php echo get_permalink(76); ?>" class="support"></a>
                                 </div>
                             </div>
                     </main>
\ No newline at end of file
index 62a88dc..8f19923 100644 (file)
@@ -18,7 +18,7 @@
                             <?php $index_template = false; ?>
                                 <div id="fullwidth-template" class="row large-collapse">
                                     <?php get_template_part('parts/main-content');?>
-                                </div>                            
+                                </div>
                             <?php } else { ?>
                             <div class="row large-collapse">
                                 <?php get_template_part('parts/main-content');?>