Hi
I try to use that code in category.php
is not working
<?php get_header(); ?>
<?php // Get Theme Options from Database
$theme_options = leeway_theme_options();
?>
<div id=”wrap” class=”clearfix”>
<section id=”content” class=”primary” role=”main”>
$args = array(‘orderby’ => ‘title’, ‘cat’ => <category id>);
$query = new WP_Query($args);
<h2 id=”category-title” class=”archive-title”>
<?php printf(__(‘Category Archives: %s’, ‘leeway’), ‘<span>’ . single_cat_title( ”, false ) . ‘</span>’); ?>
</h2>
<?php if (isset($theme_album)) : $theme_album->ta_albumFormat(); else : ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
get_template_part( ‘content’, $theme_options[‘posts_length’] );
<?php endwhile; else : ?>
<p><?php _e( ‘Sorry, no posts matched your criteria.’ ); ?></p>
<?php endif; ?>
<?php endif; ?>