This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
?> | |
<?php get_header(); ?> | |
<h2><?php _e('Error 404 - Not Found'); ?></h2> | |
<?php get_search_form(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
?> | |
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> | |
<label for="s"><?php _e('Search'); ?></label><br /> | |
<input id="s" type="text" name="s" value="<?php the_search_query(); ?>" /> | |
<input id="searchsubmit" type="submit" value="<?php _e('Search'); ?>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
?> | |
<!-- Comments for WP 2.7 and more --> | |
<?php | |
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == | |
basename($_SERVER['SCRIPT_FILENAME'])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
if ( function_exists('register_sidebar') ) | |
register_sidebar(array( | |
'before_widget' => '<li id="%1$s" class="widget %2$s">', | |
'after_widget' => '</li>', | |
'before_title' => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
?> | |
<!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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Your_Theme | |
*/ | |
get_header(); ?> | |
<?php if (have_posts()) : ?> | |
<?php while (have_posts()) : ?> | |
<?php the_post(); ?> | |
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Theme-Name | |
Theme URI: The-Theme-Web-Site | |
Description: The-Theme-Description | |
Version: The-Theme-Version | |
Author: Your-Name | |
Author URI: Your-Web-Site | |
General information if any. | |
License statement if any. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> | |
<?php if(function_exists('get_avatar')) { echo get_avatar($comment, '50'); } ?> | |
<cite><?php comment_author_link() ?></cite> Says: | |
<?php if ($comment->comment_approved == '0') : ?> | |
<em>Your comment is awaiting moderation.</em> | |
<?php endif; ?> | |
<br /> |