Drupal tip #4: Removing author/date info.

This one surprised me because I didn't know you could do this so easily until I read it in the support email list. If you want to supress the display of author, publication date and taxonomy terms, do as David Metzler suggests:

  • Go to the Administer -> Themes menu
  • Select the "Configure" tab
  • Uncheck "Display Post Information" for the appropriate content type

I used to just modify the theme. But this is simpler if all you want to do is stop displaying the metadata. Nice one.

Comments

01 Boris Mann
01/12/06 @ 12:14

Note that this does *not* stop display of taxonomy terms, only the "posted by" of author name and datestamp.

02 jibbajabba
01/12/06 @ 12:18

Oh. Thanks for the correction, Boris. Fixed.

Advertisement
03 Bèr
01/12/06 @ 22:52

Note that this also does *not* stop the author information from showing up in the search results. However, some think that is a bug. :)

04 bantam
08/03/06 @ 06:46

I'm sure that wasn't there in versions prior to 4.7.

Anyway the author info still displays in some 3rd party modules, and it needs cleaning up.

You can use CSS to hide the author on these pages.

Identify element and use: display:none;

05 Anonymous
04/24/07 @ 21:43

Thank you. This is exactly what I was looking for!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <strong> <dd> <dl> <dt> <i> <li> <ol> <u> <ul> <code> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options