Strattic Developers by Elementor

Hooks & Filters

Send publish alerts to Slack

You may have read about how Strattic’s publishing system makes use of several transients somewhere else on this site. Well, if you’re looking for a way to use those transients to send publish alerts to your Slack channels, then you’ve come to the right place! You may want to create

Read More »

Publishing with StoryChief

StoryChief.com is a “leading content marketing platform that makes sure your brand gets the attention it deserves” (according to their website. It allows you to publish and schedule posts, as well as post automatically to different social media channels. We’ve got basic instructions for getting set up here. However, you

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 »