How can the_excerpt (or equivalent) be called on a category description?

wp_html_excerpt($category->description, 25). Or you can create your own function. I’m using this: /** * Filters content based on specific parameters, and appends a “read more” link if needed. * Based on the “Advanced Excerpt” plugin by Bas van Doren – http://sparepencil.com/code/advanced-excerpt/ * * @since 1.0 * * @param string $content What to filter, defaults to … Read more

How to know if I am on 1st page

I’m assuming that you’re talking about the “home page” when you say “1st page only”. Or are you talking about the first “paginated” page of your posts? If its the prior, you’d probably want to use the “is_front_page()” conditional if you’re using a single page.php template. Or maybe it’d be easier to make a “page-home.php” … Read more