I am trying to: integrate layouts with sage theme
I visited this URL: hidden link
Is there any help docs on getting layouts to integrate with this theme?
for example the index.php loop:
<?php if (!have_posts()) : ?>
<div class="alert alert-warning">
<?php _e('Sorry, no results were found.', 'sage'); ?>
</div>
<?php get_search_form(); ?>
<?php endif; ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/content', get_post_type() != 'post' ? get_post_type() : get_post_format()); ?>
<?php endwhile; ?>
page.php
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'page'); ?>
<?php endwhile; ?>
template/content.php
<article <?php post_class(); ?>>
<header>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php get_template_part('templates/entry-meta'); ?>
</header>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div>
</article>
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
Unfortunately we do not have any documentation that is especially specifically related to sage theme. You may refer to our layouts theme integration guide that may help you:
=> https://toolset.com/documentation/user-guides/layouts-theme-integration/
I just found one related support ticket even that may give you at least some idea:
=> https://toolset.com/forums/topic/layouts-not-recognising-theme-integration/