0

ここのワードプレス ブログ ( http://muraliprashanth.me ) に問題があります。

ムラリ・プラシャント

しかし、私がクリックすると

Murali Prashanth ハイパーリンクによるすべての投稿を表示

この URL にリダイレクトされますhttp://muraliprashanth.me/author/Murali%20Prashanth/ 著者のプロフィール ページを作成する場所がわからない、または自分のワードプレスのテーマが著者のプロフィール ページをサポートしているかどうかわからない過去3か月からこの問題を解決してください。助けていただければ幸いです。

前もって感謝します。

4

2 に答える 2

1

これら 2 つのリンクには、作成者プロファイルのリンクとテンプレート情報に関する詳細が含まれています。見て、修正できるかどうかを確認してください。

http://codex.wordpress.org/Author_Templates http://codex.wordpress.org/Function_Reference/the_author_url

于 2012-12-22T09:36:27.943 に答える
1

それを試してみてください。私は使用のために自分の author.php ファイルを提供しました。

<?php
/**
 * The template for displaying Author Archive pages.
 *
 * @package WordPress
 */

get_header(); ?>

<?php
    if ( have_posts() )
        the_post();
?>

                <h1><?php printf( __( 'Author Archives: %s' ), "<span class='vcard'><a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a></span>" ); ?></h1>

<?php
// If a user has filled out their description, show a bio on their entries.
if ( get_the_author_meta( 'description' ) ) : ?>
                <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'avatar_size', 60 ) ); ?>
                <h2><?php printf( __( 'About %s', 'theme' ), get_the_author() ); ?></h2>
                <?php the_author_meta( 'description' ); ?>
<?php endif; ?>

<?php
    rewind_posts();

    get_template_part( 'loop', 'author' );
?>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
于 2012-12-22T11:15:10.793 に答える