• I know that this topic has been up before, but I can’t seem to solve it.

    I’m building/modifying this website: riyadelcadi.photogear.dk

    If you go to the rooms sections, you will find all the rooms.

    These rooms a built up on the blog feature in wordpress, using categories “suits, doubles etc.”

    The thing is that I want to remove the line in top of every post saying: “by cadi in All Rooms / Blue House on Friday, January 14, 2011 • Comments Closed • • Edit entry”

    without removing it from the blog section on the page.

    In short: I need to remove the “Author, Date etc.” from only some specified blog categories.

    I don’t know any PHP, but hope that you guys are able to help.

    All the best
    Niels

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to edit your theme’s category template file. See Category_Templates.

    There’s no need to go digging around in PHP files if you feel it’s over your head. We can use CSS to hide the bits you don’t want to see.

    Simply add this rule to one of your css files (I see 1-default.css and style.css):

    .category-all-rooms .post-meta { display: none; }

    Thread Starter nkbitsch

    (@nkbitsch)

    That was easy! and it worked!

    Thank you so much!

    I added the line to the custom.css file.

    Thread Starter nkbitsch

    (@nkbitsch)

    Hi again.

    One more question.

    If I now want to remove “next post” and previous post button, what should I write?

    My guess was:

    .category-all-rooms .post-navigation {
    display: none;
    }

    But it doesn’t seem to work..

    Any help is appreciated..

    Thread Starter nkbitsch

    (@nkbitsch)

    Problem solved. Solution:

    .post-navigation {
    display: none;
    }
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Removing Author, Date etc.’ is closed to new replies.