Skip Navigation

[Resolved] I'd like to understand how I can use Genesis together with Boostrap and Layouts.

This support ticket is created 8 years, 10 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 12 replies, has 3 voices.

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

Assisted by: Luo Yang.


I am trying to: understand if the Genesis Bootstrap theme (hidden link) or Genesis Sandbox (hidden link) have enough from Bootstrap to be used with Layouts with just the documentation found on this url: Or will I need to follow the steps from this user guide, which is quite hard for me to understand..:
It is just that I can not make up my mind about which framwork and childtheme to choose to start building with. I really like the Genesis framework though, so I am looking for a way to integrate the two of them...

I visited this URL:
hidden link
hidden link

I expected to see:

Instead, I got:


I suggest you try follow our document
To integrate Layouts with your custom theme file, if you need more assistance for it, please post a downloadable URL for the Genesis Bootstrap theme and Genesis framwork, I need test and debug it in my localhost, thanks


Thanks Luoy, I will give that a try and will come back if it doesn't work out! Do I need to start a new thread if it doesn't work that way?


You can create new thread or follow this thread if there is any problem, it is up to you.


I have been looking at the link you provided and also searched in the forum, but can't find how to replace the have_posts() loop with a call to the_ddlayouts(), because Genesis child themes do not have files like single.php or index.php. The framework does, but that doesn't contain any loops and I am not supposed to change anything there.

Here you can download the files: hidden link


Thanks for the feedback, I can duplicate the problem in my localhost, and put it into our to-do list, our developers will take care of it.


Great, thanks! Looking forward to that, how will I know when it is done?


It is fixed in the Layouts version 1.1, I am sending you an email with development version of Layouts version 1.1, please test and feedback if the problem is fixed.


I am sorry, but I still do not understand how to integrate Layouts with the Genesis themes, like is being told here: ...
There are no 'have_posts() loops' in the Genesis child themes, as far as I can see....

In <a href="">this thread</a> you supply a link with instructions, but the link is dead...

(You can download the Genesis framework including the child themes I'd like to test on the link I gave you before)


I see other users is using custom function to integrate Layouts with genesis theme, for example you can create a theme file my-template.php in your child theme folder, with below codes:

 * Template Name: Layouts Template
//* Enqueue script
add_action( 'wp_enqueue_scripts', 'chrondev_enqueue_scripts' );
function chrondev_enqueue_scripts() {
	wp_enqueue_style( 'bootstrap', get_stylesheet_directory_uri() . '/css/bootstrap.min.css' );

//* Force full-width-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

/** Code for custom loop */
function my_custom_loop() {
    echo '<div id="primary" class="content-area"><div id="content" class="site-content" role="main">';
      do_action( 'genesis_entry_header' );
      the_ddlayout( 'default-layout' );
    echo '</div></div>';
/** Replace the standard loop with our custom loop */
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'my_custom_loop' );


Then goto WP admin side, edit/create a page, and test.


Ah yes, that is of course a great idea! I will give that a try this weekend, thanks!


Dear Iris,

I am in on behalf of Luo, it would be very useful for us to know how the fix we've done worked for you.

Did it solve the issue you originally had with child theme template paths? Didi this work for you?

Can you please let us know?

Thanks in advance, best regards


Hi Riccardo,

I am sorry I didn't let you know, I thought this thread was closed, so I started another one and again another, because no, it isn't resolved yet unfortunately....

Here are the links to the threads:

Yesterday I got an email from Shane who asked me to send a copy of the theme to test. This is what Luo asked for as well in this thread, but the solution (another version of Layouts) did not solve the problem... I tried several things with three different Genesis childthemes (see the second link), but none of them worked:-(

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.