-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from wordplate/develop
WordPlate 5.0
- Loading branch information
Showing
13 changed files
with
182 additions
and
206 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 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,18 +1,37 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* Front to the WordPress application. This file doesn't do anything, but loads | ||
* wp-blog-header.php which does and tells WordPress to load the theme. | ||
* This file is part of WordPlate. | ||
* | ||
* (c) Vincent Klaiber <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* Tells WordPress to load the WordPress theme and output it. | ||
* | ||
* @var bool | ||
*/ | ||
|-------------------------------------------------------------------------- | ||
| Theming WordPress | ||
|-------------------------------------------------------------------------- | ||
| | ||
| We need to define and tell WordPress to load the WordPress theme and | ||
| output it to the client's browser. | ||
| | ||
*/ | ||
|
||
define('WP_USE_THEMES', true); | ||
|
||
/* Loads the WordPress Environment and Template */ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Booting WordPress | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This is the front to the WordPress application. This file doesn't do | ||
| anything, but loads wp-blog-header.php which does and tells WordPress to | ||
| load the theme. | ||
| | ||
*/ | ||
|
||
require __DIR__.'/wordpress/wp-blog-header.php'; |
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,3 +1,3 @@ | ||
<?php | ||
|
||
// Silence is golden. | ||
// Good work getting this far, future starter! |
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,18 +1,19 @@ | ||
<?php get_header(); ?> | ||
|
||
<main role="main"> | ||
<?php if (have_posts()): while (have_posts()): the_post(); ?> | ||
<article> | ||
<header> | ||
<h1><?php the_title(); ?></h1> | ||
</header> | ||
<?php the_content(); ?> | ||
</article> | ||
<?php endwhile; else: ?> | ||
<article> | ||
<p>Nothing to see.</p> | ||
</article> | ||
<?php endif; ?> | ||
<?php if (have_posts()): while (have_posts()): the_post(); ?> | ||
<article> | ||
<header> | ||
<h1><?php the_title(); ?></h1> | ||
</header> | ||
|
||
<?php the_content(); ?> | ||
</article> | ||
<?php endwhile; else: ?> | ||
<article> | ||
<p>Nothing to see.</p> | ||
</article> | ||
<?php endif; ?> | ||
</main> | ||
|
||
<?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
Oops, something went wrong.