Using template files to override formats
-
I’m experimenting with using template files (e.g. /wp-content/themes/mytheme/plugins/events-manager/formats/event_list_item_format.php) to customize various views instead of customizing formats via the admin interface.
I see that I can use the same syntax, including placeholders, as I do in the admin interface. I assume it’s possible to extend that with PHP directives as well?
Are there any examples of directly outputting some common data through PHP? I would be particularly interested in being able to say, “if locationname = ‘foo’ { bar; }”
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Using template files to override formats’ is closed to new replies.