This file contains hidden or 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 | |
$countries = array(); | |
$countries[] = array("iso_code"=>"AF","country_name"=>"Afghanistan","country_code"=>"93"); | |
$countries[] = array("iso_code"=>"AL","country_name"=>"Albania","country_code"=>"355"); | |
$countries[] = array("iso_code"=>"DZ","country_name"=>"Algeria","country_code"=>"213"); | |
$countries[] = array("iso_code"=>"AS","country_name"=>"American Samoa","country_code"=>"1"); | |
$countries[] = array("iso_code"=>"AD","country_name"=>"Andorra","country_code"=>"376"); | |
$countries[] = array("iso_code"=>"AO","country_name"=>"Angola","country_code"=>"244"); | |
$countries[] = array("iso_code"=>"AI","country_name"=>"Anguilla","country_code"=>"1"); | |
$countries[] = array("iso_code"=>"AG","country_name"=>"Antigua","country_code"=>"1"); |
This file contains hidden or 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
#Insall Ajenti | |
apt-get update | |
wget http://repo.ajenti.org/debian/key -O- | apt-key add - | |
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install ajenti | |
service ajenti restart | |
# Uninstall Apache2 | |
sudo apt-get autoremove && sudo apt-get remove apache2* |
This file contains hidden or 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 ( ! function_exists( 'hippo_plugin_hook_info' ) ): | |
function hippo_plugin_hook_info( $hook_name ) { | |
global $wp_filter; | |
$docs = array(); | |
$template = "\t - %s Priority - %s.\n\tin file %s #%s\n\n"; | |
echo '<pre>'; |
This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!
This file contains hidden or 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
/*mail*/ | |
.cf-msg { | |
padding: 10px; | |
text-align: center; | |
margin-bottom: 30px; | |
} | |
.cf-msg p { | |
margin-bottom: 0; |
This file contains hidden or 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
Step 1: | |
Go to: C:\Windows\System32\Drivers\etc\hosts | |
And add this to the bottom of the file: | |
============= | |
127.0.0.1 your.domain.com | |
============= | |
Step 2: | |
Go to [your XAMPP directory]/apache/conf/httpd-xampp.conf |
This file contains hidden or 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 | |
/***************************************************************************************************************************************************** | |
* | |
* Usage: [acf_href href_before="mailto:" href="acf:field_name" text="acf:field_name"] | |
* | |
* acf:fieldname will retrieve the value of the specified "fieldname" and use that. | |
* get:url_variable will grab a variable from the URL and use that. | |
* | |
* [acf_href href="acf:my_link" text="Link to web site"] |
I hereby claim:
- I am arrolin on github.
- I am arrolin (https://keybase.io/arrolin) on keybase.
- I have a public key ASDHvwJQncRkrvzHABKGKoVTxGvah-UL5fBVfeGSl0yBEwo
To claim this, I am signing this object: