';
}
}
add_action( 'wp_head', 'book_blogger_pingback_header' );
if ( ! function_exists( 'book_blogger_comment_list' ) ) :
/**
* Template for comments and pingbacks.
*
* Used as a callback by wp_list_comments() for displaying the comments.
*
* @since Shape 1.0
*/
function book_blogger_comment_list( $comment, $args, $depth ) {
extract( $args, EXTR_SKIP );
if ( 'div' == $args['style'] ) {
$tag = 'div';
$add_below = 'comment';
} else {
$tag = 'li';
$add_below = 'div-comment';
}
?>
< id="comment-">
1 ) {
$numberingtext = 'posts';
} else {
$numberingtext = 'post';
}
$userposts = esc_html__( 'the user has only %1$s %2$s', 'book-blogger' );
printf( $userposts, $userpost_count, $numberingtext );
?>
get( 'Author' );
}
function book_blogger_author_uri(){
$themeData = wp_get_theme();
return $authorURI = $themeData->get( 'AuthorURI' );
}
/**
* WordPress Default Lazy Load Control From Customizer
*/
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
function book_blogger_utm_url($medium){
$rawUrl = sprintf(
'https://rswpthemes.com/author-blog-pro-wordpress-theme/?utm_source=free_theme&utm_medium=%s&utm_campaign=book_blogger',
rawurlencode($medium)
);
return $rawUrl;
}