max_num_pages < 2 ) { return; } ?> post_parent ) : get_adjacent_post( false, '', true ); $next = get_adjacent_post( false, '', false ); if ( ! $next && ! $previous ) { return; } ?> Featured', 'fictive' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'fictive' ), get_the_author() ) ), esc_html( get_the_author() ) ); } else { printf( __( '', 'fictive' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'fictive' ), get_the_author() ) ), get_the_author() ); } } endif; if ( ! function_exists( 'fictive_comment' ) ) : /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. */ function fictive_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; $args['avatar_size'] = 70; if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?>
  • >
    ', '' ); ?>
  • >
    ' . get_avatar( $comment, $args['avatar_size'] ) . ''; } ?> says:', 'fictive' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved ) : ?>

    140, 'd' => urlencode( $default ), ), $url ); return esc_url_raw( $url ); } // fictive_get_gravatar /** * Returns the URL from the post. * * @uses get_the_link() to get the URL in the post meta (if it exists) or * the first link found in the post content. * * Falls back to the post permalink if no URL is found in the post. * * @return string URL */ function fictive_get_link_url() { $content = get_the_content(); $has_url = get_url_in_content( $content ); return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() ); }