Hello everybody,
would you be so kind to explain me how to:
set up a static page for every category ?
i want to write an introduction to every category and then have users to click on articles links in the menu.
hope you're able to help me.
Hello everybody,
would you be so kind to explain me how to:
set up a static page for every category ?
i want to write an introduction to every category and then have users to click on articles links in the menu.
hope you're able to help me.
please let me know if my question isn't clear
Making use of WordPress' Template Hierarchy it is very easy to create a Category Template and use that:
Example to follow uses the WordPress Default Theme:
Copy wp-content/themes/default/index.php to wp-content/themes/default/category.php
In category.php change:
<?php if (have_posts()) : ?>
to
<strong><?php single_cat_title('Currently viewing: '); ?>
</strong>: <?php echo category_description(); ?>
<?php if (have_posts()) : ?>Note if you have child categories, you may want to install Use Parent Category Template plugin.
thank you MichaelH
have a nice day :)
This topic has been closed to new replies.