WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-SNAP EXT!

ALPHABETICAL PAGING creates an user interface for navigating alphabetically on post titles.

  1. Download the plugin and extract the files
  2. Upload wp-snap-extended to your ~/wp-content/plugins/ directory
  3. Edit the templates your Theme uses and add the following code in Loop:

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

  4. For further customization, go to WordPress Admin > Plugins > WP-SNAP! settings.

  5. You may also change the categories to be displayed and the menu navigational structure by passing variables as a query-string to the plugin like so:

    <?php if (function_exists('wp_snap')) { echo wp_snap('arguments','customPostType'); ?>

There are currently four possible arguments: Category ('cat'), Include Category Children ('child'), Navigational Menu Style ('menu'), and First Load ('firstload'). Category must equal a category number from your WordPress installation, Include Category Children must equal true or false as to whether to include child categories (the default value is false), Navigational Menu Style must equal a number between 1 and 3 (corresponding with the three navigational styles offered in the admin options panel), and First Load must equal ALL, NONE or RECENT and will affect how WP-SNAP! displays posts/tags when it is first called on a template. Note that if RECENT is selected, the number of recent posts/tags to display can be controlled from the admin options page. For instance, to create a navigational menu for all posts in category 15, including child categories, using the default menu navigational style, and displaying recent posts on first load, WP-SNAP! would be called like this:

<?php
if (function_exists('wp_snap')){
    echo wp_snap('cat=15&child=true&firstload=recent');
}
?>

To create a navigational menu for the current category, excluding children and using navigational menu style 3, WP-SNAP! would be called like this:

<?php
if (function_exists('wp_snap')) { echo wp_snap('menu=3'); }
?>

To create a navigational menu for all categories, using default navigational menu style, WP-SNAP! would be called like this:

<?php
if (function_exists('wp_snap')) { echo wp_snap('cat=all'); }
?>

To Use custom post type

<?php
if (function_exists('wp_snap')) {
    echo wp_snap('arguments','customPostType');
}
?>

Test it out and enjoy!

Note: For the Plugin to work, you must have access to edit your WordPress Theme files. You must also have a category.php template file in your WordPress Theme. If you do not, you can create one following the instructions on the WordPress Codex for creating a category template file.

Requires: 3.0.1 or higher
Compatible up to: 3.4.2
Last Updated: 2012-11-5
Downloads: 2,777

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1