Forums

Move side categories off index.php to a seperate archive page ? (7 posts)

  1. ydalycul
    Member
    Posted 2 years ago #

    Hi my website http://www.beingll.com/wordpress

    I have vast categories and I would like to move them off the side bar and on to
    a separate page. Does any body have any ideas. They could get a free good posted out to them like a hand screen printed gig poster for helping ?

    Thanks

    Lady Lucy

  2. jessn
    Member
    Posted 2 years ago #

    Wow that' a lot of categories lol. Yeah you just have to create a new page and set up a page template that will list all of the categories out for you.

    <?php
    /*
    Template Name: Categories
    */
    ?>
    ...div stuff here
    <?php wp_list_categories( ); ?>
  3. ydalycul
    Member
    Posted 2 years ago #

    Thank you that is useful. I will now try and do it . Fingers crossed

  4. ydalycul
    Member
    Posted 2 years ago #

    Help again. I am needing help again. Will this template work and where do I put it. I am a quite new to templates. Even though I have read the codex, I can't seem to work it out.

    Do you just put that template in the main WordPress folder ?

    Thanks very much

  5. MichaelH
    Volunteer
    Posted 2 years ago #

    No, put the template in your theme folder. If you were using the WordPress Default theme you would put the template in the wp-content/themes/default folder.

  6. ydalycul
    Member
    Posted 2 years ago #

    Thanks . I have made a file ( template) called

    beingllcat.php in the default theme folder.

    No I need to know how to link the template to the page.
    In the codex It tells me how to do this on the dash board but not manually

    I am wondering if somebody could help.

    Thanks very much again.

    <?php
    /*
    Template Name: Categories
    */
    ?>
    ...div stuff here
    <?php wp_list_categories( ); ?>

  7. MichaelH
    Volunteer
    Posted 2 years ago #

    If you are using the Default theme you would put the file in wp-content/themes/default, but if you are using a different theme you would put it in that theme's folder.

    Review:
    Why is there no Page Template option when writing or editing a Page?

Topic Closed

This topic has been closed to new replies.

About this Topic