trying to get a jump on the interior
authorIan Weller <ian@gaslightmedia.com>
Thu, 10 Aug 2017 21:44:04 +0000 (17:44 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 10 Aug 2017 21:44:04 +0000 (17:44 -0400)
I am trying to get a start on the interior page.  I think I'm screwing
it up.

sections/interior-page.php

index f8c6225..151e5cf 100644 (file)
@@ -1,13 +1,30 @@
 <main class="page-inside">
     <div id="content-wrapper">
         <div class="row">
-            <?php if(function_exists('bcn_display') && !is_front_page())
-            {
-                echo "<div class=\"breadcrumbs small-12 columns\">";
-                bcn_display();
-                echo "</div>";
-            }
-            ?>
+            <div class="small-12 medium-11 columns">
+                <div class="row">
+                    <?php if(!is_front_page()) {
+                        echo "<div class=\"small-12 medium-8 columns\">";
+                        echo "<a><img src='get_template_directory_uri();?>/assets/ad-placement.png'></a>"
+                        if(function_exists('bcn_display') && !is_front_page())
+                        {
+                            echo "<div class=\"breadcrumbs small-12 columns\">";
+                            bcn_display();
+                            echo "</div>";
+                        }
+                        get_template_part('parts/main-content');
+                        echo "</div>";
+                        echo "<div class=\"small-12 medium-4 columns\">";
+                        echo "<a><img src='get_template_directory_uri();?>/assets/vertical-add.jpg'></a>";
+                        echo "</div>";
+                    }
+                    ?>
+                    <?php 
+                    ?>
+                </div>
+                    
+            </div>
+            
         </div>
         <div class="row">
             <?php if(!is_front_page()) {