Site logo

Archived topic

How can I remove author and date of the post

20 replies · Started by siyuanxing9132gmail-com on November 19, 2014

Viewing posts 1–15 of 21

Hi Tom,

could you please tell me how can I remove author and date in the beginning of the post?

Thanks

Sure can, there's an Add on for that exact thing... i'd highly recommend buying the premium package for $30.

Hi there,

Pete's right, but the addon you're looking for is the "Blog" addon - it will allow you to remove those elements from the post.

If you're not interested in purchasing any addons, let me know and I'll give you some code to use :)

Thanks!

Tom, I'm wondering if I'm missing something or if there's a bug in the newest Blog Addon. This issue only happened where I had a GENERATEPRESS - child running, but the child had nothing added to the style.css...

With everything set to HIDE, everything is hidden.
But the show and hide buttons don't seem to work independently the way I expect or want.
The comment link and tags only hide if categories is hidden. If I show the categories, then the comment link and tags show, even if I have them hidden in the Blog Addon.

The same, sadly, is true of the date and author. I can show the author alone and hide the date, but if I show the date, then the author will not hide, even if Blog Addon says it is.

For now, I added

.byline {display: none !important;} 

to CSS to hide the author but show the date, but the !important was required and nobody wants THAT! :)

Ok, I've bought the premium package. Then what I should do? One more thing, how can I make the featured image shows in the left side of every post in the archive page. Thanks!

@Dee, that's very weird - I'm actually just making a video for Blog going through each option, and definitely haven't experienced any of that. Can you email me a link with a username and password so I can see what's up?

@siyuanxing9132 Awesome, thank you! Go to "Appearance > Customize > Blog > Blog Content" and you can turn each element off one by one.

For the post image, in the same "Blog" section, go to "Post Image" - set your width to something small enough to float left, and then set the alignment to "Left".

Let me know if you have any issues :)

Hi Tom,

Thanks for your help. I'm working with "post image". I couldn't set width and the alignment to "Left". In my "post image" in "BLOG", there are only two options: show and hide.

Tom -

I just got around to looking at this issue again, and it still does not handle Blog Addon options correctly in the child. It also has bold entry titles when in child, but not in GeneratePress itself. I must have something set up incorrectly in the child theme, but I don't see it.

The site is just a sandbox right now and it's here http://www.globalhealth.report.
I'm emailing you a login and a screenshot. (Can we attach images here?)

All plugins are deactivated. The child's style.css only has

/*
Theme Name: generatepresschild
Theme URI: http://www.globalhealth.report/
Description: This is a custom child theme I have created.
Author: Dee Broughton
Author URI: http://www.globalhealth.report/
Template: generatepress
Version: 0.1
*/

@import url("../generatepress/style.css");

It doesn't show an error in WP.

Get rid of that @import line - it performs super slow so GP automatically adds the parent theme's CSS for you in a much better way.

Removing that line should fix it completely.

Let me know :)

But... but... but... what?

I did it and it works, but....

Did I miss something that said that GeneratePress child themes are created differently? Maybe put a link to the instructions in here, too?

This knowledgebase article is about it: http://generatepress.com/knowledgebase/child-theme-working/

I agree that it should be more prominent though.

This happens because GP is set up in a way where the parent theme stuff shows up first, and then the custom CSS generated by the Customizer, and then your CSS in the child theme.

This is cool because CSS "cascades" - CSS that shows up later is regarded as more important, so you can overwrite default CSS and not worry about !importants or making it more specific.

So, by calling the parent theme's CSS a second time, below all of your Customizer settings, makes it so it's more important, and your custom stuff is ignored.

Complicated.. but having it set up this way makes adding your own custom CSS way easier.

Makes sense. I could tell it was being overwritten somehow. So, where would the custom CSS from the Simple plugin fall in this hierarchy?

I believe it would show up below the child theme CSS :)

Hi Tom,

I have the same problem at the moment. Since I got GP Premium just a couple of days ago, I must have an actual version.
From the 5 options date, author, categories, tags and comments in the "Blog Content" of the Blog Add-On, I can only hide the date, but not the others.
Any hint?

Thanks,
Simone

This archived topic is closed to new replies.