' . __( 'The Adventure Bound Basic Bound Theme by Eric Schwarz provides customization options that are grouped together on the Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Adventure Bound Basic, does not provides the following Theme Options, they are only available with the with the premium version Adventure Bound:', 'adventureboundbasic' ) . '
' . '' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'adventureboundbasic' ) . '
' . '' . __( 'For more information:', 'adventureboundbasic' ) . '
' . '' . __( 'Adventure Bound Basic Home Page', 'adventureboundbasic' ) . '
' . '' . __( 'The Premium Adventure Bound Home Page', 'adventureboundbasic' ) . '
' . '' . __( 'Contact Eric Schwarz', 'adventureboundbasic' ) . '
'; add_contextual_help( $theme_page, $help ); } add_action( 'admin_menu', 'adventureboundbasic_theme_options_add_page' ); /** * Returns an array of layout options registered for Advebture Bound. * */ function adventureboundbasic_layouts() { $layout_options = array( 'dates' => array( 'value' => 'dates', 'label' => __( 'Dates in Upper Right Corner', 'adventureboundbasic' ), 'thumbnail' => get_template_directory_uri() . '/images/date.jpg',), 'no-dates' => array( 'value' => 'no-dates', 'label' => __( 'No Dates are Displayed', 'adventureboundbasic' ), 'thumbnail' => get_template_directory_uri() . '/images/no-date.jpg',), ); return apply_filters( 'adventureboundbasic_layouts', $layout_options ); } /** * Returns an array of color schemes registered for Adventure Bound Basic. * */ function adventureboundbasic_color_schemes() { $color_scheme_options = array( 'red' => array('value' => 'red','label' => __( 'Red', 'adventureboundbasic' ),'thumbnail' => get_template_directory_uri() . '/images/red.png','default_link_color' => '#d71015',),); return apply_filters( 'adventureboundbasic_color_schemes', $color_scheme_options );} /** * Returns the default options for Twenty Eleven. * */ function adventureboundbasic_get_default_theme_options() { $default_theme_options = array( 'link_color' => adventureboundbasic_get_default_link_color( 'red' ), 'theme_layout' => 'dates',); if ( is_rtl() ) $default_theme_options['theme_layout'] = 'dates'; return apply_filters( 'adventureboundbasic_default_theme_options', $default_theme_options ); } /** * Returns the default link color for Adventure Bound Basic, based on color scheme. * * @param $string $color_scheme Color scheme. Defaults to the active color scheme. * @return $string Color. */ function adventureboundbasic_get_default_link_color( $color_scheme = null ) { if ( null === $color_scheme ) { $options = adventureboundbasic_get_theme_options(); $color_scheme = $options['color_scheme']; } $color_schemes = adventureboundbasic_color_schemes(); if ( ! isset( $color_schemes[ $color_scheme ] ) ) return false; return $color_schemes[ $color_scheme ]['default_link_color']; } /** * Returns the options array for Adventure Bound Basic. * */ function adventureboundbasic_get_theme_options() { return get_option( 'adventureboundbasic_theme_options', adventureboundbasic_get_default_theme_options() ); } /** * Returns the options array for Adventure Bound Basic. * */ function adventureboundbasic_theme_options_render_page() { ?>
$depth, 'max_depth' => $args['max_depth'] ) ) ); ?>