How to Turn off posted on date

Community Forums Forums Design Tips and Tricks How to Turn off posted on date

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Hector 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #11494




    I just purchase the lifestyle theme and would like to know if I can turn off the post on date

    I would like to be able to turn it on in specific posts, but off onĀ another.




    From this post by @wpsmithĀ (pay attention to the code – you will need to modify it to edit the pages/posts on your site)

    // Modify Post Info
    add_filter( ‘genesis_post_info’, ‘my_post_info_filter’ );
    function my_post_info_filter( $post_info ) {
    	global $post;
    	if ( in_array( $post->ID, array( 1, 2, 3, 4123, 432, ) ) { //edit the numbers to whatever post IDs you’d like.
    		$post_info = ‘[ post_date] by [ post_author_posts_link] at [ post_time] [ post_comments] [ post_edit]'; //remove spaces after initial [
    	return $post_info;

    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts



    Thanks for the information


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.