I recently switched to the fabulous Atom and came across a bug while porting my snippets manually.
I saw this topic: PHP Snippets not working
Followed the hints but there lays an oddity while working with different snippets.
I think it may be related to containing html tags within which the php blocks and code are placed.
For instance, this works:
'.text.html.php': 'print constant': 'prefix': 'printcons' 'body': '<?php print $2 ; ?>'
and this doesn’t:
'.text.html.php': 'wp pingback': 'prefix': 'pingback' 'body': '<?php bloginfo("pingback_url"); ?>'
I would be very much grateful if you can guide me to overcome this issue.
Many thanks in advance.