Skip to content

Instantly share code, notes, and snippets.

@tim-steele
tim-steele / related-stories.html
Created September 22, 2012 00:37
Related Stories
@tim-steele
tim-steele / results-list_post.html
Created September 18, 2012 19:44
Result List for post types (guides/blogs)
<article class="widget content-container span12 results-list_posts">
<section class="content-body">
<article class="content-container post">
<section class="content-body clearfix">
<div class="featured-image span6">
@tim-steele
tim-steele / Featured Category Questions
Created September 17, 2012 20:18
Featured Category Questions
@tim-steele
tim-steele / Featured Question
Created September 17, 2012 20:16
Featured Question
@tim-steele
tim-steele / Featured Buying Guide and Featured Blog Post
Created September 17, 2012 20:10
Featured Buying Guide and Featured Blog Post
<article class="content-container featured-post span12">
<header class="content-header">
<h3>Featured Blog Post</h3>
</header>
<section class="content-body clearfix">
<div class="featured-image span6">
<img src="/wp-content/uploads/2012/07/blogmodule.jpg">
</div>
@tim-steele
tim-steele / gist:3738582
Created September 17, 2012 17:19
Featured Category Questions
<article class="widget content-container featured-category-questions widget span12">
<header class="content-header">
<h1>Featured Questions</h1>
</header>
<section class="content-body clearfix">
<section class="span6">
<!-- DROPZONE: FIRST FEATURED QUESTION -->
@tim-steele
tim-steele / Ad
Created September 13, 2012 19:29
<article class="widget content-container span6 ad-widget">
<header class="content-header">
<h1>Advertisement</h1>
</header>
<section class="content-body clearfix">
[HTML HERE]
</section>
</article>
<article class="widget content-container span12 page-title">
<section class="content-body">
<h1>All Q&amp;As</h1>
<h2>Got a question? Ask and find your answer right here.</h2>
</section>
</article>
<!-- OLD -->
<article class="widget content-container span12 image-widget">
<header class="content-header">
<h3>Discover ideas. Ask Questions. Be you. Welcome to the Community.</h3>
<h4>Subtitle</h4>
</header>
<article class="content-container">
<img src="">
</article>
@tim-steele
tim-steele / wp-config.php
Created July 2, 2012 21:25 — forked from eddiemoya/wp-config.php
WordPress - wp-config.php settings for dynamic host detection.
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content' );
define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content/plugins' );
define( 'PLUGINDIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content/plugins' );
define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content');
define( 'WP_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content/plugins');
define( 'UPLOADS', 'wp-content/uploads' );