2 votes

Use php inside entry-field instead of snippet

So if you only want a snippet to display on certain entries, you can apply that via a field and small code addition to your template(s). I understand you have a lot of templates and don't want to add ...
jrothafer's user avatar
  • 5,900
1 vote

Use php inside entry-field instead of snippet

It is possible with a bit of messing around you could achieve what you are trying to do by installing the Allow EE Code add-on. This add-on makes it possible to evalute EE template code placed within ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

EE 2.5.5 how to use snippet in if statement

If you look at the parse order of the template engine, you'll see that although snippets do get parsed before conditionals, standard global variables (which includes {site_name}) don't get parsed ...
Derek Hogue's user avatar
  • 17.4k

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