This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="description" content="DESCRIPTION" /> | |
<title>SITE NAME - SITE DESCRIPTION</title> | |
<link rel="stylesheet" href="RESET_STYLESHEET_URL" media="screen" /> | |
<link rel="stylesheet" href="STYLESHEET_URI" media="screen" /> | |
</head> |
This file contains hidden or 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
/* | |
== custom post type - PRODUCTS | |
*/ | |
.archive-title{ | |
margin:20px 47px; | |
font-size:30px; | |
text-align:center; | |
color:#CCC; | |
border-top: double 1px #EEE; | |
border-bottom: double 1px #EEE; |
This file contains hidden or 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 if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<!-- template tags and HTML go here, like this: --> | |
<h2><?php the_title(); ?></h2> | |
<?php endwhile; else:?> | |
<h2>Sorry, no posts found</h2> | |
<?php endif; ?> |
This file contains hidden or 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 if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> |
This file contains hidden or 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
/** | |
* Comments.php callback function | |
*/ | |
//this will control what each comment looks like when wp_list_comments() runs. | |
function awesome_comment($comment, $args, $depth) { | |
$GLOBALS['comment'] = $comment; | |
extract($args, EXTR_SKIP); | |
if ( 'div' == $args['style'] ) { | |
$tag = 'div'; |
NewerOlder