Skip to content

Instantly share code, notes, and snippets.

<?php
/*
Template Name: Links Page
*/
get_header(); ?>
<div id="content" class="d-all t-all m-all">
<?php query_posts('post_type=magazines&posts_per_page=-1'); if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="intro" class="d1-d3">
<?php the_content(); ?>
</div>
<div id="features" class="d4-d12">
features
</div>
<?php endwhile; wp_reset_query(); ?>
@font-face { font-family: AgfaRotis; font-weight: bold; src: url('../fonts/AgfaRotisSemisans-Bold.ttf'); }
body {
font-family: "AgfaRotis", Impact;
}
line 27
$system_path = './system_name';
{exp:channel:entries channel="projects" limit="1" status="featured"}
<article class="featured-project">
<header>
<h1><a href="{title_permalink='projects/view'}">{title}</a></h1>
</header>
<figure class="landscape">
<img src="-/assets/project-landscape.png" width="" height="" alt="Project Image">
</figure>
<footer>
{project_excerpt}
<table class="meta" summary="Project Details">
<tbody>
<tr>
<th>Released:</th>
<td>{project_launched}</td>
</tr>
<tr>
<th>Services:</th>
<td>{exp:channel:categories category_group="2"}
{category_name}
<!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">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<!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">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
@import url(http://fonts.googleapis.com/css?family=Oswald:400,700,300);
li > ul,
li > ol {
margin-bottom: 0;
}
/* $condensed-font: sans-serif; */
/*
$light-grey: #EDF0F1;
$dark-grey: #444444;
<section class="related_projects">
{if projects_related:no_results}nothing{/if}
{if projects_related}Stuff{/if}
<h2>Related Projects</h2>
<ul class="slats">
{projects_related}
<li>
<figure class="project_related">
<a href="{projects_related:title_permalink='projects/view'}"><img src="{projects_related:project_splash}" width="" height="" alt="{projects_related:title} Screenshot"></a>
<figcaption><a href="{projects_related:title_permalink='projects/view'}">{projects_related:title}</a></figcaption>