govfresh / govpress

The WordPress theme for government
https://wordpress.org/themes/govpress/
GNU General Public License v2.0
135 stars 50 forks source link

Make post and page tags invisible #51

Closed ghost closed 10 years ago

ghost commented 10 years ago

How can I make post and page tags invisible? I don't want them showing up either on the post or on the main blog page with the summaries.

lukefretwell commented 10 years ago

@devinsays would this work?

.entry-meta { display: none; }

ghost commented 10 years ago

Um. Not sure which .php page to add that into...

lukefretwell commented 10 years ago

See the custom css field under appearance/theme settings. Add the CSS code there.

ghost commented 10 years ago

2014-05-22 22_36_52-manage themes wordpress

I'm not seeing a place to add custom css code... I'm working on a wordpress.org self-hosted site - does that make any difference?

ghost commented 10 years ago

Ah. Found a plugin and the code takes them away. But it also takes away the author name and stuff, which I would like to keep.

Would

.entry-meta { display: date; author; }

work?

ghost commented 10 years ago

Also, while I'm at it, how do I get rid of the "Post Title by Author Name" at the bottom of every post?

lukefretwell commented 10 years ago

Not sure if the wordpress.org version has been updated to include CSS editor.

See:

screen shot 2014-05-22 at 8 18 12 pm

On the tags/categories, recommend just deleting from here:

https://github.com/govfresh/govpress/blob/master/content-single.php

I don't see the "Post Title by Author Name" issue, so this might have been deprecated after the wordpress.org version was upload.

ghost commented 10 years ago

Okie dokie. Thanks so much!

devinsays commented 10 years ago

The Jetpack plugin has a custom CSS module. This would also hide them:

footer.entry-meta { display: none }

The benefit of using the css module rather than editing the code directly is that you won't lose your changes when you update.

lukefretwell commented 10 years ago

Ah, yes. @devinsays is that 'Edit CSS' via JetPack or in the most recent version of GP?

devinsays commented 10 years ago

You can always edit a theme's CSS if you have admin permissions via the WordPress editor (regardless of theme).

But the custom CSS module is part of Jetpack.

lukefretwell commented 10 years ago

Thanks for jogging my memory. :-)

JetPack FTW!

lukefretwell commented 10 years ago

Also, I'll be in Austin first week of June for ... DrupalCon. :-|

We should try meeting up, have a GovPress board meeting.