File "header-sceleton.php"

Full Path: /home/ycoalition/public_html/blog/wp-content/themes/woodmart/inc/configs/header-sceleton.php
File size: 4.04 KB
MIME-type: text/x-php
Charset: utf-8

<?php if ( ! defined("WOODMART_THEME_DIR")) exit("No direct script access allowed");

/**
 * ------------------------------------------------------------------------------------------------
 * Default header builder structure
 * ------------------------------------------------------------------------------------------------
 */

$sceleton_structure = array (
  'id' => 'root',
  'type' => 'root',
  'title' => 'Header builder',
  'content' =>
  array (
    'top-bar' =>
    array (
      'id' => 'top-bar',
      'type' => 'row',
      'title' => 'Top bar',
      'content' =>
      array (
        'column5' =>
        array (
          'id' => 'column5',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-left',
          'desktop_only' => true
        ),
        'column6' =>
        array (
          'id' => 'column6',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-center',
          'desktop_only' => true,
        ),
        'column7' =>
        array (
          'id' => 'column7',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-right',
          'desktop_only' => true,
        ),
        'column_mobile1' =>
        array (
          'id' => 'column_mobile1',
          'type' => 'column',
          'title' => 'Mobile column',
          'class' => 'whb-col-mobile',
          'mobile_only' => true,
        ),
      ),
    ),
    'general-header' =>
    array (
      'id' => 'general-header',
      'type' => 'row',
      'title' => 'Main header',
      'content' =>
      array (
        'column8' =>
        array (
          'id' => 'column8',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-left',
          'desktop_only' => true,
        ),
        'column9' =>
        array (
          'id' => 'column9',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-center',
          'desktop_only' => true,
        ),
        'column10' =>
        array (
          'id' => 'column10',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-right',
          'desktop_only' => true,
        ),
        'column_mobile2' =>
        array (
          'id' => 'column_mobile2',
          'type' => 'column',
          'title' => 'Mobile column',
          'class' => 'whb-mobile-left',
          'mobile_only' => true,
        ),
        'column_mobile3' =>
        array (
          'id' => 'column_mobile3',
          'type' => 'column',
          'title' => 'Mobile column',
          'class' => 'whb-mobile-center',
          'mobile_only' => true,
        ),
        'column_mobile4' =>
        array (
          'id' => 'column_mobile4',
          'type' => 'column',
          'title' => 'Mobile column',
          'class' => 'whb-mobile-right',
          'mobile_only' => true,
        ),
      ),
    ),
    'header-bottom' =>
    array (
      'id' => 'header-bottom',
      'type' => 'row',
      'title' => 'Header bottom',
      'content' =>
      array (
        'column11' =>
        array (
          'id' => 'column11',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-left',
          'desktop_only' => true,
        ),
        'column12' =>
        array (
          'id' => 'column12',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-center',
          'desktop_only' => true,
        ),
        'column13' =>
        array (
          'id' => 'column13',
          'type' => 'column',
          'title' => 'Mega column',
          'class' => 'whb-col-right',
          'desktop_only' => true,
        ),
        'column_mobile5' =>
        array (
          'id' => 'column_mobile5',
          'type' => 'column',
          'title' => 'Mobile column',
          'class' => 'whb-col-mobile',
          'mobile_only' => true,
        ),
      ),
    ),
  ),
);


return apply_filters( 'woodmart_header_sceleton', $sceleton_structure );