urlencode( implode( '|', $fonts ) ), 'subset' => urlencode( $subsets ), ), '//fonts.googleapis.com/css' ); } return $fonts_url; } } /** * Fallback For Main Menu */ if ( !function_exists( 'arya_multipurpose_navigation_fallback' ) ) { /** * Return unordered list. * * @since 1.0.0 * @return unordered list. */ function arya_multipurpose_navigation_fallback() { ?> '; return $form; } } add_filter( 'get_search_form', 'arya_multipurpose_search_form' ); /** * Filters For Excerpt Length */ if( !function_exists( 'arya_multipurpose_excerpt_length' ) ) : /* * Excerpt More */ function arya_multipurpose_excerpt_length( $length ) { if( is_admin() ) { return $length; } $excerpt_length = arya_multipurpose_get_option( 'arya_multipurpose_excerpt_length' ); if ( absint( $excerpt_length ) > 0 ) { $excerpt_length = absint( $excerpt_length ); } return $excerpt_length; } endif; add_filter( 'excerpt_length', 'arya_multipurpose_excerpt_length' ); /** * Filter For Excerpt More */ if( !function_exists( 'arya_multipurpose_excerpt_more' ) ) : function arya_multipurpose_excerpt_more( $more ) { if ( is_admin() ) { return $more; } return '...'; } endif; add_filter( 'excerpt_more', 'arya_multipurpose_excerpt_more' );