Posted By

ryarwood on 06/09/11


Tagged

query ExpressionEngine


Versions (?)

ExpressionEngine Misc Query Examples


 / Published in: PHP
 

Just some really simple EE query examples.

  1. {exp:channel:entries channel="ad-snipes" dynamic="no" category="42"}
  2. <a href="{ad-link}"><img src="{ad-image}" width="210" height="133" alt="{title}"></a>
  3. {/exp:channel:entries}
  4.  
  5. {exp:channel:entries channel="personnel" dynamic="no" orderby="sort-order" sort="asc"}
  6. <li><a href="{title_permalink="the-team/profile"}">{title} - {name-title}</a></li>
  7. {/exp:channel:entries}
  8.  
  9. {exp:channel:entries channel="static-pages" dynamic="no" url_title="about-us"}
  10. {static-page-content}
  11. {/exp:channel:entries}

Report this snippet  

You need to login to post a comment.