How can I display the related posts (by category) at the bottom of each post? I'm converting a WordPress blog to Craft - first time playing with categories in Craft, so how can I display the related posts (by category) at the bottom of each post?
This can be accomplished using Craft's Relations.

My example code assumes you know the blog categories slug, and that you are pulling posts from a single category.

First, you'll have to get a reference to the category ElementCriteriaModel object pointing to the category of the blog post.

{% set category = craft.categories.slug('your-category-slug').first() %}


With a reference to the category model, you'll be able to find related entries.

{% for post in craft.entries.section('blog').relatedTo({targetElement: category}) %}
    {% if post.id != entry.id %}
        &lt;div class="related-entry"&gt;
            &lt;h2&gt;{{ post.title }}&lt;/h2&gt;
            {{ post.body }}
        &lt;/div&gt;
    {% endif %}
{% endfor %}


The if statement makes sure you aren't including the current post with the related posts.