Adding auto's name below the blog title

Hi
where can I find on the theme to add below a post title, name of autor and some other infos. at the moment only the publishing date is available. I am not sure but I think this is called the blog post meta??
thank for your support as always
C

Hi Corina,

Thank you for reaching out to us. I see you’re using an Icon stack and in Icon stack the author is not displayed by default. However you can add it via custom development. To do this, please add the following code in your child theme’s functions.php file:

// Entry Meta - Icon Stack
// =============================================================================

if ( ! function_exists( 'x_icon_entry_meta' ) ) :
  function x_icon_entry_meta() {
	  
	$author = sprintf( ' %1$s %2$s</span>',
      __( 'by', '__x__' ),
      get_the_author()
    );

    $date = sprintf( ' %1$s<span><time class="entry-date" datetime="%2$s">%3$s</time></span>',
       __( 'on', '__x__' ),
	  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">%s%2$s</p>',
        $author,
		$date
      );
    }

  }
endif;

As you see it requires custom development and the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope. For further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer.

Thank you for understanding!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.