Ask DN: Wordpress vs. Craft CMS

over 9 years ago from Jess Eddy, Product Designer / Hacker

  • Matt ScorteMatt Scorte, over 9 years ago (edited over 9 years ago )

    So would this be the CMS to use for everything? Would I still code everything in HTML/CSS then add twig? Would this be good for the more designer type?

    0 points
    • Jake ChapmanJake Chapman, over 9 years ago

      I currently won't use another CMS for a website, web applications are another story.

      Yes you still code just like you would any other website for the front-end. Twig is Crafts templating language...

      so you're on an article for a blog, and the template that is being rendered is _entry.html - In that template there is a Twig variable all ready for you to use in the template to display that articles content.

      {{ entry.title }} - displays that articles title

      maybe you have an image field

      {{ entry.hero.first().url }} - displays the first image in that specific asset field

      Again, checkout the docs to get a better idea of how craft is used. If you've ever used a CMS other then wordpress, you've used a templating language. Twig is just a better solution IMO.

      0 points