diff --git a/src/README.txt b/src/README.txt index 20c6fa0..c7e294f 100644 --- a/src/README.txt +++ b/src/README.txt @@ -2,7 +2,7 @@ Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes Requires at least: WordPress 4.8 Tested up to: WordPress 5.7.2 -Version: 2.3 +Version: 2.3.1 Requires PHP: 5.6 Stable tag: trunk License: GNU General Public License v3 diff --git a/src/assets/js/js.js b/src/assets/js/js.js index c958eac..6ddfd37 100644 --- a/src/assets/js/js.js +++ b/src/assets/js/js.js @@ -22,14 +22,14 @@ jQuery( document ).ready(function( $ ) { }); // ===== Scroll to Top ==== - $( window ).scroll( function() { + $( window ).on('scroll', function() { if ( $( this ).scrollTop() >= 100 ) { // If page is scrolled more than 50px $( '#return-to-top' ).fadeIn( 200 ); // Fade in the arrow } else { $( '#return-to-top' ).fadeOut( 200 ); // Else fade out the arrow } } ); - $( '#return-to-top' ).click( function() { // When arrow is clicked + $( '#return-to-top' ).on('click', function() { // When arrow is clicked $( 'body,html' ).animate( { scrollTop : 0 // Scroll to top of body }, 500 ); @@ -59,7 +59,7 @@ jQuery( document ).ready(function( $ ) { */ $( '.wp-block-button a' ).addClass( 'btn btn-jelly-bean' ); - $( '.tainacan-list-post .table .tainacan-list-collection td' ).click( function(){ + $( '.tainacan-list-post .table .tainacan-list-collection td' ).on('click', function(){ window.location = $( '.tainacan-list-post .table .tainacan-list-collection' ).data( "href" ); }); @@ -189,7 +189,7 @@ jQuery( document ).ready(function( $ ) { $( '.tainacan-interface-truncate' ).tainacan_interface_truncate(); $( '.tainacan-interface-truncate-term' ).tainacan_interface_truncate_term(); - $( ".trigger" ).click( function() { + $( ".trigger" ).on('click', function() { $( ".collection-header--share" ).toggleClass( "active" ); }); $('#menubelowHeader .dropdown-menu a.dropdown-toggle').addClass('dropdown-submenu'); diff --git a/src/assets/js/tainacan-interface-truncate.js b/src/assets/js/tainacan-interface-truncate.js index 0d85e88..8136251 100644 --- a/src/assets/js/tainacan-interface-truncate.js +++ b/src/assets/js/tainacan-interface-truncate.js @@ -31,14 +31,14 @@ }); - $( 'a.tainacan-interface-more', minimized_elements ).click(function(event){ + $( 'a.tainacan-interface-more', minimized_elements ).on('click',function(event){ event.preventDefault(); minimized_elements.addClass( 'full-story' ); $( this ).hide().prev().hide(); $( this ).next().show(); }); - $( 'a.tainacan-interface-less', minimized_elements ).click(function(event){ + $( 'a.tainacan-interface-less', minimized_elements ).on('click',function(event){ event.preventDefault(); minimized_elements.removeClass( 'full-story' ); $( this ).parent().hide().prev().show().prev().show(); @@ -88,14 +88,14 @@ }); - $( 'a.tainacan-interface-more-term', minimized_elements ).click(function(event){ + $( 'a.tainacan-interface-more-term', minimized_elements ).on('click',function(event){ event.preventDefault(); minimized_elements.addClass( 'full-story' ); $( this ).hide().prev().hide(); $( this ).next().show(); }); - $( 'a.tainacan-interface-less-term', minimized_elements ).click(function(event){ + $( 'a.tainacan-interface-less-term', minimized_elements ).on('click',function(event){ event.preventDefault(); minimized_elements.removeClass( 'full-story' ); $( this ).parent().hide().prev().show().prev().show(); diff --git a/src/assets/scss/_post.scss b/src/assets/scss/_post.scss index fe2a008..4bc9701 100644 --- a/src/assets/scss/_post.scss +++ b/src/assets/scss/_post.scss @@ -574,6 +574,7 @@ display: block; position: relative; z-index: 99; + padding: 0; } &::after { diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index 885973a..d297b8b 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -4,7 +4,7 @@ Author: Tainacan Author URI: https://tainacan.org Theme URI: https://tainacan.org/blog/category/tema/ Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository. -Version: 2.3 +Version: 2.3.1 Tested up to: 5.7.2 Requires PHP: 5.6 License: GNU General Public License v3 diff --git a/src/footer.php b/src/footer.php index 4cab614..6d649a1 100644 --- a/src/footer.php +++ b/src/footer.php @@ -45,7 +45,7 @@ $footerImage = get_theme_mod( 'tainacan_footer_color', 'dark' ) == 'light' ? esc_url( get_template_directory_uri() ) . '/assets/images/logo.svg' : esc_url( get_template_directory_uri() ) . '/assets/images/logo-footer.svg'; } ?> - + diff --git a/src/functions.php b/src/functions.php index 4544048..79228b4 100644 --- a/src/functions.php +++ b/src/functions.php @@ -1,7 +1,7 @@ add_panel( 'tainacan_items_page', array( 'title' => __( 'Tainacan items list page', 'tainacan-interface' ), - 'description' => __( 'Settings related to Tainacan items list pages, such as the repository items list, the colleciton item list and the term items list. Some settings ins this section may be overrided by collection settings or user preference.', 'tainacan-interface' ), + 'description' => __( 'Settings related to Tainacan items list pages, such as the repository items list, the collection item list and the term items list. Some settings ins this section may be overrided by collection settings or user preference.', 'tainacan-interface' ), 'priority' => 160 // Mixed with top-level-section hierarchy., ) ); @@ -1222,7 +1222,7 @@ function tainacan_customize_register( $wp_customize ) { */ $wp_customize->add_section( 'tainacan_items_page_collection_banner', array( 'title' => __( 'Collection Header', 'tainacan-interface' ), - 'description' => __( 'Settings related to Tainacan items list colleciton header.', 'tainacan-interface' ), + 'description' => __( 'Settings related to Tainacan items list collection header.', 'tainacan-interface' ), 'panel' => 'tainacan_items_page', 'priority' => 160, 'capability' => 'edit_theme_options' diff --git a/src/header.php b/src/header.php index a9193cb..7ce2e16 100644 --- a/src/header.php +++ b/src/header.php @@ -19,7 +19,7 @@ } ?>