urlencode( implode( '|', $fonts ) ), 'subset' => urlencode( $subsets ), ), '//fonts.googleapis.com/css' ); } return $fonts_url; } } if ( ! function_exists( 'akks_breadcrumb' ) ) : /** * Simple breadcrumb. * * @since 1.0.0 * * @link: https://gist.github.com/melissacabral/4032941 * * @param array $args Arguments */ function akks_breadcrumb( $args = array() ) { if ( ! function_exists( 'akks_breadcrumb_trail' ) ) { require_once get_template_directory() . '/inc/breadcrumbs.php'; } $breadcrumb_args = array( 'container' => 'div', 'show_browse' => false, ); akks_breadcrumb_trail( $breadcrumb_args ); } endif; /** * Display custom header title */ function akks_banner_title() { if ( is_front_page() && is_home() ) : ?>

', '' ); elseif ( is_search() ) : ?>

' . esc_html__( 'Oops! That page can't be found.', 'akks' ) . ''; endif; } if ( ! function_exists( 'akks_button_title' ) ) : /** * Display Button on Archive/Blog Page */ function akks_button_title() { $enable_blog_button = akks_get_option( 'enable_blog_button' ); $blog_button = akks_get_option( 'blog_button' ); if ( false == $enable_blog_button || empty( $blog_button ) ){ return; } echo '
'.esc_html( $blog_button ).'
'; } endif; if ( ! function_exists( 'akks_posted_description' ) ) : /** * Author Information * */ function akks_posted_description() { $enable_author_info = akks_get_option( 'enable_author_info' ); if ( false == $enable_author_info ){ return; } $byline = sprintf( /* translators: %s: post author. */ esc_html_x( 'VIEW ALL POSTS BY %s', 'post author', 'akks' ), '' . esc_html( get_the_author() ) . '' ); ?>
5, 'prev_text' => esc_html__( 'PREV', 'akks' ), 'next_text' => esc_html__( 'NEXT', 'akks' ), ) ); } } endif; add_action( 'akks_action_posts_navigation', 'akks_custom_posts_navigation' );