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 // The WordPress Loop - customized with query_posts | |
query_posts('cat=-9'); // exclude Asides category (tag_ID = 9) | |
if (have_posts()) : while (have_posts()) : the_post(); | |
... | |
endwhile; else: | |
... | |
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 // The WordPress Loop | |
if (have_posts()) : while (have_posts()) : the_post(); | |
... | |
endwhile; else: | |
.. | |
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 | |
$first_query = new WP_Query('cat=7&showposts=3'); | |
while($first_query->have_posts()) : $first_query->the_post(); | |
the_excerpt(); | |
endwhile; | |
//Add next and previous links after query | |
next_posts_link('« Older Entries'); | |
previous_posts_link('Newer Entries »'); |
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
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, | |
pre, form, fieldset, table, th, td | |
{ | |
margin: 0; | |
padding: 0; | |
border: 0; | |
box-sizing: border-box; | |
} |
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> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
<meta name="description" content=""> |
NewerOlder