Skip to content

Instantly share code, notes, and snippets.

@atwellpub
Last active September 24, 2015 19:44
Show Gist options
  • Save atwellpub/3f960a88100f4cb659fb to your computer and use it in GitHub Desktop.
Save atwellpub/3f960a88100f4cb659fb to your computer and use it in GitHub Desktop.
calls to action, cta
<?php //remove me
$wp_cta_data[$key]['info'] = array(
'data_type' => 'template', // Template Data Type
'version' => "1.0", // Version Number
'label' => "My Custom Call to Action Template", // Nice Name
'category' => 'special,custom', // Template Categories
'demo' => 'http://demo.inboundnow.com/go/demo-template-preview/', // Demo Link if applicable
'description' => 'This is a call to action we are developing!', // template description
'path' => $this_path, //path to template folder
'urlpath' => $url_path //urlpath to template folder
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment