diff --git a/install.sh b/install.sh index b80e2fc..0370a5f 100644 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ php -r ' echo "\n ..::Tainacan Theme::..\n"; echo "\nInitiating the installation with composer ... please wait!!\n"; -echo "\Copying files ...\n"; +echo "Copying files ...\n"; echo "\nCopying Bootstrap Framework ...\n\n"; @@ -49,12 +49,12 @@ function delete_files($target) { $files = glob( $target . "*", GLOB_MARK ); //GLOB_MARK adds a slash to directories returned foreach( $files as $file ){ - delete_files( $file ); + delete_files( $file ); } rmdir( $target ); } elseif(is_file($target)) { - unlink( $target ); + unlink( $target ); } } ' \ No newline at end of file diff --git a/src/archive-tainacan-collection.php b/src/archive-tainacan-collection.php index 3893a16..e37964f 100644 --- a/src/archive-tainacan-collection.php +++ b/src/archive-tainacan-collection.php @@ -1,5 +1,7 @@ + + @@ -41,16 +43,16 @@ - + diff --git a/src/assets/js/copy-link.js b/src/assets/js/copy-link.js index a372eb7..46040c5 100644 --- a/src/assets/js/copy-link.js +++ b/src/assets/js/copy-link.js @@ -22,7 +22,6 @@ function fallbackCopyTextToClipboard(text) { } function copyTextToClipboard(text) { - if (!navigator.clipboard) { fallbackCopyTextToClipboard(text); return; diff --git a/src/assets/js/js.js b/src/assets/js/js.js index 083a744..c958eac 100644 --- a/src/assets/js/js.js +++ b/src/assets/js/js.js @@ -3,7 +3,6 @@ jQuery( document ).ready(function( $ ) { $( 'body' ).removeClass('loading-content'); $( '#carouselExample' ).on( 'slide.bs.carousel', function ( e ) { - var $e = $( e.relatedTarget ); var idx = $e.index(); var itemsPerSlide = 3; diff --git a/src/functions/breadcrumb.php b/src/functions/breadcrumb.php index f2ee13c..9e9f40e 100644 --- a/src/functions/breadcrumb.php +++ b/src/functions/breadcrumb.php @@ -15,11 +15,8 @@ function tainacan_interface_the_breadcrumb() { $homeLink = esc_url( home_url() ); if (is_home() || is_front_page()) { - if ($showOnHome == 1) echo ''; - } else { - echo '