$GLOBALS['wp_query']->max_num_pages ) { return; } ?> post_parent ) : get_adjacent_post( false, '', true ); $next = get_adjacent_post( false, '', false ); if ( ! $next && ! $previous ) { return; } ?>
', _x( '%title', 'Next post link', 'radcliffe' ) ); previous_post_link( ' ', _x( '%title', 'Previous post link', 'radcliffe' ) ); ?> '', 'items_wrap' => '%3$s', 'theme_location' => 'primary' ) ); } else { wp_list_pages( array( 'container' => '', 'title_li' => '' ) ); } } endif; if ( ! function_exists( 'radcliffe_page_navigation' ) ) : /** * Prints HTML with custom header image, if active */ function radcliffe_page_navigation() { wp_link_pages( array( 'before' => '' . __( 'Pages: ', 'radcliffe' ), 'after' => '
', 'separator' => '/', ) ); } endif; if ( ! function_exists( 'radcliffe_featured_caption' ) ) : /** * Prints HTML with image caption for featured images. */ function radcliffe_featured_caption() { if ( has_excerpt( get_post_thumbnail_id() ) ) { ?> ', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'Posts by %s', 'radcliffe' ), esc_html( get_the_author() ) ) ), esc_html( get_the_author() ) ); /* Author Description */ printf( ' ', esc_html( get_the_author_meta( 'description' ) ) ); echo ' '; } endif; if ( ! function_exists( 'radcliffe_comment' ) ) : /** * Radcliffe comment function */ function radcliffe_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>