Lifestyle Child Theme remove date on posts

Community Forums Forums Design Tips and Tricks Lifestyle Child Theme remove date on posts

This topic is: not resolved

This topic contains 6 replies, has 3 voices, and was last updated by  braddalton 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #68656

    derrickp
    Member
    Post count: 2

    is there a way to remove the date on the posts? I am familiar with doing this in the editor on other themes but can’t find the section of code to remove on the child theme. It is setup different than a standard wordpress them. Thanks!

    #68664

    braddalton
    Participant
    Post count: 8875

    Link to your site please.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #68683

    derrickp
    Member
    Post count: 2
    #68703

    braddalton
    Participant
    Post count: 8875

    Please paste this code at the end of your child themes style.css file:
    [css]
    .single-post .post-info .date,
    .single-post .post-info .time {
    display: none;
    }
    [/css]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #69938

    derrickp
    Member
    Post count: 2

    Thanks Brad appreciate the help

    #102855

    csmm92
    Participant
    Post count: 5

    Hi Brad,

    Thanks for sharing the code. I used it to remove the date from my posts, but it still shows up in the excerpts on the main blog page. Any idea how I can remove it from there?

    #102951

    braddalton
    Participant
    Post count: 8875

    Remove .single-post from the code or use PHP which you can find on my site.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

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

You must be logged in to reply to this topic.