Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #985798
    Paul R
    Moderator

    Hi,

    To add avatar, please change the code given in #98400 to this

    
    function x_icon_entry_meta() {
    
           //
        // Author.
        //
    
        $author = sprintf( '<span>%1$s %2$s</span>',
         get_avatar( get_the_author_meta( 'ID' ), 32 ),
          get_the_author()
        );
    
        
        //
        // Date.
        //
        
        $date = sprintf( '<span><time class="entry-date" datetime="%1$s">%2$s</time></span>',
          esc_attr( get_the_date( 'c' ) ),
          esc_html( get_the_date() )
        );
    
        if ( x_does_not_need_entry_meta() ) {
          return;
        } else {
          printf( '<p class="p-meta">%1$s%2$s</p>',
            $author,
            $date
          );
        }
    
      }
    

    As stated above further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.

  • <script> jQuery(function($){ $("#no-reply-980255 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>