Viewing 1 replies (of 1 total)
  • Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    I identified the Problem now. Im AMP there are These code lines:

    <?php if ( function_exists( ‘get_avatar_url’ ) ) : ?>
    <amp-img src=”<?php echo esc_url( get_avatar_url( $post_author->user_email, array(
    ‘size’ => 24,
    ) ) ); ?>” width=”24″ height=”24″ layout=”fixed”></amp-img>
    <?php endif; ?>

    So the question is, how to include the wp-user-Avatar here

Viewing 1 replies (of 1 total)
  • The topic ‘Avatar not shown on AMP-Version’ is closed to new replies.