%2$s';}
if (get_option_tree('hide_author_from_meta', '')) {}
else{ $post_author = '
%3$s';}
printf( __( $post_date . $post_author , 'care' ),
'meta-prep meta-prep-author',
sprintf( '%3$s',
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( '',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'care' ), get_the_author() ),
get_the_author()
)
);
}
endif;
if ( ! function_exists( 'dotted_posted_in' ) ) :
/**
* Prints HTML with meta information for the current post (category, tags and permalink).
*
*/
function dotted_posted_in() {
// Retrieves tag list of current post, separated by commas.
$tag_list = get_the_tag_list( '', ', ' );
if ( $tag_list ) {
$posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'care' );
} elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {
$posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'care' );
} else {
$posted_in = __( 'Bookmark the permalink.', 'care' );
}
// Prints the string, replacing the placeholders.
printf(
$posted_in,
get_the_category_list( ', ' ),
$tag_list,
get_permalink(),
the_title_attribute( 'echo=0' )
);
}
endif;
if ( ! function_exists( 'dotted_comment' ) ) :
/* cancel reply */
function custom_comment_reply2($content_reply)
{
$comment_click_here = get_option_tree('comments_click_here', '');
if($comment_click_here){
$content_reply = str_replace('Click here to cancel reply.', $comment_click_here, $content_reply);
}
else{
$content_reply = str_replace('Click here to cancel reply.', 'Click here to cancel reply.', $content_reply);
}
return $content_reply;
}
add_filter('cancel_comment_reply_link', 'custom_comment_reply2');
function dotted_comment( $comment, $args, $depth ) {
$GLOBALS['comment'] = $comment;
switch ( $comment->comment_type ) :
case '' :
?>