{% set user = __SELF__.user %} {% set posts = __SELF__.posts %}

User & List Properties

This plugin component ({{ __SELF__.alias }}) provides default markup as a convenience to developers but should be overridden by the theme (Winter CMS Docs).

To view and download a completed theme to help with implementation, please see posts-plugin.dynamedia.uk and Github. The demo theme is MIT licensed and is therefore free to modify and redistribute.

About {{ user.first_name }}

A dump of the model attributes (note username is not the backend login)

{{ dump(user.profile.attributes) }}

Posted by {{ user.full_name }}

{% for post in posts %}

{{ post.title }}

{{ post.excerpt | raw }}

{% endfor %} {% if posts.links %} {{ posts.links() | raw }} {% endif %}