initial commit, yay
This commit is contained in:
commit
88f688ad6d
49 changed files with 15475 additions and 0 deletions
31
index.php
Normal file
31
index.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* The default single page template.
|
||||
*
|
||||
* @author Freeshifter LLC
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace WP_Tailwind;
|
||||
|
||||
get_header(); ?>
|
||||
<div class="container mx-auto relative z-10 mb-16 lg:mb-32 flex flex-wrap items-start">
|
||||
<div class="w-full lg:w-4/6 lg:pr-10 mb-8">
|
||||
<?php
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
echo get_template_part( 'content-templates/content', 'article' );
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
<?php
|
||||
if ( is_active_sidebar( 'sidebar' ) ) : ?>
|
||||
<aside class="w-full lg:w-2/6 bg-white border-gray-400 border-2 p-8">
|
||||
<?php dynamic_sidebar( 'sidebar' ); ?>
|
||||
</aside>
|
||||
<?php
|
||||
endif; ?>
|
||||
</div>
|
||||
<?php
|
||||
get_footer();
|
Loading…
Add table
Add a link
Reference in a new issue