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
//Move | |
mv ./wordpress/* ./www/ | |
mv .wordpress/.ht* ./www/ | |
//Copy | |
cp -R {src} {dest} | |
//Delete | |
rm -rf {path} |
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
//Update length | |
function custom_excerpt_length( $length ) { | |
return 20; | |
} | |
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); | |
//Update more indicator | |
function custom_excerpt_more( $more ) { | |
return '...'; | |
} |
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
.parent-element { | |
-webkit-transform-style: preserve-3d; | |
transform-style: preserve-3d; | |
} | |
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
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
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime], input[type=search], input[type=tel], input[type=url] { } | |
/* Gravity Forms */ | |
.gform_wrapper input[type=color], | |
.gform_wrapper input[type=date], | |
.gform_wrapper input[type=datetime-local], | |
.gform_wrapper input[type=datetime], | |
.gform_wrapper input[type=email], | |
.gform_wrapper input[type=month], | |
.gform_wrapper input[type=number], |
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
.pointer-events-on-click { cursor: pointer; } | |
.pointer-events-on-click iframe { pointer-events: none; } |
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
<div class="gf_browser_chrome gform_wrapper" id="gform_wrapper_1"><a id="gf_1" class="gform_anchor"></a> | |
<form method="post" enctype="multipart/form-data" target="gform_ajax_frame_1" id="gform_1" action="/sample-page/#gf_1"> | |
<div class="gform_heading"> | |
<h3 class="gform_title">Contact Us</h3> | |
<span class="gform_description">Optional form description.</span> </div> | |
<div class="gform_body"> | |
<ul id="gform_fields_1" class="gform_fields top_label form_sublabel_below description_below"> | |
<li id="field_1_1" class="gfield gfield_contains_required field_sublabel_below field_description_below"> | |
<label class="gfield_label" for="input_1_1_3">Name<span class="gfield_required">*</span></label> | |
<div class="ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name" id="input_1_1"> <span id="input_1_1_3_container" class="name_first"> |
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
.row { width: 100%; display: table; table-layout: fixed; } | |
.row .col { display: table-cell; padding: 0 15px; } | |
.row .col:first-child { padding-left: 0; } | |
.row .col:last-child { padding-right: 0; } |
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
//Edit Hosts File | |
sudo nano /private/etc/hosts | |
//Flush DNS | |
sudo killall -HUP mDNSResponder |