%2$s'; $output = sprintf( $format, $tag, get_custom_logo() ); echo apply_filters( 'businessx_logo___image', $output, $format, $tag ); } else { // Text link format $format = '<%1$s class="logo-wrap">%3$s'; $output = sprintf( $format, $tag, esc_url( home_url('/') ), get_bloginfo( 'name', 'display' ) ); echo apply_filters( 'businessx_logo___text', $output, $format, $tag ); } } } } /* -- Display main menu */ if ( ! function_exists( 'businessx_menu_main_area' ) ) { function businessx_menu_main_area() { if( has_nav_menu( 'primary' ) ) { ?>
'actions', 'menu_class' => 'actions-menu clearfix"', 'container' => false, 'depth' => 1, 'fallback_cb' => '__return_false', 'echo' => false, ) ); echo wp_nav_menu( $args ); } } /* -- Action buttons - Search */ if ( ! function_exists( 'businessx_search_button' ) ) { function businessx_search_button() { $disabled = get_theme_mod( 'header_misc_hide_search_btn', false ); if( ! $disabled ) : ?>
array( 'href' => array(), 'title' => array() ), ) ); $copyright = get_theme_mod( 'footer_credits_creds_line', businessx_return_copyright_templ() ); ?> ' . businessx_icon( 'tags', false ) . esc_html__( 'Tagged with: ', 'businessx' ) . '' ); $sep = apply_filters( 'businessx_single_tags_display___sep', " • " ); $after = apply_filters( 'businessx_single_tags_display___after', '' ); $tags = get_the_tags(); if( is_single() && ! $hide && ! empty( $tags ) ) { ?>
' . businessx_icon( 'tags', false ) . esc_html__( 'Tagged with: ', 'businessx' ) . '' ); $sep = apply_filters( 'businessx_single_tags_display___sep', " • " ); $after = apply_filters( 'businessx_single_tags_display___after', '' ); $output = get_the_term_list( $post->ID, 'jetpack-portfolio-tag', $before, $sep, $after ); if( $display && ! empty( $output ) ) { ?>
'; $output .= '
'; $new_output = apply_filters( 'businessx_portfolio_page_masonry___sizers', $output ); echo wp_kses_post( $new_output ); } } /* -- Masonry script for Portfolio */ if ( ! function_exists( 'businessx_portfolio_page_masonry_script' ) ) { function businessx_portfolio_page_masonry_script() { $id = apply_filters( 'businessx_portfolio_page_masonry_script___id', 'sec-portfolio-wrap' ); wp_add_inline_script( 'jquery-masonry', '(function( $ ) { $( document ).ready(function() { var $sec_portwrap = $("#' . esc_attr( $id ) . ' ").masonry(); $sec_portwrap.imagesLoaded( function() { $sec_portwrap.masonry(); }); });})(jQuery);' ); } } endif; // Jetpack check