Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to Display Last Updated Date using Kadence?

Home / Forums / Kadence Theme / How to Display Last Updated Date using Kadence?

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Theme
May 23, 2021 at 9:18 am

How to Display Last Updated Date using Kadence?
In astra

There 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 switch to Kadence from Astra and i am happy.
I want to Display Last Updated Date in Kadence?

Can somebody help me for code?

  • The forum ‘Kadence Theme’ is closed to new topics and replies.