This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sooo i have created an everblox page template to allow regular pages …
…to be created as plugins cant use the everblox system so things break, so rather than everyone fighting, its now the wordpress way allowing plugins like woocommerce to play nicely. therefore deleted unnessesary page.php then freed up index.php to be the as intended fallback template if no other templates are found. best look at the wp hierarchy for more on this. hidden block development ACF section from page views now so only see in the ACF admin. removed some legacy blocks scss. created home.php as its the native home the blog. up next is to fix archive.php and single.php
- Loading branch information
1 parent
718b607
commit 9518154
Showing
12 changed files
with
67 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
// this template is for the blog posts index | ||
|
||
get_header(); | ||
|
||
include(get_template_directory().'/templates/blog/index.php'); | ||
|
||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
<?php get_header(); | ||
<?php | ||
|
||
include(locate_template('archive.php')); | ||
// this is the fallback template file if no other templates in the hierarchy are found | ||
|
||
get_footer(); | ||
get_header(); | ||
|
||
?> | ||
|
||
<section class="section"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<?php if ( have_posts() ) : ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php the_content(); ?> | ||
<?php endwhile; ?> | ||
<?php endif; ?> | ||
</div> | ||
</div><!-- end of row --> | ||
</div><!-- end of wrapper --> | ||
</section><!-- end of section --> | ||
|
||
<?php get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/* | ||
Template Name: Page Blocks | ||
Template Name: Everblox | ||
*/ | ||
|
||
get_header(); | ||
|