Answers.Body: <p>You could try customizing the order parameter. MySQL allows ordering randomly by using <code>.. ORDER BY rand()</code>. So you could try the following:</p>
  
  <pre><code>craft.entries.section('featured').order('rand()').first()
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-27T10:59:53.923Z
Answers.LastActivityDate: 2017-06-28T00:38:09.863Z
Answers.LastEditDate: 2017-06-28T00:38:09.863Z
Answers.UserDisplayName: pauliusef
Body: <p>Looking to get a random entry from my database which is tagged with 'featured', is this possible at all? I've seen randomised by just the entry loop but nothing else.</p>
  
Tags: <entries><tags>
Title: Get random entry tagged with
ThreadText: # Get random entry tagged with
  
  (Asked by: username_0 on 2017-06-27)
  
  Looking to get a random entry from my database which is tagged with 'featured', is this possible at all? I've seen randomised by just the entry loop but nothing else.
  
  **Tags:** entries, tags
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-06-27. Score: 3 | Accepted answer
  
  You could try customizing the order parameter. MySQL allows ordering randomly by using `.. ORDER BY rand()`. So you could try the following:
  
  ```
  craft.entries.section('featured').order('rand()').first()
  
  ```
  
  
  ---
  
  