Enhancements were implemented to support hierarchical documentation. Local CMS now respects parent ID and order attributes of content items, and content can be categories as 'blog' or 'documentation'. Changes were also made to the wordpress integration supporting these new categorizations. Introduced working with nested documentation pages.
42 lines
843 B
PHP
42 lines
843 B
PHP
<?php
|
|
|
|
<!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
|
|
<body <?php body_class(); ?>>
|
|
|
|
<div class="wrap">
|
|
<div id="primary" class="content-area">
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php
|
|
if (have_posts()) :
|
|
/* Start the Loop */
|
|
while (have_posts()) : the_post();
|
|
?>
|
|
<div>
|
|
<a href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
|
</div>
|
|
<?php
|
|
endwhile;
|
|
/* End the Loop */
|
|
else :
|
|
// Nothing
|
|
endif;
|
|
?>
|
|
|
|
</main><!-- #main -->
|
|
</div><!-- #primary -->
|
|
</div><!-- .wrap -->
|
|
|
|
<?php get_footer(); ?>
|
|
<?php wp_footer(); ?>
|
|
|
|
</body>
|
|
</html>
|