Skip Navigation

[Resolved] Still not know how to integrate Layouts with Genesis (Childtheme)

This support ticket is created 8 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Iris Maier 8 years, 6 months ago.

Assigned support staff: Shane.

Author
Posts
#290954

I am trying to: Integrate Layouts with Genesis

I visited this URL: https://toolset.com/forums/topic/id-like-to-understand-how-i-can-use-genesis-together-with-boostrap-and-layouts/

I created a new file in my Genesis Child theme directory, as suggested in the thread in the link above, but I do not know how this is being called, I suppose creating and placing this file in the child theme's folder alone is not enough... I also tried integrating the code into the functions.php in the child theme, but that did not work either.

#291169

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Iris,

As the instructions suggest in order to integrate layouts with your theme you need to create a new page template.

Create a new template called layouts-page.php and add this to it.

<?php
/**
* layouts-page.php (the Template for displaying all single posts)
*
*/
get_header(); ?>
  
<div id="primary" class="content-area">
  <div id="content" class="site-content" role="main">
    <?php
      the_ddlayout( 'default-layout' );
    ?>
  </div><!-- #content -->
</div><!-- #primary -->
  
<?php get_footer();

Whenever you go to create a page in wordpress ensure that you select this template as your page template.

This is essentially all you need to do for layouts to start working with your theme.

#291171

Ah, the penny has dropped, finally 🙂 Thanks!