'primary',
'name' => _x( 'Primary', 'sidebar', 'omega' ),
'description' => __( 'The main sidebar. It is displayed on either the left or right side of the page based on the chosen layout.', 'omega' )
)
);
}
/**
* Adds custom default theme settings.
*
* @since 0.3.0
* @access public
* @param array $settings The default theme settings.
* @return array $settings
*/
function omega_set_default_theme_settings( $settings ) {
$settings = array(
'comments_pages' => 0,
'content_archive' => 'full',
'content_archive_limit' => 0,
'post_thumbnail' => 1,
'more_text' => '[Read more...]',
'no_more_scroll' => 1,
'image_size' => 'large',
);
return $settings;
}
function omega_header_markup_open() {
echo '';
}
function omega_header_markup_close() {
echo '';
}
function omega_footer_markup_open() {
echo '';
}
/**
* Dynamic element to wrap the site title and site description.
*/
function omega_branding() {
echo '
';
/* Get the site title. If it's not empty, wrap it with the appropriate HTML. */
if ( $title = get_bloginfo( 'name' ) ) {
if ( $logo = get_theme_mod( 'custom_logo' ) ) {
$title = sprintf( '
', home_url(), esc_attr( $title ), $title );
}
}
}
/* Display the site title and apply filters for developers to overwrite. */
echo omega_apply_atomic( 'site_title', $title );
/* Get the site description. If it's not empty, wrap it with the appropriate HTML. */
if ( $desc = get_bloginfo( 'description' ) )
$desc = sprintf( '
%1$s
', $desc );
/* Display the site description and apply filters for developers to overwrite. */
echo omega_apply_atomic( 'site_description', $desc );
echo '
';
}
/**
* default footer insert filter
*/
function omega_default_footer_insert( $settings ) {
/* If there is a child theme active, use [child-link] shortcode to the $footer_insert. */
return '