Forked from anonymous/gist:f14041f73416fbbc3b7e374a2ae2d279
Last active
February 17, 2017 16:20
-
-
Save raphaelkross/6ecc582ce7e145beeffbf3f3e5e38d98 to your computer and use it in GitHub Desktop.
Having problems getting the sort to show on this page. See line 8. Site is http://thecopperlemon.com/archives/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Archives Page | |
*/ | |
?> | |
<?php get_header(); ?> | |
<main id="main" class="site-main" role="main"> | |
<div class="facetwp-template"> | |
<?php while (have_posts()) : the_post(); ?> | |
<div class="content-area"> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<div class="entry-content"> | |
<div class="entry-info"> | |
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> | |
<?php edit_post_link( __( 'Edit', 'wpzoom' ), '<span class="edit-link">', '</span>' ); ?> | |
</div> | |
<div class="col_arch"> | |
<h3><?php _e('Popular Categories:', 'wpzoom'); ?></h3> | |
<ul> | |
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'hierarchical' => 0, 'number' => 10 ) ); ?> | |
</ul><div class="clear"></div> | |
</div> | |
<div class="col_arch"> | |
<h3><?php _e('Archives:', 'wpzoom'); ?></h3> | |
<ul> | |
<?php wp_get_archives('type=monthly&show_post_count=1') ?> | |
</ul><div class="clear"></div> | |
</div> | |
<div class="col_arch"> | |
<h3><?php _e('Tags:', 'wpzoom'); ?></h3> | |
<?php the_widget( 'WP_Widget_Tag_Cloud', 'title= ' ); ?> | |
</div><div class="clear"></div> | |
</div><!-- .entry-content --> | |
</article><!-- #post-## --> | |
</div> | |
<?php endwhile; ?> | |
</div> | |
<div class="listings-sort"> | |
<?php echo facetwp_display( 'sort' ); ?> | |
</div> | |
<?php get_sidebar(); ?> | |
</main><!-- #main --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment