raduma
Member
Posted 10 months ago #
Hi there!
I have a site with lots of categories, and there will be losts of posts in each.
I want a specific post (kind of description of each category... text and images) to be shown on top of each category. diferent post for each category.
might be the fist written, might be the 20th...
is there a plugin that lets me do this? select the post i want to be shown fist, on top of each category?
or.. can some help me with some codes?
sefzig
Member
Posted 10 months ago #
Hi raduma,
I haven't seen a plugin for this yet, but I guess modifying your category-template might do well:
<?php
if ($cat == "1") { include(TEMPLATEPATH . "/teaser/this-code-snippet.php"); }
if ($cat == "2") { include(TEMPLATEPATH . "/teaser/that-code-snippet.php"); }
?>
This way you are free to use any serverside-language to generate your info. On the other hand: Thats might well be a lot of work...
Greetings,
sefzig
raduma
Member
Posted 10 months ago #
iap, a lot of work..:| there are about 200 categs so far (one for almost each animal and bird in Romania...) and i still have to put up some... fish, plants, insects... so you can imagine hou much work... :(
Xamataca
Member
Posted 1 week ago #