Strattic Developers by Elementor


Customizing Search Results, Templates, and Tags

If you’ve worked with custom themes in WordPress, you know that you can typically add a search.php template file to your theme files, and that will produce a custom search results page. With Strattic, there are a few extra steps you’ll need to do in order to make sure your

Read More »

Strattic Publish Event Hooks

Strattic’s publishing system makes use of several transients. You can use these to perform actions at different parts of the publish process, such as sending a message with relevant information when the publish has completed.

Read More »

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 »