• Skip to main content
  • Skip to primary sidebar

Victor Font Consulting Group, LLC

The DEX Intranet Specialists

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network

Author Box Title Customization in Genesis

September 23, 2015 By Victor M. Font Jr.

Author Box Title Customization in Genesis, Ernest Hemingway public domain image courtesy of pixabay.com

Unless you are Ernest Hemingway, some other famous author, or run a single author WordPress/Genesis Framework powered site, you just might want to display the author's name in the entry meta area for your posts and pages. Another way to display your site's authors is with an author box. An author box can appear on single posts or archive pages. The Genesis Framework supports an author box and has one built-in ready for you to display. You can learn more about the Genesis Author Box either from Brian Gardner or Studio Press.

A user recently wrote and asked:

I want the Author Box Title to link to the author’s archive page when on a single post, but not when the Author Box is used on the Archive Page.

To provide this result, the author box title needs to be customized.

Author Box Title Customization

Studio Press provides the following basic code snippet to customize the author box title.

This works great if you want the title of the author box to read "About the Author". However, this doesn't meet the user's needs. We modified the above code to include the features the requester wants. As a word of caution, we do not use this code on our site out of security concerns (see below). If you decide to use this code, you do so at your own risk.

A BIG Security Concern

There’s one BIG security concern I’d like to address with this approach. WordPress uses the user_nicename field as the URL for author archive pages. The user_nicename holds the same value as the user_login. There’s no way to change this in the admin area. By using author archive pages, you are exposing user login ids to the world. There’s no easy way to fix this. However, here’s an article that explains how to change the user_nicename through PHPMyAdmin: http://premium.wpmudev.org/blog/change-admin-username/

  • 2shares
  • Facebook0
  • Twitter0
  • Pinterest0
  • LinkedIn2
  • Print
  • SMS0

Filed Under: Child Themes, Code Snippet, Genesis, Programming, WordPress Tagged With: Child Themes, Code Snippet, Genesis, Programming, WordPress

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

Primary Sidebar

Shopping Cart

Books

  • Ultimate Guide to the SDLC front cover The Ultimate Guide to the SDLC
    Rated 5.00 out of 5
    $74.95
  • Winning With WordPress Basics 2nd Edition Winning With WordPress Basics 2nd Edition $19.95

Recent Articles

  • Modern Scam Defense: How Consumers and Businesses Can Recognize and Stop Email, Phone, and Text Fraud
  • How to Write a PRD So Dense It’s Technically a Novel
  • Top 5 Plugin Names That Scare Our Legal Department
  • When Agile Meets Our 3-Year Waterfall Roadmap: A Love Story
  • Why Our Enterprise Needs 27 Stakeholders to Approve a Button Color Change

Top 10 Article Categories

Best Practice Code Snippet Computers and Internet Genesis How To Leadership Programming Servant Leadership Tutorial WordPress

 
We only use analytical cookies on our website that allow us to recognize and count the number of visitors, but they do not identify you individually. They help us to improve the way our website works. By clicking Accept you, agree to cookies being used in accordance with our Cookie Policy.