• I am trying to figure out how to display the ‘Posted on… ‘ date in some categories while hide it in others. Can anyone please help me out?

    My website is http://www.visitjames.com if you check it out I have four categories Featured Design, More Design, Drawings and Blog. I want to only display the ‘Posted on…’ date in the blog categories. Is there any way to do this?

    Currently on the side I have the below code to remove ALL the ‘Posted on…’ dates:

    .entry-utility{
    display: none;

    I am guessing this has to be changed? And perhaps something in loop.php???

    Thanks James

Viewing 2 replies - 1 through 2 (of 2 total)
  • you could force the .entry-meta back by using a style like this:

    .category-blogging .entry-meta { display: inline!important; }

    Thread Starter visitjames

    (@visitjames)

    Thanks Alchymyth, that nearly did the trick!

    The ‘Posted on…’ dates only display in my ‘Blogging’ category but the dates also display on the landing page, i.e. when the user first arrives at the site they are presented with the latest posts (here the dates are displayed).

    1) Is there a way to hide these dates from being displayed on the landing page?

    Also another small problem, I want to increase the gap above the ‘Posted on…’ date so there is more breathing room. I have tried the padding-top: 10px; and margin-top: 10px; within .category-blogging .entry-meta but it is not working.

    2) Can you please suggest something to fix this? Below is my current code:

    {
    .entry-meta {
    	display: none;
    }
    .category-blogging .entry-meta { display: inline!important;
    	padding-top: 10px;
    	color: #888;
    	font-size: 10px;
    	text-transform:uppercase;
    }

    3) This is a little unrelated but I am also trying to figure out how to set up my website so that when the user first arrives to the website they will only see posts from the Featured Design category (i.e. only one category). Setting it up in this manner would remove the problem I am having with question 1. Do you have any suggestions on this?

    Thanks
    James

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TwentyTen Theme – Display 'posted on…' date in selected categories’ is closed to new replies.