Hello. This is something I've been wanting to do for a long time but haven't found an exact command for.
Say I have a post in category "Slow Cooker Recipes." I want to put a widget on the sidebar that shows other posts in that same category. Then say there's a post in category "Vegan Recipes." I want the widget to display other posts in its category.
What code do I use? I know I will need a plugin to enable PHP coding in the widget. But what code do I use in it?