PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
devicing
/
wp-content
/
themes
/
agile
<?php /** * Template Name: Single Page Site * * Custom Page template for creating single page site utilizing page sections custom post type instances * * @package Agile * @subpackage Template */ get_header(); // displays slider content if so chosen by user ?> <div id="content" class="<?php echo mo_get_content_class(); ?>"> <div class="hfeed"> <?php $page_sections = mo_get_theme_option('mo_page_section_select_for_one_page'); query_posts(array('post_type' => 'page_section', 'post__in' => $page_sections, 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'menu_order', 'post_status' => 'publish')); if (have_posts()) : while (have_posts()) : the_post(); global $post; $slug = get_post($post)->post_name;?> <article id="<?php echo $slug ?>" class="<?php echo(join(' ', get_post_class()) . ' first'); ?>"> <?php the_content(); ?> <?php if (current_user_can('edit_post', $post->ID) && $link = esc_url(get_edit_post_link($post->ID))) echo '<a class="button edit-button" href="' . $link . '" target="_blank">' . __('Edit', 'mo_theme') . '</a>'; ?> </article> <!-- .hentry --> <?php endwhile; else : get_template_part('loop-error'); // Loads the loop-error.php template. endif; ?> </div> <!-- .hfeed --> </div><!-- #content --> <?php wp_reset_query(); /* Right placement to help not lose context information */ ?> <?php get_footer(); ?>
[+]
framework
[-] template-portfolio.php
[open]
[-] template-gallery.php
[open]
[-] comments.php
[open]
[-] template-bookmarks.php
[open]
[-] archive-gallery_item.php
[open]
[-] loop-nav.php
[open]
[-] template-2c-r.php
[open]
[+]
images
[+]
css
[-] functions.php
[open]
[-] 404.php
[open]
[-] menu-footer.php
[open]
[-] .DS_Store
[open]
[-] sidebar.php
[open]
[+]
..
[-] searchform.php
[open]
[-] loop-gallery.php
[open]
[-] single.php
[open]
[-] dynamic.css
[open]
[-] template-sitemap.php
[open]
[-] home.php
[open]
[-] template-portfolio-filterable.php
[open]
[-] template-full-width.php
[open]
[-] menu-primary.php
[open]
[+]
js
[-] template-popular-posts.php
[open]
[-] license.txt
[open]
[-] single-page_section.php
[open]
[-] template-gallery-filterable.php
[open]
[-] menu-mobile.php
[open]
[-] loop-portfolio.php
[open]
[+]
woocommerce
[-] template-archives.php
[open]
[-] taxonomy-gallery_category.php
[open]
[-] page-content.php
[open]
[-] yarpp-template-agile.php
[open]
[-] page.php
[open]
[-] footer.php
[open]
[-] error_log
[open]
[-] taxonomy-portfolio_category.php
[open]
[-] attachment.php
[open]
[-] template-1c.php
[open]
[-] loop-error.php
[open]
[-] page-content-lite.php
[open]
[-] search.php
[open]
[-] loop-meta.php
[open]
[-] template-home.php
[open]
[-] single-portfolio.php
[open]
[-] template-single-page-site.php
[open]
[-] archive.php
[open]
[-] header.php
[open]
[-] archive-portfolio.php
[open]
[-] screenshot.png
[open]
[-] template-blog.php
[open]
[+]
languages
[-] index.php
[open]
[+]
custom
[-] template-portfolio-home.php
[open]
[-] style.css
[open]