wordpress question...

Status
Not open for further replies.

mason

New member
Aug 13, 2006
872
6
0
Does anyone know where wordpress defines their functions on the index page? I'm looking through a template I made by editing a default one and I have no idea where any of the functions are defined.

example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

this is the header.php of my wordpress template. How can wordpress use language_attributes() or bloginfo('name'); without defining them? I was under the impression that you always needed to do an include or require'functions.php' before you can use a function...
 


Code:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>

this is code in index.php

is this what you are referring to?
 
Status
Not open for further replies.