ydalycul
Member
Posted 1 month 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
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( ); ?>
ydalycul
Member
Posted 1 month ago #
Thank you that is useful. I will now try and do it . Fingers crossed
ydalycul
Member
Posted 1 month 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
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.
ydalycul
Member
Posted 1 month 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( ); ?>
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?