Last active
December 20, 2015 14:29
-
-
Save davidbehan/6146683 to your computer and use it in GitHub Desktop.
Quick access to common coding snippets used in EE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EE Hacksaw | |
# - - - - - - - - - - - - - - - - - - - - - - - - | |
{exp:eehive_hacksaw chars="100" append="…" allow=""}{news_excerpt}{/exp:eehive_hacksaw} | |
# CE Img | |
# - - - - - - - - - - - - - - - - - - - - - - - - | |
{exp:ce_img:single src="{news_image}" crop="yes" width="220" height="147" fallback_src="no-image.png" url_only="yes"} | |
# Channel Entries | |
# - - - - - - - - - - - - - - - - - - - - - - - - | |
{exp:channel:entries channel="latest_news" limit="4" dynamic="off" status="open" paginate="bottom" disable="categories|category_fields|member_data"} | |
# Entry Date | |
# - - - - - - - - - - - - - - - - - - - - - - - - | |
{entry_date format="%d%S %F, %Y"} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment