Home > ARForms in Theme Templates

ARForms in Theme Templates

ARForms prioved such a facility that you can use any form directly into your theme templates by just using below mentioned function.

” get_form_shortcode() ” and by using different arguments in this function you can achieve different view & style to display a form.

 

Normal View

<?php   global $maincontroller;   echo $maincontroller->get_form_shortcode(array(‘id’ => {form_id}));     ?>

 

Pop-up View

<?php global $maincontroller; echo $maincontroller->get_form_shortcode_popup(array(‘id’ => {form_id}, ‘desc’=>’Click here to open Form’, ‘type’=>’link’, ‘height’=>’auto’, ‘width’=>’800’)); ?>

 

Fly View

<?php global $maincontroller; echo $maincontroller->get_form_shortcode_popup(array(‘id’ => {form_id}, ‘desc’=>’Click here to open Form’, ‘type’=>’fly’, ‘position’=>’left’, ‘height’=>’auto’, ‘width’=>’800’, ‘bgcolor’=>’#2d6dae’, ‘txtcolor’=>’#ffffff’)); ?>

 

Sticky view

<?php global $maincontroller; echo $maincontroller->get_form_shortcode_popup(array(‘id’ => {form_id}, ‘desc’=>’Click here to open Form’, ‘type’=>’sticky’, ‘position’=>’top’, ‘height’=>’auto’, ‘width’=>’800’, ‘bgcolor’=>’#93979d’, ‘txtcolor’=>’#ffffff’)); ?>

© 2018 Repute InfoSystems - All Rights Reserved

Subscribe To Our Newsletter For
Best Monthly Offers & Discounts!

Be a part of our subscription and stay updated with the latest deals we offer.
Subscribe Me!
No Thanks!
close-link