__( 'Logo Only ( First Select Logo Above )', 'acmephoto' ), 'title-only' => __( 'Site Title Only', 'acmephoto' ), 'title-and-tagline' => __( 'Site Title and Tagline', 'acmephoto' ), 'disable' => __( 'Disable', 'acmephoto' ) ); return apply_filters( 'acmephoto_header_id_display_opt', $acmephoto_header_id_display_opt ); } endif; /** * Global layout options * * @since AcmePhoto 1.0.0 * * @param null * @return array $acmephoto_default_layout * */ if ( !function_exists('acmephoto_default_layout') ) : function acmephoto_default_layout() { $acmephoto_default_layout = array( 'fullwidth' => __( 'Fullwidth', 'acmephoto' ), 'boxed' => __( 'Boxed', 'acmephoto' ) ); return apply_filters( 'acmephoto_default_layout', $acmephoto_default_layout ); } endif; /** * Sidebar layout options * * @since AcmePhoto 1.0.0 * * @param null * @return array $acmephoto_sidebar_layout * */ if ( !function_exists('acmephoto_sidebar_layout') ) : function acmephoto_sidebar_layout() { $acmephoto_sidebar_layout = array( 'right-sidebar' => __( 'Right Sidebar', 'acmephoto' ), 'left-sidebar' => __( 'Left Sidebar' , 'acmephoto' ), 'both-sidebar' => __( 'Both Sidebar' , 'acmephoto' ), 'no-sidebar' => __( 'No Sidebar', 'acmephoto' ), 'middle-col' => __( 'Middle Column', 'acmephoto' ), ); return apply_filters( 'acmephoto_sidebar_layout', $acmephoto_sidebar_layout ); } endif; /** * Pagination Options * * @since AcmePhoto 1.0.0 * * @param null * @return array $acmephoto_pagination_options * */ if ( !function_exists('acmephoto_pagination_options') ) : function acmephoto_pagination_options() { $acmephoto_pagination_options = array( 'default' => __( 'Default', 'acmephoto' ), 'numeric' => __( 'Ajax Loading', 'acmephoto' ) ); return apply_filters( 'acmephoto_pagination_options', $acmephoto_pagination_options ); } endif; /** * Button Options * * @since AcmePhoto 1.0.0 * * @param null * @return array acmephoto_feature_button_options * */ if ( !function_exists('acmephoto_feature_button_options') ) : function acmephoto_feature_button_options() { $acmephoto_feature_button_options = array( 'search' => __( 'Show Search', 'acmephoto' ), 'read-more' => __( 'Show Read More', 'acmephoto' ), 'hide' => __( 'Hide', 'acmephoto' ) ); return apply_filters( 'acmephoto_feature_button_options', $acmephoto_feature_button_options ); } endif; /** * Button Options * * @since AcmePhoto 1.0.0 * * @param null * @return array acmephoto_menu_position_options * */ if ( !function_exists('acmephoto_menu_position_options') ) : function acmephoto_menu_position_options() { $acmephoto_menu_position_options = array( 'top-normal' => __( 'Top Normal', 'acmephoto' ), 'top-fixed' => __( 'Top Fixed', 'acmephoto' ), 'below-feature' => __( 'Below Feature', 'acmephoto' ) ); return apply_filters( 'acmephoto_menu_position_options', $acmephoto_menu_position_options ); } endif; /** * * Reset post * * @since AcmePhoto 1.0.0 * * @param null * @return array * */ if ( !function_exists('acmephoto_reset_options') ) : function acmephoto_reset_options() { $acmephoto_reset_options = array( '0' => __( 'Do Not Reset', 'acmephoto' ), 'reset-color-options' => __( 'Reset Colors Options', 'acmephoto' ), 'reset-all' => __( 'Reset All', 'acmephoto' ) ); return apply_filters( 'acmephoto_reset_options', $acmephoto_reset_options ); } endif; /** * Related Post Display From Options * * @since Acmephoto 1.2.0 * * @param null * @return array * */ if ( !function_exists('acmephoto_related_post_display_from') ) : function acmephoto_related_post_display_from() { $acmephoto_related_post_display_from = array( 'cat' => __( 'Related Posts From Categories', 'acmephoto' ), 'tag' => __( 'Related Posts From Tags', 'acmephoto' ) ); return apply_filters( 'acmephoto_related_post_display_from', $acmephoto_related_post_display_from ); } endif; if ( !function_exists('acmephoto_get_image_sizes_options') ) : function acmephoto_get_image_sizes_options( $add_disable = false ) { global $_wp_additional_image_sizes; $choices = array(); if ( true == $add_disable ) { $choices['disable'] = __( 'No Image', 'acmephoto' ); } foreach ( array( 'thumbnail', 'medium', 'large' ) as $key => $_size ) { $choices[ $_size ] = $_size . ' ('. get_option( $_size . '_size_w' ) . 'x' . get_option( $_size . '_size_h' ) . ')'; } $choices['full'] = __( 'full (original)', 'acmephoto' ); if ( ! empty( $_wp_additional_image_sizes ) && is_array( $_wp_additional_image_sizes ) ) { foreach ($_wp_additional_image_sizes as $key => $size ) { $choices[ $key ] = $key . ' ('. $size['width'] . 'x' . $size['height'] . ')'; } } return apply_filters( 'acmephoto_get_image_sizes_options', $choices ); } endif;