Today I was asked by a customer if it’s possible to use schema generated by SNIP on static sites generators like Gatsby. The short answer to this is: not out of the box but in this article, I would like to give a few tips and assistance on how it can work after all.
Continue readingCategory: Development
Use content from a shortcode inside of a schema property
A customer asked if it’s possible to add content from a shortcode inside of a schema property. The short answer is: SNIP does not support this at the moment, but I can see that there are use cases where this can be beneficial.
Continue readingHow to add your own loop
Ivan sent a message over Twitter and asked how to get breadcrumbs to work with tags. As you may know from the How to use Loops to iterate over items tutorial, it’s pretty simple with categories because they’re hierarchical. That’s not the case with tags. So it lead me to this blog post which shows how you can create your own loop.
Continue readingHow to add your own field type
In this blog post I want to demonstrate how you can create your own field types in SNIP so that you can calculate and integrate custom code into any field.
Continue readingFilter Hooks in SNIP v2.13
In this post you’ll find a list of filter hooks that SNIP provides. Filter allow you to override certain code.
Continue readingHow to use a certain post thumbnail size
Bill asked me today how it’s possible to use a certain post thumbnail size in SNIP. Unfortunately that is not possible at the moment directly within SNIP. However there is a workaround that extends its functionality. And here is how it works:
Continue readingChange number of Reviews on WooCommerce products
Since version 2.7.0 it’s possible to add reviews to the WooCommerce product snippets. As per default the plugin only integrates 5 reviews into the snippet. Here is how you can extend this number.
Continue readingHow can I control access to global snippets?
Normally you should be able to use the Members plugin to control access to global snippets. However, the plugin makes excessive use of WordPress’ REST API. So you also need to make sure, the REST-API calls can be made by users other then administrators. Here is how it works:
Continue reading