Last active
September 24, 2015 19:43
-
-
Save atwellpub/24e6158d9763d040746e to your computer and use it in GitHub Desktop.
calls to action, cta
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 //remove me | |
$key = basename(dirname(__FILE__)); /* this grabs the parent folder name. we will use this as a identifier and key for storing data*/ | |
$this_path = WP_CTA_UPLOADS_PATH . $key.'/'; /* this sets the absolute path to the template */ | |
$url_path = WP_CTA_UPLOADS_URLPATH . $key.'/'; /* this sets the base URL to the template */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment