Documentation
Here is the Customization for this Website
Plugins currently used:
Duplicate Post: Allows Pages to be cloned and Copied to new Drafts to provide convenient modifications methods without destroying working pages.
Formidable (Pro Version): Provides Forms for Contact page, etc.
Online Backup for WordPress: Provides Automatic and Manual backups – remote and local
TinyMCE Advanced: Provides additional functions in Visual Editor for creating/modifying content of Pages. ie Tables and Fonts
Use Any Font: Converts ANY font for use in this WordPress site…
Custom Styling Code
These codes are in the Figaro Styling Options
Eliminate Cell Borders in Tables used in Content Pages
tbody tr td {
border: none!important;border-radius:10px;
}
a.btn-1, a.btn-2 {
display: none;
}
Eliminate navigation information (“You are here etc.)
#crumbs{
display:none;
}
Make Background color of Content same color as site – and eliminate content border
.content-main.fullwidth {
background-color: #f5f5f5;border: none!important;
}
.content-info {
border: none!important;
}
Eliminate Titles from top of Content Pages
.page-heading {
display: none;
}
Eliminate picture in Right column heading
.testimonial_holder .testimonial_jcarousel img { display: none; }
Code to send Content Data to VTiger
1. The Contact form has to have a hidden field with the “Publicid” data of the VTiger account
2. This code is added to the end of the “functions.php” file of the Figaro Theme.
add_action(‘frm_after_create_entry’, ‘sendtoVtiger’, 30, 2);
function sendtoVtiger($entry_id, $form_id){
if($form_id == 8){ //replace 5 with the id of the form
$args = array();
if(isset($_POST[‘item_meta’][97]))
$args[‘publicid’] = $_POST[‘item_meta’][97];
if(isset($_POST[‘item_meta’][90]))
$args[‘firstname’] = $_POST[‘item_meta’][90];
$args[‘lastname’] = $_POST[‘item_meta’][91];
if(isset($_POST[‘item_meta’][91]))
$args[’email’] = $_POST[‘item_meta’][92];
if(isset($_POST[‘item_meta’][92]))
$args[‘mobile’] = $_POST[‘item_meta’][99];
if(isset($_POST[‘item_meta’][99]))
$args[‘store_name’] = $_POST[‘item_meta’][100];
if(isset($_POST[‘item_meta’][100]))
$args[‘phone’] = $_POST[‘item_meta’][101];
if(isset($_POST[‘item_meta’][101]))
$args[‘lane’] = $_POST[‘item_meta’][102];
if(isset($_POST[‘item_meta’][102]))
$args[‘city’] = $_POST[‘item_meta’][103];
if(isset($_POST[‘item_meta’][103]))
$args[‘state’] = $_POST[‘item_meta’][104];
if(isset($_POST[‘item_meta’][104]))
$args[‘code’] = $_POST[‘item_meta’][105];
if(isset($_POST[‘item_meta’][105]))
$args[‘label:Register Type?’] = $_POST[‘item_meta’][106];
if(isset($_POST[‘item_meta’][106]))
$args[‘label:Currently scanning all barcodes?’] = $_POST[‘item_meta’][107];
if(isset($_POST[‘item_meta’][107]))
$args[‘label:High speed internet at store?’] = $_POST[‘item_meta’][108];
if(isset($_POST[‘item_meta’][108]))
$args[‘label:Subject’] = $_POST[‘item_meta’][94];
if(isset($_POST[‘item_meta’][94]))
$args[‘label:Message’] = $_POST[‘item_meta’][95];
if(isset($_POST[‘item_meta’][95]))
$result = wp_remote_post(‘https://apexbackofficesolutions1.od1.vtiger.com/modules/Webforms/capture.php’, array(‘body’ => $args));
}
}
?>