' . sprintf( __( 'You are using an outdated browser (IE 8 or before). For a better user experience, we recommend %1$1supgrading your browser today%2$2s or %3$3sinstalling Google Chrome Frame%4$4s', 'dollah' ), '', '', '', '' ) . '
'; echo apply_filters( 'dollah_update_browser_notice', $notice ); } endif; /** * Temporarily remove read more links from excerpts * * @since 1.0 * @access public */ if ( !function_exists( 'dollah_remove_readmore_link' ) ): function dollah_remove_readmore_link() { add_filter( 'dollah_readmore', 'dollah_readmore_empty_string' ); } endif; if ( !function_exists( 'dollah_readmore_empty_string' ) ): function dollah_readmore_empty_string() { return ''; } endif; /** * Reinstate read more links to excerpts * * @since 1.0 * @access public */ if ( !function_exists( 'dollah_reinstate_readmore_link' ) ): function dollah_reinstate_readmore_link() { remove_filter( 'dollah_readmore', 'dollah_readmore_empty_string' ); } endif; /** * Return the display array of meta blocks to show * * @since 1.3 * @access public * @param array|string $args (comma delimited) information to display * @param string $context context in which meta blocks are being displayed * @param bool $bool Return bool value * @return array|bool */ if ( !function_exists( 'dollah_meta_info_display' ) ): function dollah_meta_info_display( $args = '', $context = '', $bool = false ) { if ( !is_array( $args ) ) $args = array_map( 'trim', explode( ',', $args ) ); $display = array(); foreach ( array( 'author', 'date', 'cats', 'tags', 'comments' ) as $key ) { if ( in_array( $key, $args ) ) $display[ $key ] = true; } // if ( is_page() ) { : returns true in post loop when frontpage set as static page if ( get_post_type() == ' post' ) { if ( isset( $display['cats'] ) ) unset( $display['cats'] ); if ( isset( $display['tags'] ) ) unset( $display['tags'] ); } if ( !empty( $display['author'] ) ) $display['publisher'] = true; $display = apply_filters( 'dollah_meta_info_blocks_display', $display, $context ); if ( $bool ) { if ( empty( $display ) ) return false; else return true; } else { return $display; } } endif; /** * Display the meta information HTML for single post/page * * @since 1.0 * @access public * @param array|string $args (comma delimited) information to display * @param string $context context in which meta blocks are being displayed * @return void */ if ( !function_exists( 'dollah_meta_info_blocks' ) ): function dollah_meta_info_blocks( $args = '', $context = '' ) { if ( !is_array( $args ) ) $args = array_map( 'trim', explode( ',', $args ) ); $display = dollah_meta_info_display( $args, $context ); if ( empty( $display ) ) { echo ''; return; } ?> ' . '' . '' . '' , $isrc[0], $iwidth, $iheight ); $microdatadisplay = true; } } } if ( empty( $microdatadisplay ) ) echo '