Mecha CMS

Add extra functionality to the core engine.

Random Advertisements Position in Content

Table of Contents
  1. Usage 

Insert advertisements code randomly within the page content.

Download Version 2.4.3 Download Development Version

Something looks broken? We accept bounties to fix them faster.

Insert advertisements code in random position between the existing paragraphs in the page content.

Usage 

Open .\lot\x\r-a-p-i-c\engine\r\layout\ads.php then put your advertisements code there.

To disable the automatic advertisements placement on certain page, add a r-a-p-i-c property within your page’s state property with a value that can be evaluated to false:

---
title: Page Title
description: Page description.
author: Taufik Nurrohman
type: HTML
state:
  r-a-p-i-c: false
...