Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6798153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:41:45+00:00 2026-05-26T18:41:45+00:00

I am using a customized theme and there is a line of code like

  • 0

I am using a customized theme and there is a line of code like this in for example single.php.

     <p class="postmetadata"><?php _e('Posted by','Mimbo'); ?> <?php the_author_meta('namefl'); ?> <?php _e('on','Mimbo'); ?> <?php the_time('n/d/y'); ?> &bull; <?php _e('Categorized as','Mimbo'); ?> <?php the_category(',') ?></p>

The call to wordpress function the_author_meta(‘namefl’) doesn’t return anything, thus the author name is blank;; display something like was posted by on 11/12/11 for example.

All I would like to do is to display the author name in there. I am using WP 3.2.1. What is the best way to fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:41:46+00:00Added an answer on May 26, 2026 at 6:41 pm

    You should familiarize yourself with the WordPress codex as well as http://wordpress.stackexchange.com. That site is better at answering codex questions. SO is for programming questions.

    Read this:

    http://codex.wordpress.org/

    Use this to solve your problem (has to be used inside the loop)

    http://codex.wordpress.org/Function_Reference/the_author

    <?php the_author(); ?> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When a class is customized, by using its outlet , you cant access its
I've customized a theme and am having some problems with search results using multiple-word
We are developing customized installer using visual studio 2008 installer project. The requirement which
We are developing a customized installer using Wix and Wpf. We have developed some
I am using map kit and showing customized annotation view. One is carImage and
I am currently using Hibernate Tools 3.1; I customized naming convention and DAO templates.
I am using a customised version of search-theme-form.tpl When I use the search box,
I'm creating a customized WordPress theme based on an existing site. I want to
I have a customized Player using compositions and some AVAssets. Everything works fine. Now
I'm developing one android application in which I'm using one customized ListView which extends

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.