Turn OFF dates on post

Community Forums Forums Design Tips and Tricks Turn OFF dates on post

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  ramseyp 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9535

    Steve@BHQ
    Participant
    Post count: 94

    I’m using a Theme in a WPMS environment on multiple websites. One of those sites would like the dates NOT to show on his posts. Can I do this for just the one site?

    #9689

    ramseyp
    Participant
    Post count: 99

    Hi Steve,

    You should be able to. If you marry the code found on this WordPress support topic with this Genesis Code Snippet for Post Info, you should be able to add the code in this Gist to the theme’s functions.php file & have it work. Make sure to not include the opening <?php , though…

    You’ll need to know the blog id of the site in question. Use that in the gist’s code, replacing the ’1′ where you see:

    if ( 1 == $blog_id )

    Cheers!

    Pat


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

You must be logged in to reply to this topic.