<div class="js-ddl-for-post-types-messages ddl-for-post-types-messages hidden"> <?php printf(__('To assign this layout to a specific page, first create the layout and then assign it using the "Change how this layout is used" button in the layout editor.', 'ddl-layouts'), ''); ?> </div> </li> </ul> </div> </fieldset> </li> <?php $parents = WPDD_Layouts::get_available_parents(); $hidden_parent_section = ''; if (count($parents) == 0) { $hidden_parent_section = ' hidden'; } $default_parent = $wpddlayout->parents_options->get_options(WPDD_Layouts::PARENTS_OPTIONS); ?> <li class="js-set-parent-layout-row<?php echo $hidden_parent_section; ?> "> <fieldset> <legend><?php _e('Parent layout', 'ddl-layouts'); ?> </legend>