</div>
			<div class="portfolio portfolio-v2">
				<div class="container">
					<div class="filters">
						<ul id="filters">
							<li class="active" data-filter="*">All</li>
							<li data-filter=".user-experience">User Experience</li>
							<li data-filter=".web-design">Web Design</li>
							<li data-filter=".development">Development</li>
							<li data-filter=".maintenance">Maintenance</li>
						</ul>
					</div>
					<div class="row portfolio-masonry">
						
						<?php 
    // List mode
    perch_content_custom('Projects', array('template' => 'project_listing.html'));
    ?>

					</div>
				</div>
			</div>
		</div>

<?php 
}
// Else
?>

<?php 
perch_layout('footer');
Example #2
0
<?php

error_reporting(0);
include 'cms/runtime.php';
echo '<' . '?xml version="1.0"?' . '>';
?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
			<atom:link href="<?php 
perch_content('url');
?>
/offers-rss.php" rel="self" type="application/rss+xml" />
        <title>4 Hair Offers</title>
        <link><?php 
perch_content('url');
?>
/offers</link>
        <description>Grab the latest offers from 4 Hair</description>
				<?php 
$opts = array('page' => '/offers.php', 'template' => '_offers_rss_item.html');
perch_content_custom('Offers', $opts);
?>
    </channel>
</rss>
Example #3
0
<?php

include $_SERVER['DOCUMENT_ROOT'] . "/includes/global-vars.php";
$menu_location = "projects";
$m_title = "Showcase of Andrew R McHugh";
include $path_includes . '/header.php';
?>

<div class="container">
   <?php 
include $path_includes . '/nav-top.php';
?>
   <div class="row">
      <div class="col-xs-12">
         <h1>Selected Projects</h1>
      </div>
   </div>
   <div class="row">
      <div class="col-xs-12" domFlag>
         <?php 
perch_content_custom('Showcase Meta', array('page' => '/projects/*', 'template' => 'project-showcase.html', 'sort' => 'pd_order'));
?>
      </div>
   </div>
</div>
<?php 
include $path_includes . '/footer.php';
					</div>
				</div>
			</div>

			<div class="portfolio">
				<div class="container">

					<h2 class="inline-title">Our Work</h2>

					<div class="filters">
						<ul id="filters">
							<li class="active" data-filter="*">All</li>
							<li data-filter=".user-experience">User Experience</li>
							<li data-filter=".web-design">Web Design</li>
							<li data-filter=".development">Development</li>
							<li data-filter=".maintenance">Maintenance</li>
						</ul>
					</div>
					<div class="row portfolio-masonry">
						
						<?php 
// List mode
perch_content_custom('Projects', array('page' => '/work/index.php', 'template' => 'project_listing.html'));
?>

					</div>
				</div>
			</div>
		</div>
<?php 
perch_layout('footer');
<?php

if (!defined('PERCH_RUNWAY')) {
    include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php';
}
perch_content_create('Content', array('template' => 'Article/Article_content.html'));
perch_content_create('Sidebar', array('template' => 'Article/Article_sidebar.html'));
perch_layout('header');
perch_layout('meta');
perch_layout('navigation');
?>
<span <?php 
perch_content_custom('Sidebar', array('template' => '#/sidebarid.html'));
?>
 itemscope itemtype="https://schema.org/Article">
<header id="margin-subnav" class="b-grey-d <?php 
perch_page_attribute('headerclass', array('template' => 'margin_subnav.html'));
?>
">
  <div class="hero" itemprop="image" style="background: url(<?php 
perch_page_attribute('image');
?>
)">
    <div class="hero-overlay" style="background: linear-gradient( rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75) )"></div>
    <div class="hero-title-ctnr">
      <div class="hero-group">
        <span itemprop="headline"><h1 class="hero-title large white text-shadow"><?php 
perch_page_attribute('pageTitle');
?>
</h1></span>
      </div>
Example #6
0
         <input class="form-control minimal js-search-projects input-lg" type="text" placeholder="Search for a word or #tag">
         <ul class="list-inline">
            <li>
               <label>
                  <input type="checkbox" id="interestingbox"> Just see what is most interesting
               </label>
            </li>
            <li class="pull-right">
               <i class="fa fa-flash palette7-t"></i> Ongoing &amp; Active Involvement
            </li>
         </ul>
      </div>
   </div>
   <div class="row">
      <?php 
perch_content_custom('Description', array('page' => '/archive/*', 'template' => 'project-card.html', 'sort' => 'date_start', 'sort-order' => 'DESC'));
?>
      <div class="col-xs-12 m-tb-lg">
         <div class="alert alert-warning hidden js-interesting-alert">
            <div class="media">
               <i class="fa fa-fw fa-eye pull-left"></i>
               <div class="media-body">
                  <strong>You're Missing Something!</strong><br>
                     You have the "Most Interesting" checkbox turned on. If you uncheck it, you can see more examples of my work.<br>
                  <label class="m-tb-sm">
                     <input type="checkbox" id="interestingbox2"> Just see what is most interesting
                  </label>
               </div>
            </div>
         </div>
      </div>
Example #7
0
<?php

error_reporting(0);
include 'cms/runtime.php';
echo '<' . '?xml version="1.0"?' . '>';
?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
			<atom:link href="<?php 
perch_content('url');
?>
/tips-rss.php" rel="self" type="application/rss+xml" />
        <title>4 Hair Styling Tips</title>
        <link><?php 
perch_content('url');
?>
/styling-tips</link>
        <description>Watch hot styling tips from 4 Hair</description>
				<?php 
$opts = array('page' => '/styling-tips.php', 'template' => '_tips_rss_item.html');
perch_content_custom('Style Tip', $opts);
?>
    </channel>
</rss>