Strattic Developers by Elementor

Hooks & Filters

How to Set up an Algolia Instasearch App on your Strattic Site

Before you get started This guide assumes you’re bringing your own Algolia index, and not using Strattic’s index of your site. From there, you will need three things for the app to work: Application ID (e.g. ABCDEF12345) Search API key (e.g. asdf1234asdf1234asdf1234) Index name (e.g. wp_posts_index) These can all be found in your

Read More »

Check for Preview or Live Headers

If you want to add something, additional scripts for instance, to only the Live or Preview static site, you can add something like the following to your functions.php file, a custom plugin, or to a custom theme:

Read More »

Static Load More Example

As you may know by now, calls to admin-ajax.php will not work on your static Strattic site (say that five times fast 🤓 ). But, all your hard work is not lost, and in many cases, a static ajax solution can be fairly straightforward to implement. Here is an example

Read More »

Adding Custom Paths to Your Publish

When your site is published to static, we reference paths for all resources related to URLs. Here’s how to add custom paths. You typically think of these as slugs, for example: / (the homepage) /about-us /contact

Read More »