Forums

Removing Author, Date etc. (6 posts)

  1. nkbitsch
    Member
    Posted 8 months ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    You need to edit your theme's category template file. See Category_Templates.

  3. Matt Van Andel
    Member
    Posted 8 months ago #

    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; }

  4. nkbitsch
    Member
    Posted 8 months ago #

    That was easy! and it worked!

    Thank you so much!

    I added the line to the custom.css file.

  5. nkbitsch
    Member
    Posted 7 months ago #

    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..

  6. nkbitsch
    Member
    Posted 7 months ago #

    Problem solved. Solution:

    .post-navigation {
    display: none;
    }

Reply

You must log in to post.

About this Topic