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
{ | |
"thumbnails": [ | |
{ "client" : "Digital Meaning", | |
"description" : "Digital Meaning", | |
"role": "UI Design, Web Development", | |
"imgSrc" : "https://jabaltorres.com/assets/img/thumbnails/Digital-Meaning-thumbnail.png", | |
"linkHref" : "https://www.jabaltorres.com/digital-meaning/", | |
"extLink" : false | |
}, |
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 | |
// JT Test - being used on demos/forms/forms.php | |
function validate_jt_test_form($jtMessage) { | |
$errors = []; | |
if(is_blank($jtMessage['name'])) { | |
$errors[] = "Name cannot be blank."; | |
} elseif(!has_length($jtMessage['name'], ['min' => 2, 'max' => 255])) { | |
$errors[] = "Name must be between 2 and 255 characters."; | |
} |
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 | |
/* Only display to logged in users */ | |
if ( is_user_logged_in() ) { | |
/* Displaying the image caption and description */ | |
$thumb_img = get_post( get_post_thumbnail_id() ); // Get post by ID | |
echo '<p>The Caption: ' . $thumb_img->post_excerpt . '<br>'; // Display Caption | |
echo 'The Description: ' . $thumb_img->post_content . '</p> '; // Display Description | |
/* Displaying the image alt text */ |
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 | |
// How to display categories | |
$args = array( | |
'taxonomy' => 'test', | |
'orderby' => 'name', | |
'order' => 'ASC' | |
); | |
$cats = get_categories($args); | |
Command | Decription |
---|---|
call | calls a batch file from another one |
cd | change directory |
cls | clear screen |
cmd | start command prompt |
color | change console color |
date | show/set date |
dir | list directory content |
echo | text output |
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
.grid-container { | |
width :100%; | |
max-width: 1240px; | |
} | |
.grid-container { | |
box-sizing: border-box; | |
/*-- our cleafix hack -- */ | |
.row:before, | |
.row:after { |
The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
NewerOlder