Skip to content

Instantly share code, notes, and snippets.

<section class="related_projects">
{if projects_related:no_results}nothing
{if:else}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>
<div class="accordion" id="accordion2" data-component="tab">
<div class="accordion-group">
<ul class="row pricing-breakdown threes nav nav-tabs">
<li class="span4 price-panel monthly-price-panel">
<div class="info-block">
<strong class="title">Talk to us about your renewal</strong>
</div>
<div class="action-btn">
{embed="includes/head"}
<body {if embed:body_id}
id="{embed:body_id}"
{if:elseif segment_1}
id="{segment_1}"
{/if}>
<div class="wrapper">
{embed="includes/header"}
<ul class="paginate">
<?php if (get_next_posts_link()) { ?><li class="previous"><?php next_posts_link(__('< Previous Posts')); ?></li><?php } ?>
<?php if (get_previous_posts_link()) { ?><li class="next"><?php previous_posts_link(__('Newer Posts >')); ?></li><?php } ?>
</ul>
<?php query_posts( array( 'post__not_in' => get_option( 'sticky_posts' ) ) ); if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
{exp:channel:entries channel="city" dynamic="no" search:city_name="={segment_1}"}
{categories}
{if {count} == 1}
{embed="core/city_info"
category="{category_id}"
location_information="{location_information}"
city_name="{city_name}"
city_colour="{colour}"
}
{/if}
{exp:channel:entries channel="city"}
City
<ul>
{exp:playa:parents channel="property"}
<li>{title}</li>
{/exp:playa:parents}
</ul>
{/exp:channel:entries}
<?php
/*
Template Name: Daily Results Page
*/
?>
<?php get_header(); ?>
<div class="wrapper">
<main>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<a href="{route="projects/view" project="{url_title}"}" class="btn btn--primary">View Project</a>
TEMPLATE DEBUGGING
(0.000012 / 7.44MB) - Begin Template Processing -
(0.000040 / 7.44MB) URI: projects/quality-nishikigoi
(0.000053 / 7.44MB) Path.php Template: /
(0.000068 / 7.44MB) Retrieving Template
(0.000080 / 7.44MB) Parsing Template URI
(0.009966 / 7.71MB) Retrieving Template from Database: projects/view
(0.010718 / 7.71MB) Template Found
(0.010761 / 7.72MB) Determining Template Access Privileges
(0.011245 / 7.72MB) Retrieving Template from File