Hello,
I'm using your Toolset Bootstrap theme as a starting point for my first website built using Yypes. I'm also using WPML.
I've managed to set-up a child theme, and everything seemed to work well, but when I try to register a new sidebar I run into troubles: the custom sidebar appears in the 'appearance' > 'widgets' area, but if I drag a widget to it, customize it and save it, the widget won't be there anymore next time I visit the page. In other words everything I add to this new sidebar is not saved. The default sidebars that come with the theme work just fine.
I tried to switch to the default Twenty Fourteen theme, and register a new sidebar re-using the same code, it works. In other words the problem seems to be theme-specific, and not related to Types, so I don't know if I'm posting to the right forum…
Anyway, just in case someone is experiencing the same problema, here's is the code I use to register the new sidebar in my functions.php file:
function textdomain_register_sidebars() { /* Register custom sidebar. */ register_sidebar( array( 'id' => 'sidebar-2', 'name' => __( 'Home sidebar', 'textdomain' ), 'description' => __( 'This sidebar will display only on the homepage.', 'textdomain' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); } add_action( 'widgets_init', 'textdomain_register_sidebars' );
Any suggestion would be much appreciated. I'd really like to keep on working with this theme, since all the toolset components are already there – I'm thinking about giving Views and Acess a try.