• Resolved epicjono

    (@epicjono)


    Hi! I’d like to remove the author from the post byline, since I’m the only author. I created a post-byline.php file in my child theme, but I couldn’t figure out how to remove it from there. I also tried using CSS. Any help is appreciated. thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey there,

    Period actually has a built-in option for this. Inside the Customizer, open the Show/Hide Elements section, and you’ll see the option to hide the author name there.

    Thread Starter epicjono

    (@epicjono)

    Oh, true. Thanks! Also, when the author name is clicked, what if I wanted to redirect that link to the about page? Because right now, it seems to just bring me back to the home page.

    Theme Author Ben Sibley

    (@bensibley)

    Sure thing!

    The author link points to the author archive, so it looks like there is already a homepage redirect in place. I’m guessing that the author archives have been disabled by Yoast SEO and that’s causing the redirect.

    You could either add your own 301 redirect from the author archive to the about page or edit the link HTML with your child theme. If you want to use the child theme, add a folder to your child theme called “content” and copy the post-byline.php from the “content” folder in Period into your child theme’s “content” folder.

    The post-byline.php file has a lot of additional code you won’t need anymore. You can simplify it greatly and include a static link to your about page there.

    Thread Starter epicjono

    (@epicjono)

    Thanks, I was able to make the necessary changes in the child theme!

    Theme Author Ben Sibley

    (@bensibley)

    Great, glad to hear that ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Post Author from Byline’ is closed to new replies.