Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
$featured_image_url = wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ) ); | |
if ( ! empty( $featured_image_url ) ) { |
//scroll back to the top of screen button | |
if ($('#back-to-top').length) { | |
var scrollTrigger = 100, // px | |
backToTop = function () { | |
var scrollTop = $(window).scrollTop(); | |
if (scrollTop > scrollTrigger) { | |
$('#back-to-top').addClass('show'); | |
} else { | |
$('#back-to-top').removeClass('show'); | |
} |
Getting started:
Related tutorials:
<?php | |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row should contain the array keys. | |
* | |
* Example: | |
* | |
* @param string $filename Path to the CSV file | |
* @param string $delimiter The separator used in the file | |
* @return array |