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.


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

1 Comment

  • Alexander Liebrecht

    Hi Taufik,

    I find this plugin great, because you can market and monetize your website. First I thought about embedding AdSense codes in the page.php, but random position of the codes is then also good.

    I have just realized this. Thanks for the plugin.