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 | |
/** | |
* Customization API | |
*/ | |
//add_action( 'customize_register', 'awesome_theme_customizer' ); | |
// | |
function awesome_theme_customizer( $wp_customize ) { | |
//Link color | |
//create the setting and its defaults | |
$wp_customize->add_setting( 'awesome_link_color', array( 'default' => '#6bcbca', )); |
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
/** | |
* 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'; |
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 if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> |
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 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 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 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 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
/* | |
stylesheet for recent posts plugin with thumbnails | |
*/ | |
.products-widget img { | |
margin:0 0 10px 0; | |
} | |
.products-widget .readmore { | |
display:none; | |
} |
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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, |
OlderNewer