PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
devicing
/
wp-content
/
themes
/
agile
<?php /** * Loop Meta Template * * Displays information at the top of the page about archive and search results when viewing those pages. * This is not shown on the home page and singular views. * * @package Agile * @subpackage Template */ function mo_get_date_text() { if (!is_date()) return; $text = ''; if (is_day()) $text = get_the_time('j M,Y'); elseif (is_month()) $text = get_the_time('M,Y'); elseif (is_year()) $text = get_the_time('Y'); return $text; } ?> <?php if (is_single()): return; ?> <?php elseif (is_category()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php single_cat_title(); ?></h1> <div class="loop-description"> <?php echo category_description(); ?> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_tag()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php single_tag_title(); ?></h1> <div class="loop-description"> <?php echo tag_description(); ?> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_tax()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy')); echo $term->name; ?></h1> <div class="loop-description"> <?php echo term_description('', get_query_var('taxonomy')); ?> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_author()) : ?> <?php $id = get_query_var('author'); ?> <div id="hcard-<?php the_author_meta('user_nicename', $id); ?>" class="loop-meta vcard"> <h1 class="loop-title fn n"><?php the_author_meta('display_name', $id); ?></h1> <div class="loop-description"> <?php echo get_avatar(get_the_author_meta('user_email', $id), '50', '', get_the_author_meta('display_name', $id)); ?> <p class="user-bio"> <?php the_author_meta('description', $id); ?> </p><!-- .user-bio --> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_search()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php echo esc_attr(get_search_query()); ?></h1> <div class="loop-description"> <p> <?php printf(__('You are browsing the search results for "%1$s"', 'mo_theme'), esc_attr(get_search_query())); ?> </p> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_date()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php _e('Archives for ' . mo_get_date_text(), 'mo_theme'); ?></h1> <div class="loop-description"> <p> <?php _e('You are browsing the site archives by date.', 'mo_theme'); ?> </p> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (function_exists('is_post_type_archive') && is_post_type_archive()) : ?> <?php $post_type = get_post_type_object(get_query_var('post_type')); ?> <div class="loop-meta"> <h1 class="loop-title"><?php echo $post_type->labels->name; ?></h1> <div class="loop-description"> <?php if (!empty($post_type->description)) echo "<p>{$post_type->description}</p>"; ?> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_archive()) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php _e('Archives', 'mo_theme'); ?></h1> <div class="loop-description"> <p> <?php _e('You are browsing the site archives.', 'mo_theme'); ?> </p> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php elseif (is_page_template('template-popular-posts.php')) : ?> <div class="loop-meta"> <h1 class="loop-title"><?php _e('Most Popular', 'mo_theme'); ?></h1> <div class="loop-description"> <p> <?php _e('You are browsing the site archives by popularity.', 'mo_theme'); ?> </p> </div><!-- .loop-description --> </div><!-- .loop-meta --> <?php endif; ?>
[+]
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]