# Subscriptions

**URL:** <https://forums.realmacsoftware.com/t/subscriptions/48611>\
**Category:** Elements\
**Created:** [July 4, 2025, 5:00pm UTC](https://forums.realmacsoftware.com/t/subscriptions/48611 "2025-07-04T17:00:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Heroic\_Nonsense](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/heroic_nonsense/32/20666_2.png) [@Heroic\_Nonsense](https://forums.realmacsoftware.com/u/Heroic_Nonsense)\
**Post date:** [July 5, 2025, 10:36am UTC](https://forums.realmacsoftware.com/t/subscriptions/48611/2 "2025-07-05T10:36:34Z")

</div>

Hi @mrk,

Sitelok is compatible with Elements and integrates with your Elements site the same way it did/does in RapidWeaver: by adding HTML (well… PHP) code to your project.

First, make sure that your pages are saved as PHP, by changing this setting in Elements:

 ![Capto_Capture 2025-07-05_12-38-38_](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/e/4/e41b1a7565d23392fa946b8834ff2cd6c332c968.png)

**Note: if you’ve previously published pages in your project as HTML, you should delete those from your server and re-publish all files from within Elements to get the new PHP versions up there.**

Next, click on the little plus icon next to _Custom_ in the “Components“ tab, and select “HTML” from the dropdown:

 ![Capto_Capture 2025-07-05_12-30-12_](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/7/074836a398a951020a278f81250c26e122ebb4d0.png)

This will add a component to your site, in which you can paste the PHP snippets that Sitelok generates for you from the _Snippet Generator_ in the Sitelok administrator portal:

 ![Capto_Capture 2025-07-05_12-35-42_](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/1/11676bf166120dc58c20340f2a40623fc61db137.png)

Cheers,  
Erwin

---

_[View the full topic](https://forums.realmacsoftware.com/t/subscriptions/48611)._
