- This topic has 20 replies, 5 voices, and was last updated 7 years, 4 months ago by
Tom.
-
AuthorPosts
-
November 19, 2014 at 8:09 pm #47549
siyuanxing9132gmail-com
Hi Tom,
could you please tell me how can I remove author and date in the beginning of the post?
Thanks
November 19, 2014 at 10:26 pm #47559Pete
Sure can, there’s an Add on for that exact thing… i’d highly recommend buying the premium package for $30.
November 20, 2014 at 12:47 am #47630Tom
Lead DeveloperLead DeveloperHi 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!
November 20, 2014 at 1:48 pm #47784Dee Broughton
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! π
November 20, 2014 at 1:56 pm #47786siyuanxing9132gmail-com
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!
November 20, 2014 at 2:21 pm #47791Tom
Lead DeveloperLead Developer@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 π
November 20, 2014 at 8:51 pm #47847siyuanxing9132gmail-com
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.
November 20, 2014 at 11:43 pm #47867Tom
Lead DeveloperLead DeveloperMake sure you’re using the latest version of GP Premium or the Blog add-on, when the newest version is installed, you should see it as it is in the new video on this page: http://generatepress.com/downloads/generate-blog/
November 23, 2014 at 1:31 pm #48573Dee Broughton
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.
November 23, 2014 at 1:39 pm #48576Tom
Lead DeveloperLead DeveloperGet 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 π
November 23, 2014 at 1:48 pm #48578Dee Broughton
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?
November 23, 2014 at 2:12 pm #48588Tom
Lead DeveloperLead DeveloperThis 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.
November 23, 2014 at 3:11 pm #48603Dee Broughton
Makes sense. I could tell it was being overwritten somehow. So, where would the custom CSS from the Simple plugin fall in this hierarchy?
November 25, 2014 at 11:13 am #49059Tom
Lead DeveloperLead DeveloperI believe it would show up below the child theme CSS π
April 15, 2015 at 4:43 am #98686Simone
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 -
AuthorPosts
- You must be logged in to reply to this topic.