2

I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.

1 Answer 1

2

The Easiest way to do that would be to use List category posts plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode.

you can also use this shortcode in a simple text widget and add just add :

add_filter('widget_text', 'do_shortcode');

to your theme's functions.php file, which will tell WordPress to render shortcodes in widgets.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.