Created
September 15, 2018 06:39
-
-
Save humayunahmed8/febc262304e462076a13af491638c29d to your computer and use it in GitHub Desktop.
VC default templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('ABSPATH')) die('-1'); | |
// Example : Contact Page | |
function stock_humayunbd_vc_contact_page() { | |
$data = array(); // Create new array | |
$data['name'] = esc_html__( 'Stock - Contact Page', 'stock-toolkit' ); // Assign name for your custom template | |
$data['weight'] = 0; // Weight of your template in the template list | |
$data['content'] = <<<CONTENT | |
// Example : Contact page default template | |
[vc_row full_width="stretch_row" css=".vc_custom_1533550707144{padding-top: 50px !important;padding-bottom: 30px !important;background-color: #ffffff !important;background-position: 0 0 !important;background-repeat: no-repeat !important;}"][vc_column width="2/3" offset="vc_col-lg-offset-0 vc_col-lg-6 vc_col-sm-offset-2"][vc_custom_heading text="Send us a message" font_container="tag:h1|text_align:left" google_fonts="font_family:Noto%20Serif%3Aregular%2Citalic%2C700%2C700italic|font_style:400%20regular%3A400%3Anormal" css=".vc_custom_1533550845920{margin-bottom: 30px !important;}"][vc_column_text]Questions explained agreeable preferred strangers too | |
him. Set put shyness offices his females him distant.[/vc_column_text][contact-form-7 id="311"][/vc_column][/vc_row] | |
CONTENT; | |
vc_add_default_templates( $data ); | |
} | |
add_action( 'vc_load_default_templates_action','stock_humayunbd_vc_contact_page' ); // Hook in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment