Site logo

[Resolved] Author shown dispite disableing the checkbox in the Customizer

Home Forums Support [Resolved] Author shown dispite disableing the checkbox in the Customizer

Home Forums Support Author shown dispite disableing the checkbox in the Customizer

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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.

    #1492120
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so we can see the issue?

    #1492132
    Phuc
    #1492412
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Is your site using any custom functions/filters? If so, any of them targeting the post meta/author?

    #1492477
    Phuc

    I don’t think so. It used to work before I updated to the recent generatepress theme.

    #1492479
    Phuc

    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';
    }
    #1493496
    Tom
    Lead Developer
    Lead Developer

    Ah, that’ll do it. Glad you found the issue 🙂

    #1493989
    Phuc

    No no, adding the code didn’t solve the problem. I had to remove that part, which makes no sense to me.

    #1494673
    Tom
    Lead Developer
    Lead Developer

    That code removes the author regardless of your Customizer settings.

    Removing it will allow the Customizer setting to work.

    #1518247
    Phuc

    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.

    #1518313
    Tom
    Lead Developer
    Lead Developer

    We did change some post meta functionality in 3.0 to allow us better control for a future Customizer option. Glad it’s working now 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.