Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
template: Output of the User name - get_page_usr()?
#2
ChriS Wrote:I'm looking for a method to output the user name in a theme file.
For example
Code:
<meta name="author" content="(GS-PAGE-USR-HERE)">
The Template Tags Wiki and the Forum has no function documented for this. Is there one to use?
What exact user do you want to place within template ?

I'd suggest to use a function which would take the <user><![CDATA[user]]></user> from xml file.
You can base on excerpt script I've made long time ago, and use it to grab the user variable.
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
template: Output of the User name - get_page_usr()? - by yojoe - 2012-02-26, 02:17:54



Users browsing this thread: 1 Guest(s)