How to Display Last Updated Date using Kadence?
-
hi
excellent themeI have a question
How to Display Last Updated Date using Kadence?
In astraThere is a code
/**
* Display only last modified date in the post metadata.
*
* @param String $output Markup for the last modified date.
* @return void
*/
function your_prefix_post_date( $output ) {
$output = ”;
$format = apply_filters( ‘astra_post_date_format’, ” );
$modified_date = esc_html( get_the_modified_date( $format ) );
$modified_on = sprintf(
esc_html( ‘%s’ ),
$modified_date
);
$output .= ”;
$output .= ‘ ‘ . $modified_on . ”;
$output .= ”;
return ‘Updated on’ .$output;
}
add_filter( ‘astra_post_date’, ‘your_prefix_post_date’ );Can you make us a code for kedence?
I wan to Display Last Updated Date using Kadence
By the way you are the best i switched from Astra to yout themeThanks for help
- The topic ‘How to Display Last Updated Date using Kadence?’ is closed to new replies.