generate_post_date_show_updated_only

generate_post_date_show_updated_only

By default, the HTML for the published date and updated date (if it exists) is added to your site. The updated date is hidden with CSS.

If you only want the updated date HTML to display use the generate_post_date_show_updated_only below:

add_filter( 'generate_post_date_show_updated_only', '__return_true' );

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注