Skip to main content
Share Your Experience: Take the 2024 Developer Survey
2 votes

Start channel entries after a specified count

Unless there are other reasons why not use {exp:channel:entries offset="3"} Then inside the channel tag use the {if no_results}...{/if} to handle no content. https://docs.expressionengine.com/...
stuartmcd69's user avatar
  • 3,163
1 vote

How to edit channel entries in expression engine depending on the order they are displayed

You could also use {switch} to vary the div classes. Not sure if this is a better way, but its an alternative to if/else <div class="col-md-{switch='4|3|3|3|3|2|2|2'}"> Just remember that ...
pixldev's user avatar
  • 589
1 vote
Accepted

SQL Query to Get count of entries of a certain status inside channel

So... I finally got it working, though not with SQL which I imagine is more efficient. Behold my mess. Note this is only because I'm having to nest it, and also match to url_title because of how we ...
Chris O'Connor's user avatar
1 vote

SQL Query to Get count of entries of a certain status inside channel

It might work out easier to turn this into a short plugin, but would a query like this work? You'd need to pass in the id of the channel you're looking for. {exp:query sql="SELECT count(*) AS ...
Michael McGhee's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible