- This topic has 10 replies, 3 voices, and was last updated 1 year, 7 months ago by
Tom.
-
AuthorPosts
-
October 16, 2020 at 7:11 am #1491934
Phuc
Hi,
I’ve set my blogposts to NOT show the Author. After updating to the recent version, the Author is visible. On Archive and Detail Pages. No matter if I check or uncheck to show the Author in the Customizor.
Please fix that.
October 16, 2020 at 8:02 am #1492120David
StaffCustomer SupportHi there,
can you share a link to your site so we can see the issue?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 16, 2020 at 8:16 am #1492132October 16, 2020 at 11:13 am #1492412Tom
Lead DeveloperLead DeveloperHi there,
Is your site using any custom functions/filters? If so, any of them targeting the post meta/author?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 16, 2020 at 12:33 pm #1492477Phuc
I don’t think so. It used to work before I updated to the recent generatepress theme.
October 16, 2020 at 12:41 pm #1492479Phuc
Never mind, found the Problem.
I’ve added following in my child theme.add_filter( 'generate_post_author','tu_autho_link' ); function tu_autho_link() { return 'false'; }
October 17, 2020 at 11:10 am #1493496Tom
Lead DeveloperLead DeveloperAh, that’ll do it. Glad you found the issue ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 18, 2020 at 2:48 am #1493989Phuc
No no, adding the code didn’t solve the problem. I had to remove that part, which makes no sense to me.
October 18, 2020 at 12:12 pm #1494673Tom
Lead DeveloperLead DeveloperThat code removes the author regardless of your Customizer settings.
Removing it will allow the Customizer setting to work.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 4, 2020 at 1:16 pm #1518247Phuc
Yes, it should have removed the author regardless of the settings. It used to work before an update. After the update the author was showing while the code was still active. That’s what I’m trying to say.
So I had to remove the code that worked before the update and then set hide author in the customizer.
November 4, 2020 at 2:24 pm #1518313Tom
Lead DeveloperLead DeveloperWe did change some post meta functionality in 3.0 to allow us better control for a future Customizer option. Glad it’s working now ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.