How to edit entry-meta?

Hello,

I would like to edit and replace one of the options in my entry-meta bar on the top of each post.

For example, right now it lists: Posted Date / Author / comments

I want to replace the “Author” section and add custom text with a link.

The custom text and link I want to do is:

“THIS POST MAY CONTAIN AFFILIATE LINKS, READ DISCLAIMER”

And I would like the word “disclaimer” to go to this URL: http://www.cashflowdiaries.com/disclaimer

How do I go about doing that? Please help. I just installed this theme and love it.

Here is a screenshot:

screenshot

Hi,

You have to custom code the text and the link in inc / template-tags.php, from line 164, in this code:

if ( ! function_exists( 'athemes_posted_on' ) ) :
/**
 * Prints HTML with meta information for the current post-date/time and author.
 */
function athemes_posted_on() {
	$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
	$time_string = sprintf( $time_string,
		esc_attr( get_the_date( 'c' ) ),
		esc_html( get_the_date() ),
		esc_attr( get_the_modified_date( 'c' ) ),
		esc_html( get_the_modified_date() )
	);
	
	printf( __( '<span class="posted-on">%1$s</span><span class="byline">%2$s</span>', 'athemes' ),
		sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
			esc_url( get_permalink() ),
			$time_string
		),
		sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
			esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
			esc_html( get_the_author() )
		)
	);	
	
	
}
endif;

Also you can add the text / the link after the meta, if you don’t want to add inside it, after this code in content.php, line 13:

<?php athemes_posted_on(); ?>

Best Regards,
Csaba

Okay thank you. I think that might be a little outside my range of coding. Ill go ahead and look into the codeable site to see if someone can do this for me.

Thank you

Hi,

Ok, that will require good coding knowledge.

Best Regards,
Csaba