v1.0
This commit is contained in:
parent
f53ae91057
commit
df05493b43
10 changed files with 520 additions and 619 deletions
|
@ -95,7 +95,7 @@ $i = 0;
|
|||
<main id="company-main" class="site-main" role="main">
|
||||
<header class="page-header">
|
||||
<?php
|
||||
echo "<h2 class=\"page-title\">".get_queried_object()->name."</h2>";
|
||||
echo "<h1 id=\"page-title\">".get_queried_object()->name."</h1>";
|
||||
the_archive_description( '<div class="taxonomy-description entry-content">', '</div>' );
|
||||
?>
|
||||
</header><!-- .page-header -->
|
||||
|
@ -103,7 +103,7 @@ $i = 0;
|
|||
<div class="row">
|
||||
<div id="timeline" class="col-10 col-m-9"><img class="loading" src="/wp-content/uploads/2016/12/ajax-loader.gif"></div>
|
||||
<div class="index col-2 col-m-3" id="companies-grid-small">
|
||||
<h4>Children</h4>
|
||||
<h2 class="subheading">Children</h2>
|
||||
<ul class="row">
|
||||
<?php
|
||||
$children = apply_filters("taxonomy-images-get-terms", "", array('having_images' => false, 'taxonomy' => 'company', 'term_args' => array('child_of' => get_queried_object()->term_id)));
|
||||
|
@ -126,7 +126,7 @@ $i = 0;
|
|||
$loop = new WP_Query( $args );
|
||||
if ( $loop->have_posts() ) :
|
||||
echo "<div class=\"col-10 col-m-9\">";
|
||||
echo "<h3>".ucwords($currSec)."s <a href=\"/$currSec?company=".get_queried_object()->slug."\">View all ".$loop->post_count."</a></h3>";
|
||||
echo "<h2 class=\"subheading\">".ucwords($currSec)."s <a href=\"/$currSec?company=".get_queried_object()->slug."\">View all ".$loop->post_count."</a></h2>";
|
||||
echo "<div class=\"index\">";
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
get_template_part( 'template-parts/content', get_post_format() );
|
||||
|
|
Reference in a new issue