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 Stable Version Download Development Version

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

v2.4.4235 Downloads
v2.4.3230 Downloads
v1.2.2341 Downloads

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


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
  r-a-p-i-c: false