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
<div id="featuredContent"> | |
<div> | |
<h4>This is a content slider.</h4> | |
<p>Each slide holds arbitrary content, like text or actions.</p> | |
</div> | |
<div> | |
<h4>We can include text and buttons, like this!</h4> | |
<p>We take no responsibility for what happens if you click this button.</p> | |
<p><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" class="button" target="_blank">Rock My World!</a></p> | |
</div> |
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
#featured { background: url(spinner.gif) center center #f4f4f4; height: 300px; } | |
#featured img { display: none; } | |
#featured.orbit { background: none; } | |
#featured.orbit img { display: block; } |
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
<ul class="accordion"> | |
<li> | |
<div class="title"> | |
<h5>Accordion Panel 1</h5> | |
</div> | |
<div class="content"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim |
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
/* | |
2. lib/enqueue-sass.php or enqueue-css.php | |
- enqueueing scripts & styles for Sass OR CSS | |
- please use either Sass OR CSS, having two enabled will ruin your weekend | |
*/ | |
require_once('lib/enqueue-sass.php'); // do all the cleaning and enqueue if you Sass to customize Reverie | |
//require_once('lib/enqueue-css.php'); // to use CSS for customization, uncomment this line and comment the above Sass line | |
/* |
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
/* | |
2. lib/enqueue-sass.php or enqueue-css.php | |
- enqueueing scripts & styles for Sass OR CSS | |
- please use either Sass OR CSS, having two enabled will ruin your weekend | |
*/ | |
//require_once('lib/enqueue-sass.php'); // do all the cleaning and enqueue if you Sass to customize Reverie | |
require_once('lib/enqueue-css.php'); // to use CSS for customization, uncomment this line and comment the above Sass line | |
/* |
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
css/foundation.min.css | |
css/normalize.css | |
style.css // the CSS in root directory will be loaded, customize it |
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
/* | |
Theme Name: Reverie Child Theme | |
Description: Child theme for the Reverie | |
Author: Your Name | |
Template: reverie | |
*/ | |
@import url("../reverie/style.css"); | |
/* Start child theme customization below */ |
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 | |
/** | |
* Function: Average | |
* Calculates average of values taken from custom fields out of a WordPress loop. Built of Jason ;) | |
* Author: Baki Goxhaj | |
*/ | |
function average( $post_no ); | |
$no = 0; | |
$query = new WP_Query('posts_per_page=' . $post_no ); while( $query->have_posts() ) : $query->the_posts(); | |
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
/* | |
* Customize Footnotify on your site by adding custom css. | |
* | |
* This file is NOT loaded by the script and must be | |
* implemented on the site in order to apply. | |
* | |
* More info: https://gist.github.com/1046538 | |
* | |
*/ |
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 | |
$temp = $wp_query; | |
$wp_query = null; | |
$wp_query = new WP_Query(); | |
$wp_query->query('showposts=6&post_type=news'.'&paged='.$paged); | |
while ($wp_query->have_posts()) : $wp_query->the_post(); | |
?> | |
<!-- LOOP: Usual Post Template Stuff Here--> |