Support » Theme: Pinboard » How to hide date and author

  • In Pinboard theme, I do not want to show date and author on my home page or single pages. How to remove date and author ?

Viewing 15 replies - 1 through 15 (of 22 total)
  • One simple way to do this (without having to create a child theme) is to hide these values by adding custom CSS. You can add the CSS at Appearance > Theme Options > Layout > Custom CSS.

    The date/author meta information for individual posts has a class of “entry-meta”, so this CSS will hide it:

    .entry-meta { display: none; }

    As I’m using pinboard, the meta information doesn’t appear on the home page, so I can’t give you specific CSS for that. But if you view the page source you should find a class being applied to the meta information on the home page. You could try suppressing it in a similar way.

    .[class name goes here] { display: none; }

    This could have unintended consequences of hiding information on other pages, so as with any custom CSS be sure to test it thoroughly.

    Best of luck.

    Andy

    Thanks I added following

    .entry-author-link { display: none; }
    .entry-permalink { display: none; }
    .entry-date { display: none; }

    I am talking about Pinboard only.
    The above code could hide author link, date and permalink on home page only not on single page.
    Any suggestions ?

    If your CSS hides the meta information on the home page, then to hide the meta information on a page that shows an individual post you should just need to add the CSS that I listed above.

    Your final CSS would be:

    .entry-author-link { display: none; }
    .entry-permalink { display: none; }
    .entry-date { display: none; }
    .entry-meta { display: none; }

    Or the smarter way to follow the standard CSS guide provided by WordPress

    .entry-author-link,
    .entry-permalink,
    .entry-date,
    .entry-meta {
    	display: none;
    }

    Good point, thanks. I should have thought for a minute before just appending my code to nims’ code. 🙂

    why doesn’t it hide on single page ?
    Check this http://www.topindianmodels.com/top-fashion-photographers-in-india/

    I didn’t see this code being added on style.css

    .entry-author-link,
    .entry-permalink,
    .entry-date,
    .entry-meta {
    display: none;
    }

    Can you please do that as it should actually hide the .entry-meta on the home page as well.

    This is the code that worked for me on Pinboard (removes author name):

    body .entry-meta .entry-author-link {
    display: none;
    }

    BIG THANKS. I wanted to do the same thing. So I pasted the whole pinboard “style.css” to the “custom css field in pinboard theme options. (under Layout) Then I pasted
    .entry-author-link,
    .entry-permalink,
    .entry-date,
    .entry-meta {
    display: none;
    }

    into the bottom of the style.css
    Now the home page and post pages don’t show the meta info and the site looks more like a website, not a blog site, which I wanted. Thanks again! Groggo

    Thanks a lot!
    This was really helpful!

    Mohd Rafie thank you very much.
    work perfect.

    How I did it (the dummy’s version!) was to go to “Appearance” then “Theme Options”, scroll down, and at the bottom uncheck “Show theme credit link”, “Show author credit link” and “Show WordPress credit link”.

    Not to hijack the thread, but in the spirit of using the “entry-meta” section, can someone tell me how I can add a “comment” link to the bottom of the post? I see how to remove elements, how about adding? I do not see a thread on this currently.

    You people are amazing. Thank you for responding to these cries for help!

    This thread helped me a lot.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘How to hide date and author’ is closed to new replies.