Answers.Body: <p>In order to display all other entries by an author except the current one, you will need to perform another step — either by filtering out the current entry from the query or adding a conditional.</p>
  
  <pre><code>{% set authorId = entry.author.id %}
  {% set allEntryIds = craft.entries.section('blog').authorId(authorId).limit(null).ids() %}
  {% set otherEntryIds = allEntryIds|without(entry.id) %}
  {% set otherEntries = craft.entries.section('blog').id(otherEntryIds) %}
  
  &lt;ul&gt;
      {% for entry in otherEntries %}
          &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
      {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>{% set authorId = entry.author.id %}
  {% set authorEntries = craft.entries.section('blog').authorId(authorId).limit(null) %}
  &lt;ul&gt;
      {% for authorEntry in authorEntries %}
          {% if not authorEntry.id == entry.id %}
              &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
          {% endif %}
      {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-05T16:57:56.560Z
Answers.LastActivityDate: 2015-06-05T17:04:07.680Z
Answers.LastEditDate: 2015-06-05T17:04:07.680Z
Answers.UserDisplayName: Douglas McDonald
Answers.Body: <p>You can get entries by an author like this:</p>
  
  <pre><code>{% set authorPosts = craft.entries.section('posts').authorId(entry.authorId) %}
  </code></pre>
  
  <p>I think this returns an <code>ElementCriteriaModel</code> so you could do things like <code>.first()</code> <code>.limit(1)</code> etc but you can use it in a twig loop as is.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-05T08:52:48.920Z
Answers.LastActivityDate: 2015-06-08T10:05:45.330Z
Answers.LastEditDate: 2015-06-08T10:05:45.330Z
Answers.UserDisplayName: Alec Ritson
Body: <p>I have a blog section on my site and would like a "More posts by this author" list. How would I go about this, the logic is clear but the syntax to write for it is not forthcoming.</p>
  
Tags: <loop><author>
Title: Display entries by current entry author?
ThreadText: # Display entries by current entry author?
  
  (Asked by: username_0 on 2015-06-05)
  
  I have a blog section on my site and would like a "More posts by this author" list. How would I go about this, the logic is clear but the syntax to write for it is not forthcoming.
  
  **Tags:** loop, author
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-06-05. Score: 5
  
  In order to display all other entries by an author except the current one, you will need to perform another step — either by filtering out the current entry from the query or adding a conditional.
  
  ```
  {% set authorId = entry.author.id %}
  {% set allEntryIds = craft.entries.section('blog').authorId(authorId).limit(null).ids() %}
  {% set otherEntryIds = allEntryIds|without(entry.id) %}
  {% set otherEntries = craft.entries.section('blog').id(otherEntryIds) %}
  
  <ul>
      {% for entry in otherEntries %}
          <li><a href="{{ entry.url }}">{{ entry.title }}</a></li>
      {% endfor %}
  </ul>
  
  ```
  
  or
  
  ```
  {% set authorId = entry.author.id %}
  {% set authorEntries = craft.entries.section('blog').authorId(authorId).limit(null) %}
  <ul>
      {% for authorEntry in authorEntries %}
          {% if not authorEntry.id == entry.id %}
              <li><a href="{{ entry.url }}">{{ entry.title }}</a></li>
          {% endif %}
      {% endfor %}
  </ul>
  
  ```
  
  
  ---
  
  ### Answer by username_2 on 2015-06-05. Score: 3
  
  You can get entries by an author like this:
  
  ```
  {% set authorPosts = craft.entries.section('posts').authorId(entry.authorId) %}
  
  ```
  
  I think this returns an `ElementCriteriaModel` so you could do things like `.first()` `.limit(1)` etc but you can use it in a twig loop as is.
  
  
  ---
  
  