Atom Help
Atom Help
- Started
- Last post
- 4 Responses
- dbloc
I am new to Atom and trying to make a simple snippet to add to img src()
For some reason it works in a php file, but not when I try to use it in the src. Can ayyone help me write this snippet correctly.
'.source.php':
'get_bloginfo("template_director...
'prefix': 'templatedirectory'
'body': '<?= get_bloginfo("template_directory") ?>'
- ESKEMA0
because in the img src you're not in php, but in html.
use
'.text.html, source.php':
instead of 'source.php':
- ESKEMA0
It works for me, I tested before posting. What happens on your end?
- it should show up in autocomplete, right?dbloc
- Yep, but even if it doesn't, it should work if you hit tab after typing itESKEMA
- It's weird. It show up in auto-complete. I select it and it just puts in the prefix.dbloc
- I must have something else written wrong. Other snippets are working just fine for me though.dbloc