Esempio n. 1
0
 function hiding_panel($post)
 {
     $s = '';
     $s .= $this->form_field(self::INDICATOR, self::INDICATOR, '', 1, 'hidden');
     $s .= $this->visibility_checkbox('from_search', true, '%1$s this page on the site search results page');
     $s .= $this->visibility_checkbox('title', true, '%1$s the title on this page');
     $options = Genesis_Club_Display::get_options();
     if ($options['before_content']) {
         $s .= $this->widget_area_visibility_checkbox('before_content');
     }
     if ($options['before_entry']) {
         $s .= $this->widget_area_visibility_checkbox('before_entry');
     }
     if ($options['before_entry_content']) {
         $s .= $this->widget_area_visibility_checkbox('before_entry_content');
     }
     if ($options['after_entry_content']) {
         $s .= $this->widget_area_visibility_checkbox('after_entry_content');
     }
     if ($options['after_entry']) {
         $s .= $this->widget_area_visibility_checkbox('after_entry');
     }
     if ($options['after_content']) {
         $s .= $this->widget_area_visibility_checkbox('after_content');
     }
     $s .= $this->disable_checkbox('breadcrumbs', true, '%1$s breadcrumbs on this page');
     $s .= $this->disable_checkbox('autop', true, '%1$s auto-paragraphing of the page content');
     $s = apply_filters('genesis_club_hiding_settings_show', $s, $post);
     return $s;
 }