• Crafty Angel

    (@baby-girl-productions)


    Hi,

    I am starting a site about music artist and i want viewers to be able to go to a page and select an artist from a list of artist and find out about them. I basically need a page with links that can be alphabetical and update automatically when i create a new category or artist name. I would like the links to be either thumbnails or text.

    not quite sure if this can be done or not but if anyone knows how to i would be grateful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here’s a Page Template that works with the WordPress Default theme:

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    
    /*
    Template Name: Category_Links
    */
    ?>
    
    <?php get_header(); ?>
    
    <div id="content" class="widecolumn">
    
    <h2>Category Links:</h2>
    <ul>
    <?php wp_list_categories(); ?>
    </ul>
    
    </div>
    
    <?php get_footer(); ?>
    Thread Starter Crafty Angel

    (@baby-girl-productions)

    Thanks for your reply. i have two questions doh,
    How would i use it with a theme other then the default? because i have just purchased a theme.
    And could i set it up to links to a certain category or would it list all the categories?

    You would create a Page Template for your theme and then use wp_list_categories.

    The template tag, wp_list_categories(), offers an exclude= or include= argument to limit the categories that are displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a page of category links’ is closed to new replies.