Forum Replies Created

Viewing 1 replies (of 1 total)
  • vibescdn

    (@vibescdn)

    I tried reading everywhere for this.

    I believe I did set up WP-Snap correctly. However when I click on alphabet letters, it doesnt display posts correctly. It always show the same posts in order beginning at A and ends at 10th post. Below is an “older post” link. When I click for example “U” it doesnt show posts starting with “U”. I am confused!!!

    Official page said “add the following code above the start of the WordPress Loop” in category.php

    Other website said within the wordpress loop (http://lorelle.wordpress.com/2006/09/09/wp-snap-wordpress-plugin-alphabetized-index-listing-of-posts-for-category-pages/)

    I put it like this (look for BOLD WP-Snap comment):

    <?php
    /**
    * The template for displaying Category Archive pages.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */

    get_header(); ?>

    <div id=”container”>
    <div id=”content” role=”main”>

    <h1 class=”page-title”><?php
    printf( __( ‘Category Archives: %s’, ‘twentyten’ ), ‘<span>’ . single_cat_title( ”, false ) . ‘</span>’ );
    ?></h1>

    <!– WP-Snap plug-in –>

    <?php if (function_exists(‘wp_snap’)) { echo wp_snap(); } ?>

    <!– End WP-Snap plugin –>
    <?php
    $category_description = category_description();
    if ( ! empty( $category_description ) )
    echo ‘<div class=”archive-meta”>’ . $category_description . ‘</div>’;

    /* Run the loop for the category page to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-category.php and that will be used instead.
    */
    get_template_part( ‘loop’, ‘category’ );
    ?>

    </div><!– #content –>
    </div><!– #container –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Did I put it in the right place? Thanks!

Viewing 1 replies (of 1 total)