Syntax Help: Include a “Nickname”.php file based on Post author in real time?
-
I want to display author information on top of single post. Instead of using a plugin which calls database for information I created one php page for each author with static information about the Author and placed it in theme root.
I am using the following code to call and include the static .php file based on the authors nickname.
<?php include(TEMPLATEPATH.”/the_author_nickname().php”); ?>
As you can see I am clearly not good at it.. just trying to learn and do something here.
Would using a .html instead of a .php save some more processing time?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Syntax Help: Include a “Nickname”.php file based on Post author in real time?’ is closed to new replies.