Community Documentation

Show/hide 'Submitted by' on posts

Last updated December 4, 2008. Created by karldied on September 23, 2005.
Edited by LeeHunter, sepeck. Log in to edit this page.

Set appropriate post information for your site.

In (Administer > Site building > themes), select the "Configure" tab, then "Global settings." Select the appropriate "Display post information on" settings that are right for your site.

Available options will be determined by the installed modules on your site. Other options can be configured on the individual theme's configuration page.

Comments

question

what about themes that aren't affected by this setting?

How do we enable the setting to take effect on the contributed themes without having to hard-code the displaying line to a comment i.e. "// or /* */"

answer

You can add :

<?php
if ($submitted):
?>

Hard coded "Submitted by..."
<?php
endif;
?>

If you want to be fully standard, replace the hard coded part by :

<?php
print $submitted;
?>

You can then use submitted_by module to customize it.

Calexo
http://www.calexo.net/

Thanks Given

Whoever, admin/god I guess, contributed the following..."In (Administer > Site building > themes), select the "Configure" tab, then "Global settings." Select the appropriate "Display post information on" settings that are right for your site."

Thank You very much. problem resolved.

Johann

thanks!

Would have never found this in a million years, much thanks. So many seemingly basic and standard features can be so hidden and dispersed throughout drupal.

d.

I found it.

Drupal 7 Do Not Display Submitted By

Look under 'Structure'-> 'Content Types' -> then select 'Edit' for either Article or Basic Page. Then select 'Display Settings' and uncheck the 'Display author and date information' box.

I wish I could "Like" this.

I was searching everywhere!

What if I just want By (author's name)

What if I just wanted to remove the word Submitted and just leave By author's name.

Is this possible?
Thank you.

Changing "Submitted by..."

This is probably what you're looking for:
http://drupal.org/node/1072640

Mark EWERS

Archive

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.