We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Purplefish,
I noticed a bug while using the snippet for the WordPress loop. The snippet (theloop, tab) has a PHP scope, yet the snippet itself contains tags.
Perhaps you can edit the snippet so it doesn't contain the php tags or change the scope for the snippet?
Thanks :).
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
You can create your own snippet by copy and paste this in a file then save it as something.sublime-snippet and put it in your Packages>User folder.
(Or using Package Resource Viewer plugin to modify The_Loop.sublime-snippet file in Wordpress Package)
Cheer!
<snippet> <content><![CDATA[ if(have_posts()):while(have_posts()):the_post(); ?> ${1:<!-- post -->} <?${TM_PHP_OPEN_TAG:php} endwhile; ?> ${2:<!-- page navigation --> } <?${TM_PHP_OPEN_TAG:php} else: ?> ${0:<!-- no posts found -->} <?${TM_PHP_OPEN_TAG:php} endif; ]]></content> <description>The Loop</description> <tabTrigger>theloop</tabTrigger> <scope>source.php - variable.other.php</scope> </snippet>
f57104d
No branches or pull requests
Hi Purplefish,
I noticed a bug while using the snippet for the WordPress loop. The snippet (theloop, tab) has a PHP scope, yet the snippet itself contains tags.
Perhaps you can edit the snippet so it doesn't contain the php tags or change the scope for the snippet?
Thanks :).
The text was updated successfully, but these errors were encountered: